VirtualBox

Changeset 92292 in vbox for trunk/include


Ignore:
Timestamp:
Nov 9, 2021 1:44:24 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
148138
Message:

VMM/gmm.h: Corrected the GMM_PAGEID_LAST constant, it was way too low. bugref:10093

File:
1 edited

Legend:

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

    r92248 r92292  
    8989/** The last valid Chunk ID value. */
    9090#define GMM_CHUNKID_LAST                (GMM_PAGEID_LAST >> GMM_CHUNKID_SHIFT)
    91 /** The last valid Page ID value.
    92  * The current limit is 2^28 - 1, or almost 1TB if you like.
    93  * The constraints are currently dictated by PGMPAGE. */
    94 #define GMM_PAGEID_LAST                 (RT_BIT_32(28) - 1)
     91/** The last valid Page ID value. */
     92#define GMM_PAGEID_LAST                 UINT32_C(0xfffffff0)
    9593/** Mask out the page index from the Page ID. */
    9694#define GMM_PAGEID_IDX_MASK             ((1U << GMM_CHUNKID_SHIFT) - 1)
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