VirtualBox

Changeset 49770 in vbox


Ignore:
Timestamp:
Dec 4, 2013 10:51:06 AM (11 years ago)
Author:
vboxsync
Message:

VMM/HM: Fix typo in TRPPatchingAllowed member.

Location:
trunk/src/VBox/VMM
Files:
3 edited

Legend:

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

    r49729 r49770  
    46764676#ifdef VBOX_HM_WITH_GUEST_PATCHING
    46774677    /* TPR patching for 32-bit guests, using the reserved bit in the page tables for MMIO regions.  */
    4678     if (   pVM->hm.s.fTRPPatchingAllowed
     4678    if (   pVM->hm.s.fTprPatchingAllowed
    46794679        && (GCPhysFaultAddr & PAGE_OFFSET_MASK) == 0x80                                                  /* TPR offset. */
    46804680        && (   !(u32ErrCode & X86_TRAP_PF_P)                                                             /* Not present */
     
    48774877#ifdef VBOX_HM_WITH_GUEST_PATCHING
    48784878    /* Shortcut for APIC TPR reads and writes; only applicable to 32-bit guests. */
    4879     if (   pVM->hm.s.fTRPPatchingAllowed
     4879    if (   pVM->hm.s.fTprPatchingAllowed
    48804880        && (uFaultAddress & 0xfff) == 0x80  /* TPR offset. */
    48814881        && !(u32ErrCode & X86_TRAP_PF_P)    /* Not present. */
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r49748 r49770  
    409409    /** @cfgm{/HM/TPRPatchingEnabled, bool, false}
    410410     * Enables TPR patching for 32-bit windows guests with IO-APIC. */
    411     rc = CFGMR3QueryBoolDef(pCfgHM, "TPRPatchingEnabled", &pVM->hm.s.fTRPPatchingAllowed, false);
     411    rc = CFGMR3QueryBoolDef(pCfgHM, "TPRPatchingEnabled", &pVM->hm.s.fTprPatchingAllowed, false);
    412412    AssertRCReturn(rc, rc);
    413413
     
    949949    if (!pVM->hm.s.fHasIoApic)
    950950    {
    951         Assert(!pVM->hm.s.fTRPPatchingAllowed); /* paranoia */
    952         pVM->hm.s.fTRPPatchingAllowed = false;
     951        Assert(!pVM->hm.s.fTprPatchingAllowed); /* paranoia */
     952        pVM->hm.s.fTprPatchingAllowed = false;
    953953    }
    954954
     
    14631463        CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_NX);
    14641464
    1465     LogRel(("HM: TPR Patching %s.\n", (pVM->hm.s.fTRPPatchingAllowed) ? "enabled" : "disabled"));
     1465    LogRel(("HM: TPR patching %s.\n", (pVM->hm.s.fTprPatchingAllowed) ? "enabled" : "disabled"));
    14661466
    14671467    LogRel((pVM->hm.s.fAllow64BitGuests
  • trunk/src/VBox/VMM/include/HMInternal.h

    r49755 r49770  
    328328
    329329    /** Set when TPR patching is allowed. */
    330     bool                        fTRPPatchingAllowed;
     330    bool                        fTprPatchingAllowed;
    331331
    332332    /** Set when we initialize VT-x or AMD-V once for all CPUs. */
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