Changeset 70260 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Dec 21, 2017 7:57:01 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 119855
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r70258 r70260 875 875 876 876 /* Setup Nested Paging. This doesn't change throughout the execution time of the VM. */ 877 pVmcb->ctrl. NestedPaging.n.u1NestedPaging = pVM->hm.s.fNestedPaging;877 pVmcb->ctrl.u1NestedPaging = pVM->hm.s.fNestedPaging; 878 878 879 879 /* Without Nested Paging, we need additionally intercepts. */ … … 2160 2160 pNstGstVmcbCache->fVIntrMasking = pVmcbNstGstCtrl->IntCtrl.n.u1VIntrMasking; 2161 2161 pNstGstVmcbCache->TLBCtrl = pVmcbNstGstCtrl->TLBCtrl; 2162 pNstGstVmcbCache-> NestedPagingCtrl = pVmcbNstGstCtrl->NestedPaging;2162 pNstGstVmcbCache->u1NestedPaging = pVmcbNstGstCtrl->u1NestedPaging; 2163 2163 pCtx->hwvirt.svm.fHMCachedVmcb = true; 2164 2164 Log4(("hmR0SvmVmRunCacheVmcb: Cached VMCB fields\n")); … … 2204 2204 * end of Trap0eHandler in PGMAllBth.h). 2205 2205 */ 2206 pVmcbNstGstCtrl-> NestedPaging.n.u1NestedPaging = pVCpu->CTX_SUFF(pVM)->hm.s.fNestedPaging;2206 pVmcbNstGstCtrl->u1NestedPaging = pVCpu->CTX_SUFF(pVM)->hm.s.fNestedPaging; 2207 2207 } 2208 2208 else … … 2210 2210 Assert(pVmcbNstGstCtrl->u64IOPMPhysAddr == g_HCPhysIOBitmap); 2211 2211 Assert(pVmcbNstGstCtrl->u64MSRPMPhysAddr = g_HCPhysNstGstMsrBitmap); 2212 Assert(RT_BOOL(pVmcbNstGstCtrl-> NestedPaging.n.u1NestedPaging) == pVCpu->CTX_SUFF(pVM)->hm.s.fNestedPaging);2212 Assert(RT_BOOL(pVmcbNstGstCtrl->u1NestedPaging) == pVCpu->CTX_SUFF(pVM)->hm.s.fNestedPaging); 2213 2213 } 2214 2214 } … … 2465 2465 * This is done as the very last step of syncing the guest state, as PGMUpdateCR3() may cause longjmp's to ring-3. 2466 2466 */ 2467 if ( pVmcb->ctrl. NestedPaging.n.u1NestedPaging2467 if ( pVmcb->ctrl.u1NestedPaging 2468 2468 && pMixedCtx->cr3 != pVmcb->guest.u64CR3) 2469 2469 { … … 3556 3556 Log4(("ctrl.ExitIntInfo.u1Valid %#x\n", pVmcb->ctrl.ExitIntInfo.n.u1Valid)); 3557 3557 Log4(("ctrl.ExitIntInfo.u32ErrorCode %#x\n", pVmcb->ctrl.ExitIntInfo.n.u32ErrorCode)); 3558 Log4(("ctrl. NestedPaging %#RX64\n", pVmcb->ctrl.NestedPaging.u));3558 Log4(("ctrl.u1NestedPaging %RTbool\n", pVmcb->ctrl.u1NestedPaging)); 3559 3559 Log4(("ctrl.EventInject.u8Vector %#x\n", pVmcb->ctrl.EventInject.n.u8Vector)); 3560 3560 Log4(("ctrl.EventInject.u3Type %#x\n", pVmcb->ctrl.EventInject.n.u3Type));
Note:
See TracChangeset
for help on using the changeset viewer.