diff options
Diffstat (limited to 'softmmu_header.h')
-rw-r--r-- | softmmu_header.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/softmmu_header.h b/softmmu_header.h index 8c6cf74adb..317288448d 100644 --- a/softmmu_header.h +++ b/softmmu_header.h @@ -65,6 +65,8 @@ #define CPU_MEM_INDEX ((env->sr & SR_MD) == 0) #elif defined (TARGET_ALPHA) #define CPU_MEM_INDEX ((env->ps >> 3) & 3) +#elif defined (TARGET_M68K) +#define CPU_MEM_INDEX ((env->sr & SR_S) == 0) #else #error unsupported CPU #endif @@ -86,6 +88,8 @@ #define CPU_MEM_INDEX ((env->sr & SR_MD) == 0) #elif defined (TARGET_ALPHA) #define CPU_MEM_INDEX ((env->ps >> 3) & 3) +#elif defined (TARGET_M68K) +#define CPU_MEM_INDEX ((env->sr & SR_S) == 0) #else #error unsupported CPU #endif |