Commit 093f8f06323206697afe29b8def82883182d6480
1 parent
872929aa
force bit 1 in eflags load
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4606 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
target-i386/exec.h
... | ... | @@ -324,7 +324,7 @@ static inline void load_eflags(int eflags, int update_mask) |
324 | 324 | CC_SRC = eflags & (CC_O | CC_S | CC_Z | CC_A | CC_P | CC_C); |
325 | 325 | DF = 1 - (2 * ((eflags >> 10) & 1)); |
326 | 326 | env->eflags = (env->eflags & ~update_mask) | |
327 | - (eflags & update_mask); | |
327 | + (eflags & update_mask) | 0x2; | |
328 | 328 | } |
329 | 329 | |
330 | 330 | static inline void env_to_regs(void) | ... | ... |