- Timestamp:
- May 21, 2008 8:54:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r9033 r9038 257 257 if (!pVM->hwaccm.s.fNestedPaging) 258 258 pVMCB->ctrl.u16InterceptRdCRx = RT_BIT(0) | RT_BIT(3) | RT_BIT(4); 259 else 259 else 260 260 pVMCB->ctrl.u16InterceptRdCRx = RT_BIT(0); 261 261 … … 1037 1037 1038 1038 /* Note: no reason to sync back the CRx and DRx registers. They can't be changed by the guest. */ 1039 /* Note: only in the nested paging case can CR3 & CR4 be changed by the guest. */ 1039 /* Note: only in the nested paging case can CR3 & CR4 be changed by the guest. */ 1040 1040 if (pVM->hwaccm.s.fNestedPaging) 1041 1041 { … … 1056 1056 1057 1057 Log2(("exitCode = %x\n", exitCode)); 1058 1059 /* Sync back the debug registers. */ 1060 /** @todo Implement debug registers correctly. */ 1061 pCtx->dr6 = pVMCB->guest.u64DR6; 1062 pCtx->dr7 = pVMCB->guest.u64DR7; 1058 1063 1059 1064 /* Check if an injected event was interrupted prematurely. */ … … 1432 1437 1433 1438 STAM_COUNTER_INC(&pVM->hwaccm.s.StatFlushTLBCRxChange); 1434 1439 1435 1440 /** @note Force a TLB flush. SVM requires us to do it manually. */ 1436 1441 pVM->hwaccm.s.svm.fForceTLBFlush = true;
Note:
See TracChangeset
for help on using the changeset viewer.