aboutsummaryrefslogtreecommitdiff
path: root/target-sparc
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-05-16 08:33:02 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-05-16 08:33:02 +0000
commit21ffd18163d9ff8e965f91dd96433f37fa99f204 (patch)
tree8fbaa8cf282ece67ae9f692dd870a9614be821a9 /target-sparc
parent88c8e03f5ddca8c8448dbb99d9de07d87b03ddd6 (diff)
sparc: move DT and QT defines to op_helper.c
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-sparc')
-rw-r--r--target-sparc/exec.h5
-rw-r--r--target-sparc/op_helper.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/target-sparc/exec.h b/target-sparc/exec.h
index 1e9de82bbd..c84e0558ae 100644
--- a/target-sparc/exec.h
+++ b/target-sparc/exec.h
@@ -5,11 +5,6 @@
register struct CPUSPARCState *env asm(AREG0);
-#define DT0 (env->dt0)
-#define DT1 (env->dt1)
-#define QT0 (env->qt0)
-#define QT1 (env->qt1)
-
#include "cpu.h"
#include "exec-all.h"
diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c
index ec39244511..b1451d346f 100644
--- a/target-sparc/op_helper.c
+++ b/target-sparc/op_helper.c
@@ -44,6 +44,11 @@
#endif
#endif
+#define DT0 (env->dt0)
+#define DT1 (env->dt1)
+#define QT0 (env->qt0)
+#define QT1 (env->qt1)
+
#if defined(CONFIG_USER_ONLY) && defined(TARGET_SPARC64)
static void do_unassigned_access(target_ulong addr, int is_write, int is_exec,
int is_asi, int size);