Changeset 52041 in vbox for trunk/src/recompiler/VBoxRecompiler.c
- Timestamp:
- Jul 15, 2014 3:43:30 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxRecompiler.c
r51326 r52041 2237 2237 } 2238 2238 2239 /* Update the inhibit NMI mask. */ 2240 pVM->rem.s.Env.hflags2 &= ~HF2_NMI_MASK; 2241 if (VMCPU_FF_IS_SET(pVCpu, VMCPU_FF_INHIBIT_NMIS)) 2242 pVM->rem.s.Env.hflags2 |= HF2_NMI_MASK; 2243 2239 2244 /* 2240 2245 * Sync the A20 gate. … … 2723 2728 Log(("Clearing VMCPU_FF_INHIBIT_INTERRUPTS at %RGv - successor %RGv (REM#2)\n", (RTGCPTR)pCtx->rip, EMGetInhibitInterruptsPC(pVCpu))); 2724 2729 VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_INHIBIT_INTERRUPTS); 2730 } 2731 2732 /* Inhibit NMI flag. */ 2733 if (pVM->rem.s.Env.hflags2 & HF2_NMI_MASK) 2734 { 2735 Log(("Settings VMCPU_FF_INHIBIT_NMIS at %RGv (REM)\n", (RTGCPTR)pCtx->rip)); 2736 VMCPU_FF_SET(pVCpu, VMCPU_FF_INHIBIT_NMIS); 2737 } 2738 else if (VMCPU_FF_IS_SET(pVCpu, VMCPU_FF_INHIBIT_NMIS)) 2739 { 2740 Log(("Clearing VMCPU_FF_INHIBIT_NMIS at %RGv (REM)\n", (RTGCPTR)pCtx->rip)); 2741 VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_INHIBIT_NMIS); 2725 2742 } 2726 2743
Note:
See TracChangeset
for help on using the changeset viewer.