Changeset 67051 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- May 24, 2017 7:41:42 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/APICAll.cpp
r67050 r67051 3308 3308 AssertReturn(pR0Ptr, VERR_INVALID_PARAMETER); 3309 3309 3310 if (PDMHasApic(pVCpu->CTX_SUFF(pVM))) 3311 { 3312 PCAPICCPU pApicCpu = VMCPU_TO_APICCPU(pVCpu); 3313 *pHCPhys = pApicCpu->HCPhysApicPage; 3314 *pR0Ptr = pApicCpu->pvApicPageR0; 3315 if (pR3Ptr) 3316 *pR3Ptr = pApicCpu->pvApicPageR3; 3317 if (pRCPtr) 3318 *pRCPtr = pApicCpu->pvApicPageRC; 3319 return VINF_SUCCESS; 3320 } 3321 3322 *pHCPhys = 0; 3323 *pR0Ptr = NIL_RTR0PTR; 3310 Assert(PDMHasApic(pVCpu->CTX_SUFF(pVM))); 3311 3312 PCAPICCPU pApicCpu = VMCPU_TO_APICCPU(pVCpu); 3313 *pHCPhys = pApicCpu->HCPhysApicPage; 3314 *pR0Ptr = pApicCpu->pvApicPageR0; 3324 3315 if (pR3Ptr) 3325 *pR3Ptr = NIL_RTR3PTR;3316 *pR3Ptr = pApicCpu->pvApicPageR3; 3326 3317 if (pRCPtr) 3327 *pRCPtr = NIL_RTRCPTR;3328 return V ERR_PDM_NO_APIC_INSTANCE;3329 } 3330 3318 *pRCPtr = pApicCpu->pvApicPageRC; 3319 return VINF_SUCCESS; 3320 } 3321
Note:
See TracChangeset
for help on using the changeset viewer.