VirtualBox

Changeset 21585 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jul 14, 2009 3:21:53 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50076
Message:

Real mode sti emulation wasn't entirely correct.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r21574 r21585  
    27452745                    case OP_STI:
    27462746                        pCtx->eflags.Bits.u1IF = 1;
     2747                        EMSetInhibitInterruptsPC(pVCpu, pCtx->rip + pDis->opsize);
     2748                        Assert(VMCPU_FF_ISSET(pVCpu, VMCPU_FF_INHIBIT_INTERRUPTS));
     2749                        rc = VMXWriteVMCS(VMX_VMCS32_GUEST_INTERRUPTIBILITY_STATE, VMX_VMCS_GUEST_INTERRUPTIBILITY_STATE_BLOCK_STI);
     2750                        AssertRC(rc);
    27472751                        STAM_COUNTER_INC(&pVCpu->hwaccm.s.StatExitSti);
    27482752                        break;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette