From 0633879f1ac38b18d84c46dda506300cc8329723 Mon Sep 17 00:00:00 2001 From: pbrook Date: Wed, 23 May 2007 19:58:11 +0000 Subject: m68k/ColdFire system emulation. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2851 c046a42c-6fe2-441c-8c8c-71466251a162 --- softmmu_header.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'softmmu_header.h') diff --git a/softmmu_header.h b/softmmu_header.h index 8c6cf74..3172884 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 -- cgit v1.1