VirtualBox

Changeset 92332 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Nov 10, 2021 5:00:26 PM (3 years ago)
Author:
vboxsync
Message:

VMM: Nested VMX: bugref:10092 Comment tidy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/PGMInternal.h

    r92331 r92332  
    23412341 * The following bits map 1:1 (shifted by PGM_PTATTRS_EPT_SHIFT) to the Intel EPT
    23422342 * attributes as these are unique to EPT and fit within 64-bits despite the shift:
    2343  *   - EPT_R       (Read access).
    2344  *   - EPT_W       (Write access).
    2345  *   - EPT_X_SUPER (Execute or execute access for supervisor-mode linear addresses).
    2346  *   - EPT_MEMTYPE (EPT memory type).
    2347  *   - IGNORE_PAT  (Ignore PAT memory type).
    2348  *   - X_USER      (Execute access for user-mode linear addresses).
     2343 *   - EPT_R         : Read access.
     2344 *   - EPT_W         : Write access.
     2345 *   - EPT_X_SUPER   : Execute or execute for supervisor-mode linear addr access.
     2346 *   - EPT_MEMTYPE   : EPT memory type.
     2347 *   - EPT_IGNORE_PAT: Ignore PAT memory type.
     2348 *   - EPT_X_USER    : Execute access for user-mode linear addresses.
    23492349 *
    23502350 * For regular page tables, the R bit is always 1 (same as P bit).
     
    23542354 * exist in the regular page tables at these positions OR are exclusive to EPT and
    23552355 * have been mapped to arbitrarily chosen positions:
    2356  *   - A                (Accessed)                - EPT bit  8 maps to bit  5.
    2357  *   - D                (Dirty)                   - EPT bit  9 maps to bit  6.
    2358  *   - SUPER_SHW_STACK  (Supervisor Shadow Stack) - EPT bit 60 maps to bit 24.
    2359  *   - SUPPRESS_VE_XCPT (Suppress \#VE exception) - EPT bit 63 maps to bit 25.
     2356 *   - EPT_A               : Accessed                (EPT bit  8 maps to bit  5).
     2357 *   - EPT_D               : Dirty                   (EPT bit  9 maps to bit  6).
     2358 *   - EPT_SUPER_SHW_STACK : Supervisor Shadow Stack (EPT bit 60 maps to bit 24).
     2359 *   - EPT_SUPPRESS_VE_XCPT: Suppress \#VE exception (EPT bit 63 maps to bit 25).
    23602360 *
    23612361 * Bits 12, 11:9 and 43 are deliberately kept unused (correspond to bit PS and bits
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