aboutsummaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-05 13:11:25 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-05 13:11:25 +0000
commit65f9ee8d670e12a396857affb36920afd48f5e64 (patch)
treebe5a80278b12bce4f4ba362b1d5fb0b7339e6645 /target-ppc
parent1c27f8fbfead8f5ff12da6946436fe35c6adcac4 (diff)
Rename PowerPC MMUCSR0 and MMUCFG SPRs: those are not BookE specific.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3333 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc')
-rw-r--r--target-ppc/cpu.h4
-rw-r--r--target-ppc/translate_init.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index 43b8c90b1b..03942bf4bd 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -1042,7 +1042,7 @@ int ppc_dcr_write (ppc_dcr_t *dcr_env, int dcrn, target_ulong val);
#define SPR_440_DBDR (0x3F3)
#define SPR_LDSTDB (0x3F4)
#define SPR_40x_IAC1 (0x3F4)
-#define SPR_BOOKE_MMUCSR0 (0x3F4)
+#define SPR_MMUCSR0 (0x3F4)
#define SPR_DABR (0x3F5)
#define DABR_MASK (~(target_ulong)0x7)
#define SPR_E500_BUCSR (0x3F5)
@@ -1054,7 +1054,7 @@ int ppc_dcr_write (ppc_dcr_t *dcr_env, int dcrn, target_ulong val);
#define SPR_MSSSR0 (0x3F7)
#define SPR_DABRX (0x3F7)
#define SPR_40x_DAC2 (0x3F7)
-#define SPR_BOOKE_MMUCFG (0x3F7)
+#define SPR_MMUCFG (0x3F7)
#define SPR_LDSTCR (0x3F8)
#define SPR_L2PMCR (0x3F8)
#define SPR_750_HID2 (0x3F8)
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index 2cf2c6309a..834c047f30 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -1562,12 +1562,12 @@ static void gen_spr_BookE_FSL (CPUPPCState *env)
0x00000000);
}
/* XXX : not implemented */
- spr_register(env, SPR_BOOKE_MMUCFG, "MMUCFG",
+ spr_register(env, SPR_MMUCFG, "MMUCFG",
SPR_NOACCESS, SPR_NOACCESS,
&spr_read_generic, SPR_NOACCESS,
0x00000000); /* TOFIX */
/* XXX : not implemented */
- spr_register(env, SPR_BOOKE_MMUCSR0, "MMUCSR0",
+ spr_register(env, SPR_MMUCSR0, "MMUCSR0",
SPR_NOACCESS, SPR_NOACCESS,
&spr_read_generic, &spr_write_generic,
0x00000000); /* TOFIX */