aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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