Changeset 78371 in vbox for trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
- Timestamp:
- May 3, 2019 8:21:44 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r78370 r78371 1550 1550 * include both a read -and- a write permission! 1551 1551 * 1552 * @sa HMGetVmxMsrPermission.1552 * @sa CPUMGetVmxMsrPermission. 1553 1553 * @remarks Can be called with interrupts disabled. 1554 1554 */ … … 2207 2207 if (pVmcsInfo->u32ProcCtls & VMX_PROC_CTLS_USE_MSR_BITMAPS) 2208 2208 { 2209 uint32_t const fMsrpm = HMGetVmxMsrPermission(pVmcsInfo->pvMsrBitmap, pGuestMsrLoad->u32Msr);2209 uint32_t const fMsrpm = CPUMGetVmxMsrPermission(pVmcsInfo->pvMsrBitmap, pGuestMsrLoad->u32Msr); 2210 2210 if (fIsEferMsr) 2211 2211 { … … 2905 2905 #ifdef VBOX_STRICT 2906 2906 Assert(pVmcsInfo->pvMsrBitmap); 2907 uint32_t const fMsrpmEfer = HMGetVmxMsrPermission(pVmcsInfo->pvMsrBitmap, MSR_K6_EFER);2907 uint32_t const fMsrpmEfer = CPUMGetVmxMsrPermission(pVmcsInfo->pvMsrBitmap, MSR_K6_EFER); 2908 2908 Assert(fMsrpmEfer == VMXMSRPM_EXIT_RD_WR); 2909 2909 #endif … … 10839 10839 * @param pcLoops Pointer to the number of executed loops. 10840 10840 * 10841 * @sa hmR0VmxRunGuestCodeNormal ().10841 * @sa hmR0VmxRunGuestCodeNormal. 10842 10842 */ 10843 10843 static VBOXSTRICTRC hmR0VmxRunGuestCodeNested(PVMCPU pVCpu, uint32_t *pcLoops) … … 13671 13671 { 13672 13672 Assert(pVmcsInfo->pvMsrBitmap); 13673 uint32_t fMsrpm = HMGetVmxMsrPermission(pVmcsInfo->pvMsrBitmap, idMsr);13673 uint32_t fMsrpm = CPUMGetVmxMsrPermission(pVmcsInfo->pvMsrBitmap, idMsr); 13674 13674 if (fMsrpm & VMXMSRPM_ALLOW_RD) 13675 13675 { … … 13816 13816 { 13817 13817 Assert(pVmcsInfo->pvMsrBitmap); 13818 uint32_t fMsrpm = HMGetVmxMsrPermission(pVmcsInfo->pvMsrBitmap, idMsr);13818 uint32_t fMsrpm = CPUMGetVmxMsrPermission(pVmcsInfo->pvMsrBitmap, idMsr); 13819 13819 if (fMsrpm & VMXMSRPM_ALLOW_WR) 13820 13820 { … … 14870 14870 * Hacks its way around the lovely mesa driver's backdoor accesses. 14871 14871 * 14872 * @sa hmR0SvmHandleMesaDrvGp 14872 * @sa hmR0SvmHandleMesaDrvGp. 14873 14873 */ 14874 14874 static int hmR0VmxHandleMesaDrvGp(PVMCPU pVCpu, PVMXTRANSIENT pVmxTransient, PCPUMCTX pCtx) … … 14890 14890 * 14891 14891 * @returns true if it is, false if it isn't. 14892 * @sa hmR0SvmIsMesaDrvGp 14892 * @sa hmR0SvmIsMesaDrvGp. 14893 14893 */ 14894 14894 DECLINLINE(bool) hmR0VmxIsMesaDrvGp(PVMCPU pVCpu, PVMXTRANSIENT pVmxTransient, PCPUMCTX pCtx)
Note:
See TracChangeset
for help on using the changeset viewer.