- Timestamp:
- Sep 6, 2018 4:30:45 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpum.h
r74100 r74101 2002 2002 VMMDECL(int) CPUMQueryValidatedGuestEfer(PVM pVM, uint64_t uCr0, uint64_t uOldEfer, uint64_t uNewEfer, 2003 2003 uint64_t *puValidEfer); 2004 VMMDECL(void) CPUMSetGuest MsrEferNoCheck(PVMCPU pVCpu, uint64_t uOldEfer, uint64_t uValidEfer);2004 VMMDECL(void) CPUMSetGuestEferMsrNoChecks(PVMCPU pVCpu, uint64_t uOldEfer, uint64_t uValidEfer); 2005 2005 VMMDECL(bool) CPUMIsPatMsrValid(uint64_t uValue); 2006 2006 -
trunk/src/VBox/VMM/VMMAll/CPUMAllMsrs.cpp
r74100 r74101 1887 1887 return VERR_CPUM_RAISE_GP_0; 1888 1888 1889 CPUMSetGuest MsrEferNoCheck(pVCpu, uOldEfer, uValidatedEfer);1889 CPUMSetGuestEferMsrNoChecks(pVCpu, uOldEfer, uValidatedEfer); 1890 1890 return VINF_SUCCESS; 1891 1891 } … … 6564 6564 * function to change the EFER in order to perform an EFER transition. 6565 6565 */ 6566 VMMDECL(void) CPUMSetGuest MsrEferNoCheck(PVMCPU pVCpu, uint64_t uOldEfer, uint64_t uValidEfer)6566 VMMDECL(void) CPUMSetGuestEferMsrNoChecks(PVMCPU pVCpu, uint64_t uOldEfer, uint64_t uValidEfer) 6567 6567 { 6568 6568 pVCpu->cpum.s.Guest.msrEFER = uValidEfer; -
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r72917 r74101 2775 2775 pCtx->gdtr = pHostState->gdtr; 2776 2776 pCtx->idtr = pHostState->idtr; 2777 CPUMSetGuest MsrEferNoCheck(pVCpu, pCtx->msrEFER, pHostState->uEferMsr);2777 CPUMSetGuestEferMsrNoChecks(pVCpu, pCtx->msrEFER, pHostState->uEferMsr); 2778 2778 CPUMSetGuestCR0(pVCpu, pHostState->uCr0 | X86_CR0_PE); 2779 2779 pCtx->cr3 = pHostState->uCr3; -
trunk/src/VBox/VMM/VMMAll/IEMAllCImplSvmInstr.cpp.h
r73165 r74101 728 728 pVCpu->cpum.GstCtx.rsp = pVmcbNstGst->u64RSP; 729 729 pVCpu->cpum.GstCtx.rip = pVmcbNstGst->u64RIP; 730 CPUMSetGuest MsrEferNoCheck(pVCpu, pVCpu->cpum.GstCtx.msrEFER, uValidEfer);730 CPUMSetGuestEferMsrNoChecks(pVCpu, pVCpu->cpum.GstCtx.msrEFER, uValidEfer); 731 731 if (pVmcbCtrl->NestedPagingCtrl.n.u1NestedPaging) 732 732 pVCpu->cpum.GstCtx.msrPAT = pVmcbNstGst->u64PAT;
Note:
See TracChangeset
for help on using the changeset viewer.