VirtualBox

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


Ignore:
Timestamp:
Apr 24, 2013 2:00:35 PM (12 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Fix macro renaming breakage.

File:
1 edited

Legend:

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

    r45698 r45699  
    3838#define HMVMX_SAVE_FULL_GUEST_STATE
    3939#define HMVMX_SYNC_FULL_GUEST_STATE
    40 #define HMVMX_TRAP_ALL_EXCEPTIONS
     40#define HMVMX_ALWAYS_TRAP_ALL_XCPTS
     41#define HMVMX_ALWAYS_TRAP_PF
    4142#endif
    4243
     
    27842785
    27852786        /* Additional intercepts for debugging, define these yourself explicitly. */
    2786 #ifdef VBOX_ALWAYS_TRAP_ALL_EXCEPTIONS
     2787#ifdef HMVMX_ALWAYS_TRAP_ALL_XCPTS
    27872788        pVCpu->hm.s.vmx.u32XcptBitmap |=   RT_BIT(X86_XCPT_BP)
    27882789                                         | RT_BIT(X86_XCPT_DB)
     
    27952796                                         | RT_BIT(X86_XCPT_PF)
    27962797                                         | RT_BIT(X86_XCPT_MF);
    2797 #elif defined(VBOX_ALWAYS_TRAP_PF)
     2798#elif defined(HMVMX_ALWAYS_TRAP_PF)
    27982799        pVCpu->hm.s.vmx.u32XcptBitmap    |= RT_BIT(X86_XCPT_PF)
    27992800#endif
     
    31093110    else if (!pVCpu->hm.s.vmx.RealMode.fRealOnV86Active)
    31103111    {
    3111 #ifndef VBOX_ALWAYS_TRAP_ALL_EXCEPTIONS
     3112#ifndef HMVMX_ALWAYS_TRAP_ALL_XCPTS
    31123113        pVCpu->hm.s.vmx.u32XcptBitmap &= ~RT_BIT(X86_XCPT_DB);
    31133114#endif
     
    69666967                case X86_XCPT_DB: rc = hmR0VmxExitXcptDB(pVCpu, pMixedCtx, pVmxTransient);      break;
    69676968                case X86_XCPT_BP: rc = hmR0VmxExitXcptBP(pVCpu, pMixedCtx, pVmxTransient);      break;
    6968 #ifdef VBOX_ALWAYS_TRAP_ALL_EXCEPTIONS
     6969#ifdef HMVMX_ALWAYS_TRAP_ALL_XCPTS
    69696970                case X86_XCPT_XF: STAM_COUNTER_INC(&pVCpu->hm.s.StatExitGuestXF);
    69706971                                  rc = hmR0VmxExitXcptGeneric(pVCpu, pMixedCtx, pVmxTransient); break;
     
    84918492    VMX_VALIDATE_EXIT_XCPT_HANDLER_PARAMS();
    84928493
    8493 #ifndef VBOX_ALWAYS_TRAP_ALL_EXCEPTIONS
     8494#ifndef HMVMX_ALWAYS_TRAP_ALL_XCPTS
    84948495    Assert(!CPUMIsGuestFPUStateActive(pVCpu));
    84958496#endif
     
    85348535    if (!pVCpu->hm.s.vmx.RealMode.fRealOnV86Active)
    85358536    {
    8536 #ifdef VBOX_ALWAYS_TRAP_ALL_EXCEPTIONS
     8537#ifdef HMVMX_ALWAYS_TRAP_ALL_XCPTS
    85378538        /* If the guest is not in real-mode or we have unrestricted execution support, reflect #GP to the guest. */
    85388539        rc  = hmR0VmxReadExitIntrInfoVmcs(pVCpu, pVmxTransient);
     
    87938794    AssertRCReturn(rc, rc);
    87948795
    8795 #if defined(VBOX_ALWAYS_TRAP_ALL_EXCEPTIONS) || defined(VBOX_ALWAYS_TRAP_PF)
     8796#if defined(HMVMX_ALWAYS_TRAP_ALL_XCPTS) || defined(HMVMX_ALWAYS_TRAP_PF)
    87968797    if (pVM->hm.s.fNestedPaging)
    87978798    {
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