VirtualBox

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


Ignore:
Timestamp:
Mar 20, 2013 11:13:27 AM (12 years ago)
Author:
vboxsync
Message:

PGMPool: Eliminated fictive page (except NIL). #6367

File:
1 edited

Legend:

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

    r45024 r45103  
    19451945/** NIL page pool IDX. */
    19461946#define NIL_PGMPOOL_IDX                 0
    1947 /** The first normal index. */
    1948 #define PGMPOOL_IDX_FIRST_SPECIAL       1
    1949 /** Page directory (32-bit root). */
    1950 #define PGMPOOL_IDX_PD                  1
    1951 /** Page Directory Pointer Table (PAE root). */
    1952 #define PGMPOOL_IDX_PDPT                2
    1953 /** AMD64 CR3 level index.*/
    1954 #define PGMPOOL_IDX_AMD64_CR3           3
    1955 /** Nested paging root.*/
    1956 #define PGMPOOL_IDX_NESTED_ROOT         4
    1957 /** The first normal index. */
    1958 #define PGMPOOL_IDX_FIRST               5
     1947/** The first normal index.  There used to be 5 fictive pages up front, now
     1948 * there is only the NIL page. */
     1949#define PGMPOOL_IDX_FIRST               1
    19591950/** The last valid index. (inclusive, 14 bits) */
    19601951#define PGMPOOL_IDX_LAST                0x3fff
     
    37503741    /** Pointer to the page of the current active CR3 - RC Ptr. */
    37513742    RCPTRTYPE(PPGMPOOLPAGE)         pShwPageCR3RC;
    3752     /** The shadow page pool index of the user table as specified during
    3753      * allocation; useful for freeing root pages. */
    3754     uint32_t                        iShwUser;
    3755     /** The index into the user table (shadowed) as specified during allocation;
    3756      * useful for freeing root pages. */
    3757     uint32_t                        iShwUserTable;
    37583743# if HC_ARCH_BITS == 64
    37593744    RTRCPTR                         alignment6; /**< structure size alignment. */
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