Changeset 72560 in vbox for trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
- Timestamp:
- Jun 15, 2018 11:00:02 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r72534 r72560 1040 1040 pVmcbCtrl->u64MSRPMPhysAddr = pVCpu->hm.s.svm.HCPhysMsrBitmap; 1041 1041 1042 /* Initialize the #VMEXIT history array with end-of-array markers (UINT16_MAX). */1043 Assert(!pVCpu->hm.s.idxExitHistoryFree);1044 HMCPU_EXIT_HISTORY_RESET(pVCpu);1045 1046 1042 /* Initially all VMCB clean bits MBZ indicating that everything should be loaded from the VMCB in memory. */ 1047 1043 Assert(pVmcbCtrl->u32VmcbCleanBits == 0); … … 1061 1057 memcpy(pbMsrBitmapCur, pbMsrBitmap, SVM_MSRPM_PAGES << X86_PAGE_4K_SHIFT); 1062 1058 pVmcbCtrlCur->u64MSRPMPhysAddr = pVCpuCur->hm.s.svm.HCPhysMsrBitmap; 1063 1064 /* Initialize the #VMEXIT history array with end-of-array markers (UINT16_MAX). */1065 Assert(!pVCpuCur->hm.s.idxExitHistoryFree);1066 HMCPU_EXIT_HISTORY_RESET(pVCpuCur);1067 1059 1068 1060 /* Initially all VMCB clean bits MBZ indicating that everything should be loaded from the VMCB in memory. */ … … 4584 4576 4585 4577 pSvmTransient->u64ExitCode = pVmcbCtrl->u64ExitCode; /* Save the #VMEXIT reason. */ 4586 HMCPU_EXIT_HISTORY_ADD(pVCpu, pVmcbCtrl->u64ExitCode); /* Update the #VMEXIT history array. */4587 4578 pVmcbCtrl->u32VmcbCleanBits = HMSVM_VMCB_CLEAN_ALL; /* Mark the VMCB-state cache as unmodified by VMM. */ 4588 4579 pSvmTransient->fVectoringDoublePF = false; /* Vectoring double page-fault needs to be determined later. */ … … 4611 4602 } 4612 4603 } 4604 4605 EMHistoryAddExit(pVCpu, EMEXIT_MAKE_FLAGS_AND_TYPE(EMEXIT_F_KIND_SVM, pSvmTransient->u64ExitCode & EMEXIT_F_TYPE_MASK), 4606 pMixedCtx->cs.u64Base + pMixedCtx->rip, uHostTsc); 4613 4607 } 4614 4608
Note:
See TracChangeset
for help on using the changeset viewer.