- Timestamp:
- Apr 20, 2019 10:27:09 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r78231 r78232 2758 2758 * 2759 2759 * @returns VBox status code. 2760 * @param pVCpu The cross context virtual CPU structure.2761 2760 * @param pVmcsInfo The VMCS info. object. 2762 2761 */ 2763 DECLINLINE(int) hmR0VmxSetupVmcsMsrBitmapAddr(PVMCPU pVCpu, PCVMXVMCSINFO pVmcsInfo) 2764 { 2765 NOREF(pVCpu); 2762 DECLINLINE(int) hmR0VmxSetupVmcsMsrBitmapAddr(PCVMXVMCSINFO pVmcsInfo) 2763 { 2766 2764 RTHCPHYS const HCPhysMsrBitmap = pVmcsInfo->HCPhysMsrBitmap; 2767 2765 Assert(HCPhysMsrBitmap != NIL_RTHCPHYS); … … 2790 2788 * 2791 2789 * @returns VBox status code. 2792 * @param pVCpu The cross context virtual CPU structure.2793 2790 * @param pVmcsInfo The VMCS info. object. 2794 2791 */ 2795 DECLINLINE(int) hmR0VmxSetupVmcsLinkPtr(PVMCPU pVCpu, PVMXVMCSINFO pVmcsInfo) 2796 { 2797 NOREF(pVCpu); 2792 DECLINLINE(int) hmR0VmxSetupVmcsLinkPtr(PVMXVMCSINFO pVmcsInfo) 2793 { 2798 2794 uint64_t const u64VmcsLinkPtr = pVmcsInfo->u64VmcsLinkPtr; 2799 2795 Assert(u64VmcsLinkPtr == UINT64_C(0xffffffffffffffff)); /* Bits 63:0 MB1. */ … … 2807 2803 * 2808 2804 * @returns VBox status code. 2809 * @param pVCpu The cross context virtual CPU structure.2810 2805 * @param pVmcsInfo The VMCS info. object. 2811 2806 */ 2812 DECLINLINE(int) hmR0VmxSetupVmcsAutoLoadStoreMsrAddrs(PVMCPU pVCpu, PVMXVMCSINFO pVmcsInfo) 2813 { 2814 NOREF(pVCpu); 2807 DECLINLINE(int) hmR0VmxSetupVmcsAutoLoadStoreMsrAddrs(PVMXVMCSINFO pVmcsInfo) 2808 { 2815 2809 RTHCPHYS const HCPhysGuestMsrLoad = pVmcsInfo->HCPhysGuestMsrLoad; 2816 2810 Assert(HCPhysGuestMsrLoad != NIL_RTHCPHYS); … … 3116 3110 { 3117 3111 fVal |= VMX_PROC_CTLS_USE_MSR_BITMAPS; 3118 int rc = hmR0VmxSetupVmcsMsrBitmapAddr(pV Cpu, pVmcsInfo);3112 int rc = hmR0VmxSetupVmcsMsrBitmapAddr(pVmcsInfo); 3119 3113 AssertRCReturn(rc, rc); 3120 3114 } … … 3169 3163 { 3170 3164 /* Set the auto-load/store MSR area addresses in the VMCS. */ 3171 int rc = hmR0VmxSetupVmcsAutoLoadStoreMsrAddrs(pV Cpu, pVmcsInfo);3165 int rc = hmR0VmxSetupVmcsAutoLoadStoreMsrAddrs(pVmcsInfo); 3172 3166 if (RT_SUCCESS(rc)) 3173 3167 { 3174 3168 /* Set the VMCS link pointer in the VMCS. */ 3175 rc = hmR0VmxSetupVmcsLinkPtr(pV Cpu, pVmcsInfo);3169 rc = hmR0VmxSetupVmcsLinkPtr(pVmcsInfo); 3176 3170 if (RT_SUCCESS(rc)) 3177 3171 {
Note:
See TracChangeset
for help on using the changeset viewer.