- Timestamp:
- Oct 2, 2008 8:52:44 AM (16 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGM.cpp
r12901 r12902 2626 2626 DECLINLINE(unsigned) pgmModeDataIndex(unsigned uShwType, unsigned uGstType) 2627 2627 { 2628 Assert(uShwType >= PGM_TYPE_32BIT && uShwType <= PGM_TYPE_ EPT);2628 Assert(uShwType >= PGM_TYPE_32BIT && uShwType <= PGM_TYPE_MAX); 2629 2629 Assert(uGstType >= PGM_TYPE_REAL && uGstType <= PGM_TYPE_AMD64); 2630 2630 return (uShwType - PGM_TYPE_32BIT) * (PGM_TYPE_AMD64 - PGM_TYPE_REAL + 1) … … 2654 2654 DECLINLINE(unsigned) pgmModeDataMaxIndex(void) 2655 2655 { 2656 return pgmModeDataIndex(PGM_TYPE_ NESTED, PGM_TYPE_AMD64) + 1;2656 return pgmModeDataIndex(PGM_TYPE_MAX, PGM_TYPE_AMD64) + 1; 2657 2657 } 2658 2658 -
trunk/src/VBox/VMM/PGMInternal.h
r12692 r12902 193 193 #define PGM_TYPE_NESTED 6 194 194 #define PGM_TYPE_EPT 7 195 #define PGM_TYPE_MAX PGM_TYPE_EPT 195 196 /** @} */ 196 197
Note:
See TracChangeset
for help on using the changeset viewer.