VirtualBox

Changeset 15403 in vbox for trunk/include/VBox/pgm.h


Ignore:
Timestamp:
Dec 12, 2008 10:42:57 PM (16 years ago)
Author:
vboxsync
Message:

pgm.h: PGMMODE_IS_LONG_MODE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pgm.h

    r15344 r15403  
    268268
    269269/** Macro for checking if the guest is using paging.
    270  * @param uType     PGMMODE_*
     270 * @param enmMode   PGMMODE_*.
    271271 * @remark  ASSUMES certain order of the PGMMODE_* values.
    272272 */
    273273#define PGMMODE_WITH_PAGING(enmMode) ((enmMode) >= PGMMODE_32_BIT)
     274
     275/** Macro for checking if it's one of the long mode modes.
     276 * @param enmMode   PGMMODE_*.
     277 */
     278#define PGMMODE_IS_LONG_MODE(enmMode) ((enmMode) == PGMMODE_AMD64_NX || (enmMode) == PGMMODE_AMD64)
    274279
    275280/**
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