aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-14 08:18:12 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-14 08:18:12 +0000
commitb1806c9e67fd887bca117af2fc061f3dcc3beb98 (patch)
tree37c29f615a7be095db1a47be46e0936b6937edaa
parent6ebbf390003270afece028facef4d9834df81a8c (diff)
Generate micro-ops for Alpha executive and supervisor modes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3385 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--target-alpha/op.c10
-rw-r--r--target-alpha/op_helper.c12
2 files changed, 16 insertions, 6 deletions
diff --git a/target-alpha/op.c b/target-alpha/op.c
index 529a66de03..409325221a 100644
--- a/target-alpha/op.c
+++ b/target-alpha/op.c
@@ -140,11 +140,15 @@ void OPPROTO op_tb_flush (void)
#define MEMSUFFIX _raw
#include "op_mem.h"
#if !defined(CONFIG_USER_ONLY)
-#define MEMSUFFIX _user
-#include "op_mem.h"
#define MEMSUFFIX _kernel
#include "op_mem.h"
-/* Those are used for supervisor, executive and pal modes */
+#define MEMSUFFIX _executive
+#include "op_mem.h"
+#define MEMSUFFIX _supervisor
+#include "op_mem.h"
+#define MEMSUFFIX _user
+#include "op_mem.h"
+/* This is used for pal modes */
#define MEMSUFFIX _data
#include "op_mem.h"
#endif
diff --git a/target-alpha/op_helper.c b/target-alpha/op_helper.c
index badb85d698..e471a1f06f 100644
--- a/target-alpha/op_helper.c
+++ b/target-alpha/op_helper.c
@@ -27,13 +27,19 @@
#include "op_helper_mem.h"
#if !defined(CONFIG_USER_ONLY)
-#define MEMSUFFIX _user
+#define MEMSUFFIX _kernel
#include "op_helper_mem.h"
-#define MEMSUFFIX _kernel
+#define MEMSUFFIX _executive
+#include "op_helper_mem.h"
+
+#define MEMSUFFIX _supervisor
+#include "op_helper_mem.h"
+
+#define MEMSUFFIX _user
#include "op_helper_mem.h"
-/* Those are used for supervisor and executive modes */
+/* This is used for pal modes */
#define MEMSUFFIX _data
#include "op_helper_mem.h"
#endif