Commit b1806c9e67fd887bca117af2fc061f3dcc3beb98

Authored by j_mayer
1 parent 6ebbf390

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
target-alpha/op.c
... ... @@ -140,11 +140,15 @@ void OPPROTO op_tb_flush (void)
140 140 #define MEMSUFFIX _raw
141 141 #include "op_mem.h"
142 142 #if !defined(CONFIG_USER_ONLY)
143   -#define MEMSUFFIX _user
144   -#include "op_mem.h"
145 143 #define MEMSUFFIX _kernel
146 144 #include "op_mem.h"
147   -/* Those are used for supervisor, executive and pal modes */
  145 +#define MEMSUFFIX _executive
  146 +#include "op_mem.h"
  147 +#define MEMSUFFIX _supervisor
  148 +#include "op_mem.h"
  149 +#define MEMSUFFIX _user
  150 +#include "op_mem.h"
  151 +/* This is used for pal modes */
148 152 #define MEMSUFFIX _data
149 153 #include "op_mem.h"
150 154 #endif
... ...
target-alpha/op_helper.c
... ... @@ -27,13 +27,19 @@
27 27 #include "op_helper_mem.h"
28 28  
29 29 #if !defined(CONFIG_USER_ONLY)
30   -#define MEMSUFFIX _user
  30 +#define MEMSUFFIX _kernel
31 31 #include "op_helper_mem.h"
32 32  
33   -#define MEMSUFFIX _kernel
  33 +#define MEMSUFFIX _executive
  34 +#include "op_helper_mem.h"
  35 +
  36 +#define MEMSUFFIX _supervisor
  37 +#include "op_helper_mem.h"
  38 +
  39 +#define MEMSUFFIX _user
34 40 #include "op_helper_mem.h"
35 41  
36   -/* Those are used for supervisor and executive modes */
  42 +/* This is used for pal modes */
37 43 #define MEMSUFFIX _data
38 44 #include "op_helper_mem.h"
39 45 #endif
... ...