VirtualBox

Changeset 73073 in vbox for trunk/include/iprt/x86.h


Ignore:
Timestamp:
Jul 11, 2018 4:19:48 PM (6 years ago)
Author:
vboxsync
Message:

PGM/DBG: Optimize page scanning to speed up 'detect'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/x86.h

    r72131 r73073  
    16971697#define X86_PAGE_4M_BASE_MASK_32            0xffc00000U
    16981698
     1699/** The size of a 1GB page. */
     1700#define X86_PAGE_1G_SIZE                    _1G
     1701/** The page shift of a 1GB page. */
     1702#define X86_PAGE_1G_SHIFT                   30
     1703/** The 1GB page offset mask. */
     1704#define X86_PAGE_1G_OFFSET_MASK             0x3fffffff
     1705/** The 1GB page base mask for virtual addresses. */
     1706#define X86_PAGE_1G_BASE_MASK               UINT64_C(0xffffffffc0000000)
     1707
    16991708/**
    17001709 * Check if the given address is canonical.
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