summaryrefslogtreecommitdiff
path: root/target-mips
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-19 14:47:40 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-19 14:47:40 +0000
commit8294eba18726b897c6a497b36ecd74a793f90523 (patch)
tree21b8d8a1e19a3e6be69dd6d7ad6ba10b0c6729ac /target-mips
parentee999a8899ba8c6326cda4e2e70bb52b284cf7bb (diff)
downloadqemu-8294eba18726b897c6a497b36ecd74a793f90523.tar.gz
qemu-8294eba18726b897c6a497b36ecd74a793f90523.tar.bz2
qemu-8294eba18726b897c6a497b36ecd74a793f90523.zip
SPARC host fixes, by Ben Taylor.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2503 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips')
-rw-r--r--target-mips/exec.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/target-mips/exec.h b/target-mips/exec.h
index 3815a00c42..877221e561 100644
--- a/target-mips/exec.h
+++ b/target-mips/exec.h
@@ -7,11 +7,7 @@
#include "mips-defs.h"
#include "dyngen-exec.h"
-#if defined(__sparc__)
-struct CPUMIPSState *env;
-#else
register struct CPUMIPSState *env asm(AREG0);
-#endif
#if defined (USE_64BITS_REGS)
typedef int64_t host_int_t;
@@ -21,11 +17,6 @@ typedef int32_t host_int_t;
typedef uint32_t host_uint_t;
#endif
-#if defined(__sparc__)
-host_uint_t T0;
-host_uint_t T1;
-host_uint_t T2;
-#else
#if TARGET_LONG_BITS > HOST_LONG_BITS
#define T0 (env->t0)
#define T1 (env->t1)
@@ -35,7 +26,6 @@ register host_uint_t T0 asm(AREG1);
register host_uint_t T1 asm(AREG2);
register host_uint_t T2 asm(AREG3);
#endif
-#endif
#if defined (USE_HOST_FLOAT_REGS)
#error "implement me."