Changeset 96738 in vbox
- Timestamp:
- Sep 14, 2022 12:08:30 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/PGMInline.h
r96407 r96738 740 740 741 741 #ifdef VBOX_WITH_NESTED_HWVIRT_VMX_EPT 742 # if 0 742 743 /** 743 744 * Gets the pointer to a page map level-4 entry when the guest using EPT paging. … … 760 761 return &pEptPml4->a[iPml4]; 761 762 } 763 # endif 762 764 763 765 … … 772 774 DECLINLINE(int) pgmGstGetEptPML4PtrEx(PVMCPUCC pVCpu, PEPTPML4 *ppEptPml4) 773 775 { 776 /* Shadow CR3 might not have been mapped at this point, see PGMHCChangeMode. */ 774 777 *ppEptPml4 = pVCpu->pgm.s.CTX_SUFF(pGstEptPml4); 775 if ( RT_UNLIKELY(!*ppEptPml4))778 if (!*ppEptPml4) 776 779 return pgmGstLazyMapEptPml4(pVCpu, ppEptPml4); 777 780 return VINF_SUCCESS; … … 779 782 780 783 784 # if 0 781 785 /** 782 786 * Gets the page map level-4 pointer for the guest when the guest is using EPT … … 793 797 return pEptPml4; 794 798 } 799 # endif 795 800 #endif /* VBOX_WITH_NESTED_HWVIRT_VMX_EPT */ 796 801
Note:
See TracChangeset
for help on using the changeset viewer.