diff options
author | Andreas Färber <afaerber@suse.de> | 2012-04-11 01:22:08 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-04-12 01:07:41 +0200 |
commit | fc0ced2fbd8d40672fcdd2f655bbdcd3e278f3ab (patch) | |
tree | b8c56f6959905d36bd4b69d30c573e5fe838c13c /target-lm32/cpu.h | |
parent | c1958aea51a14199d05d392edce932a956e1674d (diff) | |
download | qemu-fc0ced2fbd8d40672fcdd2f655bbdcd3e278f3ab.zip qemu-fc0ced2fbd8d40672fcdd2f655bbdcd3e278f3ab.tar.gz qemu-fc0ced2fbd8d40672fcdd2f655bbdcd3e278f3ab.tar.bz2 |
target-lm32: QOM'ify CPU
Embed CPULM32State as first member of QOM LM32CPU.
Let CPUClass::reset() call cpu_state_reset() for now.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Michael Walle <michael@walle.cc>
Diffstat (limited to 'target-lm32/cpu.h')
-rw-r--r-- | target-lm32/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-lm32/cpu.h b/target-lm32/cpu.h index a7d9546..422a55b 100644 --- a/target-lm32/cpu.h +++ b/target-lm32/cpu.h @@ -184,6 +184,7 @@ struct CPULM32State { }; +#include "cpu-qom.h" CPULM32State *cpu_lm32_init(const char *cpu_model); void cpu_lm32_list(FILE *f, fprintf_function cpu_fprintf); |