VirtualBox

Changeset 86464 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Oct 7, 2020 8:09:22 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
140770
Message:

VMM/PGMAll.h: No EPT bitfields. bugref:9841 bugref:9746

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/hm_vmx.h

    r86457 r86464  
    445445/** @} */
    446446
    447 /** @name VMX EPT paging structures
    448  * @{
    449  */
    450 
    451 /** @name Common bits
     447/** @name VMX Extended Page Tables (EPT) Common Bits
    452448 * @{ */
    453449/** Bit 0 - Readable (we often think of it as present). */
     
    484480/** Bits 3-5 - Memory type: WB. */
    485481#define EPT_E_TYPE_WB           (UINT64_C(6) << EPT_E_TYPE_SHIFT)
     482/** Bits 3-5 - Memory type: Invalid (7). */
     483#define EPT_E_TYPE_INVALID_7    (UINT64_C(7) << EPT_E_TYPE_SHIFT)
    486484
    487485/** Bit 6 - Ignore page attribute table (leaf, MBZ). */
     
    526524/** @} */
    527525
     526
     527/** @name VMX Extended Page Tables (EPT) Structures
     528 * @{
     529 */
     530
    528531/**
    529532 * Number of page table entries in the EPT. (PDPTE/PDE/PTE)
     
    570573typedef union EPTPML4E
    571574{
     575#ifndef VBOX_WITHOUT_PAGING_BIT_FIELDS
    572576    /** Normal view. */
    573577    EPTPML4EBITS    n;
     578#endif
    574579    /** Unsigned integer view. */
    575580    X86PGPAEUINT    u;
     
    635640typedef union EPTPDPTE
    636641{
     642#ifndef VBOX_WITHOUT_PAGING_BIT_FIELDS
    637643    /** Normal view. */
    638644    EPTPDPTEBITS    n;
     645#endif
    639646    /** Unsigned integer view. */
    640647    X86PGPAEUINT    u;
     
    734741typedef union EPTPDE
    735742{
     743#ifndef VBOX_WITHOUT_PAGING_BIT_FIELDS
    736744    /** Normal view. */
    737745    EPTPDEBITS      n;
    738746    /** 2MB view (big). */
    739747    EPTPDE2MBITS    b;
     748#endif
    740749    /** Unsigned integer view. */
    741750    X86PGPAEUINT    u;
     
    808817typedef union EPTPTE
    809818{
     819#ifndef VBOX_WITHOUT_PAGING_BIT_FIELDS
    810820    /** Normal view. */
    811821    EPTPTEBITS      n;
     822#endif
    812823    /** Unsigned integer view. */
    813824    X86PGPAEUINT    u;
Note: See TracChangeset for help on using the changeset viewer.

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