aboutsummaryrefslogtreecommitdiff
path: root/dyngen-exec.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-08-10 22:14:22 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-08-10 22:14:22 +0000
commit38e584a07279fffcfbfcafb207ce842edd093033 (patch)
tree574d309b088a86987dd8bab48844d71996fdb76e /dyngen-exec.h
parent313aa567104a63fbe84d6ec2eeff5b5c81cb3524 (diff)
m68k host port (Richard Zidlicky)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@357 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'dyngen-exec.h')
-rw-r--r--dyngen-exec.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/dyngen-exec.h b/dyngen-exec.h
index 46f4042f68..980e70ca99 100644
--- a/dyngen-exec.h
+++ b/dyngen-exec.h
@@ -109,6 +109,13 @@ extern int printf(const char *, ...);
#define AREG5 "$13"
#define AREG6 "$14"
#endif
+#ifdef __mc68000
+#define AREG0 "%a5"
+#define AREG1 "%a4"
+#define AREG2 "%d7"
+#define AREG3 "%d6"
+#define AREG4 "%d5"
+#endif
#ifdef __ia64__
#define AREG0 "r27"
#define AREG1 "r24"
@@ -178,4 +185,6 @@ extern int __op_jmp0, __op_jmp1;
#ifdef __arm__
#define EXIT_TB() asm volatile ("b exec_loop")
#endif
-
+#ifdef __mc68000
+#define EXIT_TB() asm volatile ("rts")
+#endif