Revision 2aae2b8e target-sparc/translate.c

b/target-sparc/translate.c
183 183
#define hypervisor(dc) 0
184 184
#endif
185 185
#else
186
#define supervisor(dc) (dc->mem_idx >= 1)
186
#define supervisor(dc) (dc->mem_idx >= MMU_KERNEL_IDX)
187 187
#ifdef TARGET_SPARC64
188
#define hypervisor(dc) (dc->mem_idx == 2)
188
#define hypervisor(dc) (dc->mem_idx == MMU_HYPV_IDX)
189 189
#else
190 190
#endif
191 191
#endif

Also available in: Unified diff