aboutsummaryrefslogtreecommitdiff
path: root/exec-all.h
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-08 13:16:14 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-10-08 13:16:14 +0000
commitf1ccf904778f7a840d2b751b5e429d4088ba9cb4 (patch)
treef5484cea23f7b1bc193f2fb0e4c6de9f3f4f1755 /exec-all.h
parent94cff60a0219eecd83a1fbd20a8db7e527322674 (diff)
downloadqemu-f1ccf904778f7a840d2b751b5e429d4088ba9cb4.zip
qemu-f1ccf904778f7a840d2b751b5e429d4088ba9cb4.tar.gz
qemu-f1ccf904778f7a840d2b751b5e429d4088ba9cb4.tar.bz2
CRIS support in toplevel, by Edgar E. Iglesias.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3363 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec-all.h')
-rw-r--r--exec-all.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/exec-all.h b/exec-all.h
index dc5a10d..a01494b 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -617,6 +617,8 @@ static inline target_ulong get_phys_addr_code(CPUState *env, target_ulong addr)
is_user = ((env->ps >> 3) & 3);
#elif defined (TARGET_M68K)
is_user = ((env->sr & SR_S) == 0);
+#elif defined (TARGET_CRIS)
+ is_user = (0);
#else
#error unimplemented CPU
#endif