VirtualBox

Ignore:
Timestamp:
Aug 16, 2013 8:59:32 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
88047
Message:

PGM: Added a new page type for the VT-x APIC access page MMIO alias instead of abusing the MMIO2 aliasing. There are important differences, we can safely access the MMIO2 page when aliased and save time doing so, while the alias created by IOMMMIOMapMMIOHCPage must not be accessed outside the VT-x execution AFAIK.

File:
1 edited

Legend:

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

    r44528 r47786  
    4646     * See PGMHandlerPhysicalPageAlias(). */
    4747    PGMPAGETYPE_MMIO2_ALIAS_MMIO,
     48    /** Special page aliased over an MMIO page. (RWX)
     49     * See PGMHandlerPhysicalPageAliasHC(), but this is generally only used for
     50     * VT-x's APIC access page at the moment.  Treated as MMIO by everyone except
     51     * the shadow paging code. */
     52    PGMPAGETYPE_SPECIAL_ALIAS_MMIO,
    4853    /** Shadowed ROM. (RWX) */
    4954    PGMPAGETYPE_ROM_SHADOW,
     
    5560    PGMPAGETYPE_END
    5661} PGMPAGETYPE;
    57 AssertCompile(PGMPAGETYPE_END <= 7);
     62AssertCompile(PGMPAGETYPE_END == 8);
    5863
    5964VMMDECL(PGMPAGETYPE) PGMPhysGetPageType(PVM pVM, RTGCPHYS GCPhys);
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