Changeset 72762 in vbox
- Timestamp:
- Jun 29, 2018 10:14:33 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 123299
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMR0.cpp
r72761 r72762 1348 1348 RTTHREADPREEMPTSTATE PreemptState = RTTHREADPREEMPTSTATE_INITIALIZER; 1349 1349 RTThreadPreemptDisable(&PreemptState); 1350 RTCPUID idCpu = RTMpCpuId();1350 RTCPUID const idCpu = RTMpCpuId(); 1351 1351 1352 1352 /* Enable VT-x or AMD-V if local init is required. */ … … 1443 1443 { 1444 1444 Assert((pVCpu->hm.s.fCtxChanged & (HM_CHANGED_HOST_CONTEXT | HM_CHANGED_VMX_HOST_GUEST_SHARED_STATE)) 1445 == (HM_CHANGED_HOST_CONTEXT | HM_CHANGED_VMX_HOST_GUEST_SHARED_STATE));1445 == (HM_CHANGED_HOST_CONTEXT | HM_CHANGED_VMX_HOST_GUEST_SHARED_STATE)); 1446 1446 } 1447 1447 else 1448 1448 { 1449 1449 Assert((pVCpu->hm.s.fCtxChanged & (HM_CHANGED_HOST_CONTEXT | HM_CHANGED_SVM_HOST_GUEST_SHARED_STATE)) 1450 == (HM_CHANGED_HOST_CONTEXT | HM_CHANGED_SVM_HOST_GUEST_SHARED_STATE));1450 == (HM_CHANGED_HOST_CONTEXT | HM_CHANGED_SVM_HOST_GUEST_SHARED_STATE)); 1451 1451 } 1452 1452 -
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r72761 r72762 2544 2544 * @param pVCpu The cross context virtual CPU structure. 2545 2545 * @param pCtx Pointer to the nested-guest-CPU context. 2546 */ 2547 static void hmR0SvmMergeMsrpmNested(PHMGLOBALCPUINFO pHostCpu, PVMCPU pVCpu, PCCPUMCTX pCtx) 2546 * 2547 * @remarks No-long-jmp zone!!! 2548 */ 2549 DECLINLINE(void) hmR0SvmMergeMsrpmNested(PHMGLOBALCPUINFO pHostCpu, PVMCPU pVCpu, PCCPUMCTX pCtx) 2548 2550 { 2549 2551 uint64_t const *pu64GstMsrpm = (uint64_t const *)pVCpu->hm.s.svm.pvMsrBitmap;
Note:
See TracChangeset
for help on using the changeset viewer.