Changeset 15899 in vbox for trunk/src/recompiler_new/target-i386/op_helper.c
- Timestamp:
- Jan 12, 2009 3:33:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler_new/target-i386/op_helper.c
r15744 r15899 145 145 unsigned int new_eflags = t0; 146 146 147 assert(env->eflags & (1<<VM_SHIFT)); 148 147 149 /* if virtual interrupt pending and (virtual) interrupts will be enabled -> #GP */ 148 150 /* if TF will be set -> #GP */ … … 151 153 raise_exception(EXCP0D_GPF); 152 154 } else { 153 load_eflags(new_eflags, (TF_MASK | AC_MASK | ID_MASK | NT_MASK) & 0xffff);155 load_eflags(new_eflags, TF_MASK | AC_MASK | ID_MASK | NT_MASK); 154 156 155 157 if (new_eflags & IF_MASK) { … … 5367 5369 void helper_cli_vme(void) 5368 5370 { 5369 env->eflags &= ~ IF_MASK;5371 env->eflags &= ~VIF_MASK; 5370 5372 } 5371 5373 … … 5376 5378 raise_exception(EXCP0D_GPF); 5377 5379 } 5378 env->eflags |= IF_MASK;5380 env->eflags |= VIF_MASK; 5379 5381 } 5380 5382 #endif
Note:
See TracChangeset
for help on using the changeset viewer.