Changeset 47119 in vbox for trunk/src/VBox
- Timestamp:
- Jul 12, 2013 1:36:37 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 87213
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r47097 r47119 2755 2755 && (pMixedCtx->msrLSTAR & 0xff) != pSvmTransient->u8GuestTpr) 2756 2756 { 2757 int rc = PDMApicSetTPR(pVCpu, (pMixedCtx->msrLSTAR & 0xff));2757 int rc = PDMApicSetTPR(pVCpu, pMixedCtx->msrLSTAR & 0xff); 2758 2758 AssertRC(rc); 2759 2759 pVCpu->hm.s.fContextUseFlags |= HM_CHANGED_SVM_GUEST_APIC_STATE; … … 4137 4137 /* TPR patching for 32-bit guests, using the reserved bit in the page tables for MMIO regions. */ 4138 4138 if ( pVM->hm.s.fTRPPatchingAllowed 4139 && (GCPhysFaultAddr & PAGE_OFFSET_MASK) == 0x80 4139 && (GCPhysFaultAddr & PAGE_OFFSET_MASK) == 0x80 /* TPR offset. */ 4140 4140 && ( !(u32ErrCode & X86_TRAP_PF_P) /* Not present */ 4141 4141 || (u32ErrCode & (X86_TRAP_PF_P | X86_TRAP_PF_RSVD)) == (X86_TRAP_PF_P | X86_TRAP_PF_RSVD)) /* MMIO page. */ … … 4333 4333 if ( pVM->hm.s.fTRPPatchingAllowed 4334 4334 && (uFaultAddress & 0xfff) == 0x80 /* TPR offset. */ 4335 && !(u32ErrCode & X86_TRAP_PF_P) /* Not present */4335 && !(u32ErrCode & X86_TRAP_PF_P) /* Not present. */ 4336 4336 && !CPUMGetGuestCPL(pVCpu) 4337 4337 && !CPUMIsGuestInLongModeEx(pCtx)
Note:
See TracChangeset
for help on using the changeset viewer.