VirtualBox

Changeset 97242 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 20, 2022 6:00:20 AM (2 years ago)
Author:
vboxsync
Message:

VMM/PGM: Nested VMX: bugref:10092 Doxygen and comment update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllGstSlatEpt.cpp.h

    r96737 r97242  
    3030#endif
    3131
     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 */
    3239DECLINLINE(bool) PGM_GST_SLAT_NAME_EPT(WalkIsPermValid)(PCVMCPUCC pVCpu, uint64_t uEntry)
    3340{
     
    4451
    4552
     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 */
    4660DECLINLINE(bool) PGM_GST_SLAT_NAME_EPT(WalkIsMemTypeValid)(uint64_t uEntry, uint8_t uLevel)
    4761{
     
    6175
    6276
     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 */
    6386DECLINLINE(int) PGM_GST_SLAT_NAME_EPT(WalkReturnNotPresent)(PCVMCPUCC pVCpu, PPGMPTWALK pWalk, uint64_t uEntry, uint8_t uLevel)
    6487{
     
    7598
    7699
     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 */
    77109DECLINLINE(int) PGM_GST_SLAT_NAME_EPT(WalkReturnBadPhysAddr)(PCVMCPUCC pVCpu, PPGMPTWALK pWalk, uint8_t uLevel, int rc)
    78110{
     
    85117
    86118
     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 */
    87127DECLINLINE(int) PGM_GST_SLAT_NAME_EPT(WalkReturnRsvdError)(PVMCPUCC pVCpu, PPGMPTWALK pWalk, uint8_t uLevel)
    88128{
     
    107147 *                              this page walk.
    108148 * @param   GCPtrNested         The nested-guest linear address that caused this
    109  *                              page walk. If @c fIsLinearAddrValid is false, pass
     149 *                              translation. If @c fIsLinearAddrValid is false, pass
    110150 *                              0.
    111151 * @param   pWalk               The page walk info.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette