summaryrefslogtreecommitdiffstats
path: root/cpu-exec.c
diff options
context:
space:
mode:
authoredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-06 11:24:33 +0000
committeredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-06 11:24:33 +0000
commit7e15e60388b38e12cf20ca0925bfff29bd61df1c (patch)
treed63d1f8a8d7aca085adb5f60e48b443c3fc15f7d /cpu-exec.c
parent2a44f7f173649e90b6f48c85d08f009c6fe765bd (diff)
downloadhqemu-7e15e60388b38e12cf20ca0925bfff29bd61df1c.zip
hqemu-7e15e60388b38e12cf20ca0925bfff29bd61df1c.tar.gz
CRIS: Add the P flag to the tb dependent flags.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4685 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r--cpu-exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index bf9bcd4..a8e67e8 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -217,7 +217,7 @@ static inline TranslationBlock *tb_find_fast(void)
cs_base = 0;
pc = env->pc;
#elif defined(TARGET_CRIS)
- flags = env->pregs[PR_CCS] & (U_FLAG | X_FLAG);
+ flags = env->pregs[PR_CCS] & (P_FLAG | U_FLAG | X_FLAG);
flags |= env->dslot;
cs_base = 0;
pc = env->pc;
OpenPOWER on IntegriCloud