VirtualBox

Changeset 11568 in vbox for trunk/src


Ignore:
Timestamp:
Aug 22, 2008 11:58:39 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
35171
Message:

Cleanup

File:
1 edited

Legend:

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

    r11474 r11568  
    287287#ifndef DEBUG
    288288    if (pVM->hwaccm.s.fNestedPaging)
    289         pVMCB->ctrl.u32InterceptException &= ~RT_BIT(14);   /* no longer need to intercept #PF. */
     289        pVMCB->ctrl.u32InterceptException &= ~RT_BIT(X86_XCPT_PF);   /* no longer need to intercept #PF. */
    290290#endif
    291291
     
    608608                if (!pVM->hwaccm.s.fFPUOldStyleOverride)
    609609                {
    610                     pVMCB->ctrl.u32InterceptException |= RT_BIT(16);
     610                    pVMCB->ctrl.u32InterceptException |= RT_BIT(X86_XCPT_MF);
    611611                    pVM->hwaccm.s.fFPUOldStyleOverride = true;
    612612                }
     
    754754    /* Intercept X86_XCPT_DB if stepping is enabled */
    755755    if (DBGFIsStepping(pVM))
    756         pVMCB->ctrl.u32InterceptException |=  RT_BIT(1);
     756        pVMCB->ctrl.u32InterceptException |=  RT_BIT(X86_XCPT_DB);
    757757    else
    758         pVMCB->ctrl.u32InterceptException &= ~RT_BIT(1);
     758        pVMCB->ctrl.u32InterceptException &= ~RT_BIT(X86_XCPT_DB);
    759759#endif
    760760
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