VirtualBox

Changeset 12748 in vbox


Ignore:
Timestamp:
Sep 25, 2008 3:22:36 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
37072
Message:

Updates

File:
1 edited

Legend:

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

    r12747 r12748  
    10971097#endif
    10981098
    1099     /* Intercept #GP faults in real mode to handle IO instructions. */
     1099#ifdef VBOX_STRICT
     1100    Assert(pVM->hwaccm.s.vmx.u32TrapMask & RT_BIT(X86_XCPT_GP));
     1101#else
     1102    /* Intercept #GP faults in real mode to handle privileged instructions. */
    11001103    if (CPUMIsGuestInRealModeEx(pCtx))
    11011104        pVM->hwaccm.s.vmx.u32TrapMask |= RT_BIT(X86_XCPT_GP);
     
    11051108    rc = VMXWriteVMCS(VMX_VMCS_CTRL_EXCEPTION_BITMAP, pVM->hwaccm.s.vmx.u32TrapMask);
    11061109    AssertRC(rc);   
     1110#endif
    11071111
    11081112    /* Done. */
Note: See TracChangeset for help on using the changeset viewer.

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