VirtualBox

Changeset 36934 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
May 3, 2011 1:45:05 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71521
Message:

PGMPAGE: Yet more.

File:
1 edited

Legend:

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

    r36933 r36934  
    11091109 * @param   a_pPage     Pointer to the physical guest page tracking structure.
    11101110 */
     1111#ifdef PGMPAGE_USE_MORE_BITFIELDS
     1112#define PGM_PAGE_GET_HNDL_PHYS_STATE(a_pPage)   ( (a_pPage)->u1.bit.u2HandlerPhysStateY )
     1113#else
    11111114#define PGM_PAGE_GET_HNDL_PHYS_STATE(a_pPage)   ( (a_pPage)->u1.au8[0] )
     1115#endif
    11121116
    11131117/**
     
    11161120 * @param   a_uState    The new state value.
    11171121 */
     1122#ifdef PGMPAGE_USE_MORE_BITFIELDS
     1123#define PGM_PAGE_SET_HNDL_PHYS_STATE(a_pPage, a_uState) \
     1124    do { (a_pPage)->u1.bit.u2HandlerPhysStateY = (a_uState); } while (0)
     1125#else
    11181126#define PGM_PAGE_SET_HNDL_PHYS_STATE(a_pPage, a_uState) \
    11191127    do { (a_pPage)->u1.au8[0] = (a_uState); } while (0)
     1128#endif
    11201129
    11211130/**
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