mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
cpu: Move tb_jmp_cache field from CPU_COMMON to CPUState
Clear it on reset. Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
28ecfd7a62
commit
8cd70437f3
6 changed files with 16 additions and 16 deletions
|
@ -244,6 +244,7 @@ static void cpu_common_reset(CPUState *cpu)
|
|||
cpu->icount_extra = 0;
|
||||
cpu->icount_decr.u32 = 0;
|
||||
cpu->can_do_io = 0;
|
||||
memset(cpu->tb_jmp_cache, 0, TB_JMP_CACHE_SIZE * sizeof(void *));
|
||||
}
|
||||
|
||||
static bool cpu_common_has_work(CPUState *cs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue