diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-29 14:57:59 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-29 14:57:59 +0000 |
commit | acf930aaa3763be08a41f2478b3e0b252f545cd0 (patch) | |
tree | 087d303e39cc7e186a20bfef4842131edef3a1ad /cpu-exec.c | |
parent | 2b8bdefc3a35473e1d43c22e6201aad900dccad2 (diff) | |
download | qemu-acf930aaa3763be08a41f2478b3e0b252f545cd0.zip qemu-acf930aaa3763be08a41f2478b3e0b252f545cd0.tar.gz qemu-acf930aaa3763be08a41f2478b3e0b252f545cd0.tar.bz2 |
ColdFire EMAC support.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2895 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -196,7 +196,9 @@ static inline TranslationBlock *tb_find_fast(void) cs_base = 0; pc = env->PC; #elif defined(TARGET_M68K) - flags = (env->fpcr & M68K_FPCR_PREC) | (env->sr & SR_S); + flags = (env->fpcr & M68K_FPCR_PREC) /* Bit 6 */ + | (env->sr & SR_S) /* Bit 13 */ + | ((env->macsr >> 4) & 0xf); /* Bits 0-3 */ cs_base = 0; pc = env->pc; #elif defined(TARGET_SH4) |