From 93afeade09680c657e109bf192dbf70233e4ebbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Mon, 26 Aug 2013 03:41:01 +0200 Subject: cpu: Move mem_io_{pc,vaddr} fields from CPU_COMMON to CPUState MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reset them. Signed-off-by: Andreas Färber --- qom/cpu.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qom') diff --git a/qom/cpu.c b/qom/cpu.c index 611ddf1d68..4d60c03182 100644 --- a/qom/cpu.c +++ b/qom/cpu.c @@ -239,6 +239,8 @@ static void cpu_common_reset(CPUState *cpu) cpu->interrupt_request = 0; cpu->current_tb = NULL; cpu->halted = 0; + cpu->mem_io_pc = 0; + cpu->mem_io_vaddr = 0; } static bool cpu_common_has_work(CPUState *cs) -- cgit v1.2.1