VirtualBox

Changeset 47119 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 12, 2013 1:36:37 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
87213
Message:

VMM/HMSVMR0: spaces, redundant brackets and comment.

File:
1 edited

Legend:

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

    r47097 r47119  
    27552755                && (pMixedCtx->msrLSTAR & 0xff) != pSvmTransient->u8GuestTpr)
    27562756            {
    2757                 int rc = PDMApicSetTPR(pVCpu, (pMixedCtx->msrLSTAR & 0xff));
     2757                int rc = PDMApicSetTPR(pVCpu, pMixedCtx->msrLSTAR & 0xff);
    27582758                AssertRC(rc);
    27592759                pVCpu->hm.s.fContextUseFlags |= HM_CHANGED_SVM_GUEST_APIC_STATE;
     
    41374137    /* TPR patching for 32-bit guests, using the reserved bit in the page tables for MMIO regions.  */
    41384138    if (   pVM->hm.s.fTRPPatchingAllowed
    4139         && (GCPhysFaultAddr & PAGE_OFFSET_MASK) == 0x80
     4139        && (GCPhysFaultAddr & PAGE_OFFSET_MASK) == 0x80                                                  /* TPR offset. */
    41404140        && (   !(u32ErrCode & X86_TRAP_PF_P)                                                             /* Not present */
    41414141            || (u32ErrCode & (X86_TRAP_PF_P | X86_TRAP_PF_RSVD)) == (X86_TRAP_PF_P | X86_TRAP_PF_RSVD))  /* MMIO page. */
     
    43334333    if (   pVM->hm.s.fTRPPatchingAllowed
    43344334        && (uFaultAddress & 0xfff) == 0x80  /* TPR offset. */
    4335         && !(u32ErrCode & X86_TRAP_PF_P)    /* Not present */
     4335        && !(u32ErrCode & X86_TRAP_PF_P)    /* Not present. */
    43364336        && !CPUMGetGuestCPL(pVCpu)
    43374337        && !CPUMIsGuestInLongModeEx(pCtx)
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