diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-17 02:16:14 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-17 02:16:14 +0000 |
commit | 7820dbf3f0d8ebc44b8dfc0853c8a2c4bd6aea8e (patch) | |
tree | a427eb3ca9dd8b74484ad3243e046e522c98c57e /target-ppc/translate_init.c | |
parent | 7b62a955047934bab158e84ecb63cb432c193ace (diff) | |
download | qemu-7820dbf3f0d8ebc44b8dfc0853c8a2c4bd6aea8e.zip |
Make the PowerPC MMU model, exception model and input bus model
typedefed enums.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3660 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/translate_init.c')
-rw-r--r-- | target-ppc/translate_init.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 1a08909204..62c0802018 100644 --- a/target-ppc/translate_init.c +++ b/target-ppc/translate_init.c @@ -35,10 +35,9 @@ struct ppc_def_t { uint32_t pvr; uint64_t insns_flags; uint64_t msr_mask; - uint8_t mmu_model; - uint8_t excp_model; - uint8_t bus_model; - uint8_t pad; + powerpc_mmu_t mmu_model; + powerpc_excp_t excp_model; + powerpc_input_t bus_model; uint32_t flags; int bfd_mach; void (*init_proc)(CPUPPCState *env); |