VirtualBox

Changeset 9690 in vbox for trunk/src/VBox/VMM/PGMInternal.h


Ignore:
Timestamp:
Jun 13, 2008 3:51:14 PM (17 years ago)
Author:
vboxsync
Message:

Paging updates for amd64.

File:
1 edited

Legend:

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

    r9596 r9690  
    12791279/** The extended PAE page directory (2048 entries, works as root currently). */
    12801280#define PGMPOOL_IDX_PAE_PD      2
    1281  /** PAE Page Directory Table 0. */
     1281/** PAE Page Directory Table 0. */
    12821282#define PGMPOOL_IDX_PAE_PD_0    3
    1283  /** PAE Page Directory Table 1. */
     1283/** PAE Page Directory Table 1. */
    12841284#define PGMPOOL_IDX_PAE_PD_1    4
    1285  /** PAE Page Directory Table 2. */
     1285/** PAE Page Directory Table 2. */
    12861286#define PGMPOOL_IDX_PAE_PD_2    5
    1287  /** PAE Page Directory Table 3. */
     1287/** PAE Page Directory Table 3. */
    12881288#define PGMPOOL_IDX_PAE_PD_3    6
     1289/** AMD64 Page Directory Table. */
     1290#define PGMPOOL_IDX_AMD64_PD    7
    12891291/** Page Directory Pointer Table (PAE root, not currently used). */
    1290 #define PGMPOOL_IDX_PDPT        7
     1292#define PGMPOOL_IDX_PDPT        8
    12911293/** Page Map Level-4 (64-bit root). */
    1292 #define PGMPOOL_IDX_PML4        8
     1294#define PGMPOOL_IDX_PML4        9
    12931295/** The first normal index. */
    1294 #define PGMPOOL_IDX_FIRST       9
     1296#define PGMPOOL_IDX_FIRST       10
    12951297/** The last valid index. (inclusive, 14 bits) */
    12961298#define PGMPOOL_IDX_LAST        0x3fff
     
    13091311    uint16_t            iNext;
    13101312    /** The user page index. */
    1311     uint16_t            iUser;
     1313    uint32_t            iUser;
    13121314    /** Index into the user table. */
    1313     uint16_t            iUserTable;
     1315    uint32_t            iUserTable;
    13141316} PGMPOOLUSER, *PPGMPOOLUSER;
    13151317typedef const PGMPOOLUSER *PCPGMPOOLUSER;
     
    13691371    /** Shw: 64-bit page directory pointer table;   Gst: 64-bit page directory pointer table. */
    13701372    PGMPOOLKIND_64BIT_PDPT_FOR_64BIT_PDPT,
     1373    /** Shw: 64-bit page directory table;   Gst: 64-bit page directory table. */
     1374    PGMPOOLKIND_64BIT_PD_FOR_64BIT_PD,
    13711375
    13721376    /** Shw: Root 32-bit page directory. */
     
    26232627void           *pgmGCPoolMapPage(PVM pVM, PPGMPOOLPAGE pPage);
    26242628#endif
    2625 int             pgmPoolAlloc(PVM pVM, RTGCPHYS GCPhys, PGMPOOLKIND enmKind, uint16_t iUser, uint16_t iUserTable, PPPGMPOOLPAGE ppPage);
     2629int             pgmPoolAlloc(PVM pVM, RTGCPHYS GCPhys, PGMPOOLKIND enmKind, uint16_t iUser, uint32_t iUserTable, PPPGMPOOLPAGE ppPage);
    26262630PPGMPOOLPAGE    pgmPoolGetPageByHCPhys(PVM pVM, RTHCPHYS HCPhys);
    2627 void            pgmPoolFree(PVM pVM, RTHCPHYS HCPhys, uint16_t iUser, uint16_t iUserTable);
    2628 void            pgmPoolFreeByPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage, uint16_t iUser, uint16_t iUserTable);
     2631void            pgmPoolFree(PVM pVM, RTHCPHYS HCPhys, uint16_t iUser, uint32_t iUserTable);
     2632void            pgmPoolFreeByPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage, uint16_t iUser, uint32_t iUserTable);
    26292633int             pgmPoolFlushPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage);
    26302634void            pgmPoolFlushAll(PVM pVM);
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