Changeset 97242 in vbox for trunk/src/VBox
- Timestamp:
- Oct 20, 2022 6:00:20 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllGstSlatEpt.cpp.h
r96737 r97242 30 30 #endif 31 31 32 /** 33 * Checks if the EPT PTE permissions are valid. 34 * 35 * @returns @c true if valid, @c false otherwise. 36 * @param uEntry The EPT page table entry to check. 37 * @param uLevel The page table walk level. 38 */ 32 39 DECLINLINE(bool) PGM_GST_SLAT_NAME_EPT(WalkIsPermValid)(PCVMCPUCC pVCpu, uint64_t uEntry) 33 40 { … … 44 51 45 52 53 /** 54 * Checks if the EPT memory type is valid. 55 * 56 * @returns @c true if valid, @c false otherwise. 57 * @param uEntry The EPT page table entry to check. 58 * @param uLevel The page table walk level. 59 */ 46 60 DECLINLINE(bool) PGM_GST_SLAT_NAME_EPT(WalkIsMemTypeValid)(uint64_t uEntry, uint8_t uLevel) 47 61 { … … 61 75 62 76 77 /** 78 * Updates page walk result info when a not-present page is encountered. 79 * 80 * @returns VERR_PAGE_TABLE_NOT_PRESENT. 81 * @param pVCpu The cross context virtual CPU structure of the calling EMT. 82 * @param pWalk The page walk info to update. 83 * @param uEntry The EPT PTE that is not present. 84 * @param uLevel The page table walk level. 85 */ 63 86 DECLINLINE(int) PGM_GST_SLAT_NAME_EPT(WalkReturnNotPresent)(PCVMCPUCC pVCpu, PPGMPTWALK pWalk, uint64_t uEntry, uint8_t uLevel) 64 87 { … … 75 98 76 99 100 /** 101 * Updates page walk result info when a bad physical address is encountered. 102 * 103 * @returns VERR_PAGE_TABLE_NOT_PRESENT . 104 * @param pVCpu The cross context virtual CPU structure of the calling EMT. 105 * @param pWalk The page walk info to update. 106 * @param uLevel The page table walk level. 107 * @param rc The error code that caused this bad physical address situation. 108 */ 77 109 DECLINLINE(int) PGM_GST_SLAT_NAME_EPT(WalkReturnBadPhysAddr)(PCVMCPUCC pVCpu, PPGMPTWALK pWalk, uint8_t uLevel, int rc) 78 110 { … … 85 117 86 118 119 /** 120 * Updates page walk result info when reserved bits are encountered. 121 * 122 * @returns VERR_PAGE_TABLE_NOT_PRESENT. 123 * @param pVCpu The cross context virtual CPU structure of the calling EMT. 124 * @param pWalk The page walk info to update. 125 * @param uLevel The page table walk level. 126 */ 87 127 DECLINLINE(int) PGM_GST_SLAT_NAME_EPT(WalkReturnRsvdError)(PVMCPUCC pVCpu, PPGMPTWALK pWalk, uint8_t uLevel) 88 128 { … … 107 147 * this page walk. 108 148 * @param GCPtrNested The nested-guest linear address that caused this 109 * page walk. If @c fIsLinearAddrValid is false, pass149 * translation. If @c fIsLinearAddrValid is false, pass 110 150 * 0. 111 151 * @param pWalk The page walk info.
Note:
See TracChangeset
for help on using the changeset viewer.