aboutsummaryrefslogtreecommitdiff
path: root/target-lm32/cpu.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-04-11 01:22:08 +0200
committerAndreas Färber <afaerber@suse.de>2012-04-12 01:07:41 +0200
commitfc0ced2fbd8d40672fcdd2f655bbdcd3e278f3ab (patch)
treeb8c56f6959905d36bd4b69d30c573e5fe838c13c /target-lm32/cpu.h
parentc1958aea51a14199d05d392edce932a956e1674d (diff)
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-lm32/cpu.h b/target-lm32/cpu.h
index a7d95464b8..422a55b063 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);