aboutsummaryrefslogtreecommitdiff
path: root/target-cris/cpu.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-04-11 23:12:05 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2012-04-24 16:04:56 +0200
commite739a48e58c41fc0d3caa24103abef9988c77cdf (patch)
treee4da9051b0f07bc556362b5e3aeecac33089fe8b /target-cris/cpu.h
parent092dfc7714ad7983aeb0cada5d5983e9fde8d84c (diff)
target-cris: QOM'ify CPU
Embed CPUCRISState as first member of QOM CRISCPU. Let CPUClass::reset() call cpu_state_reset() for now. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-cris/cpu.h')
-rw-r--r--target-cris/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-cris/cpu.h b/target-cris/cpu.h
index 31899c2912..5449cc48b6 100644
--- a/target-cris/cpu.h
+++ b/target-cris/cpu.h
@@ -169,6 +169,8 @@ typedef struct CPUCRISState {
void *load_info;
} CPUCRISState;
+#include "cpu-qom.h"
+
CPUCRISState *cpu_cris_init(const char *cpu_model);
int cpu_cris_exec(CPUCRISState *s);
void cpu_cris_close(CPUCRISState *s);