diff options
author | edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-07 22:48:41 +0000 |
---|---|---|
committer | edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-07 22:48:41 +0000 |
commit | a1aebcb8e68a90b9fe130aef6b2667e4369574b4 (patch) | |
tree | 34bc04c2812ed7a197fbbe7992736691306eb384 /cpu-exec.c | |
parent | add help text for --enable-sparse (Gerd Hoffman) (diff) | |
download | qemu-kvm-a1aebcb8e68a90b9fe130aef6b2667e4369574b4.tar.gz qemu-kvm-a1aebcb8e68a90b9fe130aef6b2667e4369574b4.tar.bz2 qemu-kvm-a1aebcb8e68a90b9fe130aef6b2667e4369574b4.zip |
CRIS: Fix brk 8 and add S-flag emulation.
* break 8 sets ERP to the current insn.
* First shot at S flag single-stepping.
* Make it easier to use the local disasm.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5445 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu-exec.c b/cpu-exec.c index 8637e2a3c..6d4dcdd16 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -220,7 +220,7 @@ static inline TranslationBlock *tb_find_fast(void) cs_base = 0; pc = env->pc; #elif defined(TARGET_CRIS) - flags = env->pregs[PR_CCS] & (P_FLAG | U_FLAG | X_FLAG); + flags = env->pregs[PR_CCS] & (S_FLAG | P_FLAG | U_FLAG | X_FLAG); flags |= env->dslot; cs_base = 0; pc = env->pc; |