summaryrefslogtreecommitdiff
path: root/target-mips/exec.h
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-29 21:26:37 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-29 21:26:37 +0000
commit01179c382ba7bf8d5b063ca6afaa57c33f813287 (patch)
tree2b8fe8051b3249048e77482127b07c9e4eed5b7a /target-mips/exec.h
parentc631c88ceed80daa012cbe6509e4de2e4e24ec11 (diff)
downloadqemu-01179c382ba7bf8d5b063ca6afaa57c33f813287.tar.gz
Kill broken host register definitions, thanks to Paul Brook and Herve
Poussineau for debugging this. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2747 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/exec.h')
-rw-r--r--target-mips/exec.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/target-mips/exec.h b/target-mips/exec.h
index cfe69a3ffa..b00263f1b1 100644
--- a/target-mips/exec.h
+++ b/target-mips/exec.h
@@ -6,25 +6,18 @@
#include "config.h"
#include "mips-defs.h"
#include "dyngen-exec.h"
+#include "cpu-defs.h"
register struct CPUMIPSState *env asm(AREG0);
-#if defined (USE_64BITS_REGS)
-typedef int64_t host_int_t;
-typedef uint64_t host_uint_t;
-#else
-typedef int32_t host_int_t;
-typedef uint32_t host_uint_t;
-#endif
-
#if TARGET_LONG_BITS > HOST_LONG_BITS
#define T0 (env->t0)
#define T1 (env->t1)
#define T2 (env->t2)
#else
-register host_uint_t T0 asm(AREG1);
-register host_uint_t T1 asm(AREG2);
-register host_uint_t T2 asm(AREG3);
+register target_ulong T0 asm(AREG1);
+register target_ulong T1 asm(AREG2);
+register target_ulong T2 asm(AREG3);
#endif
#if defined (USE_HOST_FLOAT_REGS)