diff options
| author | Andreas Färber | 2013-08-26 06:03:38 +0200 |
|---|---|---|
| committer | Andreas Färber | 2014-03-13 19:20:46 +0100 |
| commit | 8cd70437f385fc53f34481d506cf4a18ebe75976 (patch) | |
| tree | 3eb662386197cdda01b3576974d9515d4b707ef3 /qom | |
| parent | cpu: Move icount_decr field from CPU_COMMON to CPUState (diff) | |
| download | qemu-8cd70437f385fc53f34481d506cf4a18ebe75976.tar.gz qemu-8cd70437f385fc53f34481d506cf4a18ebe75976.tar.xz qemu-8cd70437f385fc53f34481d506cf4a18ebe75976.zip | |
cpu: Move tb_jmp_cache field from CPU_COMMON to CPUState
Clear it on reset.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'qom')
| -rw-r--r-- | qom/cpu.c | 1 |
1 files changed, 1 insertions, 0 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) |
