Changeset 36934 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 3, 2011 1:45:05 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 71521
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/PGMInternal.h
r36933 r36934 1109 1109 * @param a_pPage Pointer to the physical guest page tracking structure. 1110 1110 */ 1111 #ifdef PGMPAGE_USE_MORE_BITFIELDS 1112 #define PGM_PAGE_GET_HNDL_PHYS_STATE(a_pPage) ( (a_pPage)->u1.bit.u2HandlerPhysStateY ) 1113 #else 1111 1114 #define PGM_PAGE_GET_HNDL_PHYS_STATE(a_pPage) ( (a_pPage)->u1.au8[0] ) 1115 #endif 1112 1116 1113 1117 /** … … 1116 1120 * @param a_uState The new state value. 1117 1121 */ 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 1118 1126 #define PGM_PAGE_SET_HNDL_PHYS_STATE(a_pPage, a_uState) \ 1119 1127 do { (a_pPage)->u1.au8[0] = (a_uState); } while (0) 1128 #endif 1120 1129 1121 1130 /**
Note:
See TracChangeset
for help on using the changeset viewer.