Revision 6ebbf390 target-cris/cpu.h

b/target-cris/cpu.h
74 74
/* Internal flags for the implementation.  */
75 75
#define F_DELAYSLOT 1
76 76

  
77
#define NB_MMU_MODES 2
78

  
77 79
typedef struct CPUCRISState {
78 80
	uint32_t debug1;
79 81
	uint32_t debug2;
......
229 231
#define cpu_gen_code cpu_cris_gen_code
230 232
#define cpu_signal_handler cpu_cris_signal_handler
231 233

  
234
/* MMU modes definitions */
235
#define MMU_MODE0_SUFFIX _kernel
236
#define MMU_MODE1_SUFFIX _user
237
#define MMU_USER_IDX 1
238
/* CRIS FIXME: I guess we want to validate supervisor mode acceses here.  */
239
static inline int cpu_mmu_index (CPUState *env)
240
{
241
    return 0;
242
}
243

  
232 244
#include "cpu-all.h"
233 245

  
234 246
/* Register aliases.  */

Also available in: Unified diff