aboutsummaryrefslogtreecommitdiff
path: root/target-mips/op.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-01-24 18:01:23 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-01-24 18:01:23 +0000
commitb29a0341d7ed7e7df4bf77a41db8e614f1ddb645 (patch)
tree215d496c3ffb1136a1a2c44c4d42fe2da5a6bd0a /target-mips/op.c
parent4de9b249d37c1b382cc3e5a21fad1b4a11cec2fa (diff)
EBase is limited to KSEG0/KSEG1 even on 64bit CPUs.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2351 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/op.c')
-rw-r--r--target-mips/op.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/target-mips/op.c b/target-mips/op.c
index 9d30d03cd3..cd5c69ca46 100644
--- a/target-mips/op.c
+++ b/target-mips/op.c
@@ -1158,7 +1158,7 @@ void op_mfc0_prid (void)
void op_mfc0_ebase (void)
{
- T0 = (int32_t)env->CP0_EBase;
+ T0 = env->CP0_EBase;
RETURN();
}
@@ -1423,7 +1423,7 @@ void op_mtc0_ebase (void)
{
/* vectored interrupts not implemented */
/* Multi-CPU not implemented */
- env->CP0_EBase = (int32_t)0x80000000 | (T0 & 0x3FFFF000);
+ env->CP0_EBase = 0x80000000 | (T0 & 0x3FFFF000);
RETURN();
}
@@ -1563,12 +1563,6 @@ void op_dmfc0_epc (void)
RETURN();
}
-void op_dmfc0_ebase (void)
-{
- T0 = env->CP0_EBase;
- RETURN();
-}
-
void op_dmfc0_lladdr (void)
{
T0 = env->CP0_LLAddr >> 4;
@@ -1627,15 +1621,6 @@ void op_dmtc0_epc (void)
RETURN();
}
-void op_dmtc0_ebase (void)
-{
- /* vectored interrupts not implemented */
- /* Multi-CPU not implemented */
- /* XXX: 64bit addressing broken */
- env->CP0_EBase = (int32_t)0x80000000 | (T0 & 0x3FFFF000);
- RETURN();
-}
-
void op_dmtc0_watchlo0 (void)
{
env->CP0_WatchLo = T0;