diff options
author | Andreas Färber <afaerber@suse.de> | 2012-04-06 14:39:03 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-04-15 17:10:30 +0200 |
commit | 1d0cb67da9eff798420d0f6479fec6026c4dc41f (patch) | |
tree | 845b377b6f30e926697ff441da85fe9dd60fb9dc /target-ppc/cpu.h | |
parent | 12b1143b2807a5b760e477fac0e1028a9760b6c6 (diff) |
target-ppc: QOM'ify CPU
Embed CPUPPCState as first member of PowerPCCPU.
Distinguish between "powerpc-cpu", "powerpc64-cpu" and
"embedded-powerpc-cpu".
Let CPUClass::reset() call cpu_state_reset() for now.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target-ppc/cpu.h')
-rw-r--r-- | target-ppc/cpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index 1d5c602729..84c9674157 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -1096,6 +1096,8 @@ struct mmu_ctx_t { }; #endif +#include "cpu-qom.h" + /*****************************************************************************/ CPUPPCState *cpu_ppc_init (const char *cpu_model); void ppc_translate_init(void); |