diff options
author | Andreas Färber <afaerber@suse.de> | 2012-04-15 23:29:19 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-04-30 11:32:13 +0200 |
commit | 0f71a7095db6bc055bc5bb520d85ea650cca8a33 (patch) | |
tree | f7df5f75ee70431f270671936477b793f378c500 /target-mips/cpu.h | |
parent | 11150915fcfc44aaf35c807eaa16599eabc9e718 (diff) |
target-mips: QOM'ify CPU
Embed CPUMIPSState as first member of QOM MIPSCPU.
Let CPUClass::reset() call cpu_state_reset() for now.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-mips/cpu.h')
-rw-r--r-- | target-mips/cpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target-mips/cpu.h b/target-mips/cpu.h index 257c4c462b..99b416c47f 100644 --- a/target-mips/cpu.h +++ b/target-mips/cpu.h @@ -483,6 +483,8 @@ struct CPUMIPSState { struct QEMUTimer *timer; /* Internal timer */ }; +#include "cpu-qom.h" + #if !defined(CONFIG_USER_ONLY) int no_mmu_map_address (CPUMIPSState *env, target_phys_addr_t *physical, int *prot, target_ulong address, int rw, int access_type); |