Changeset 17286 in vbox
- Timestamp:
- Mar 3, 2009 2:44:11 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
include/VBox/mm.h (modified) (1 diff)
-
src/VBox/VMM/PGMInternal.h (modified) (1 diff)
-
src/VBox/VMM/VMMAll/PGMAllPool.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/mm.h
r17285 r17286 86 86 #define MM_RAM_FLAGS_DYNAMIC_ALLOC RT_BIT(11) 87 87 88 /** The (shifted) cRef value used to indiciate that the idx is the head of a89 * physical cross reference extent list. */90 #define MM_RAM_FLAGS_CREFS_PHYSEXT 0x391 88 /** The shift used to get the page pool idx. (Apply MM_RAM_FLAGS_IDX_MASK to the result when shifting down). */ 92 89 #define MM_RAM_FLAGS_IDX_SHIFT 48 93 90 /** The mask applied to the the page pool idx after using MM_RAM_FLAGS_IDX_SHIFT to shift it down. */ 94 91 #define MM_RAM_FLAGS_IDX_MASK 0x3fff 95 /** The idx value when we're out of of extents or there are simply too many mappings of this page. */96 #define MM_RAM_FLAGS_IDX_OVERFLOWED MM_RAM_FLAGS_IDX_MASK97 92 /** @} */ 98 93 -
trunk/src/VBox/VMM/PGMInternal.h
r17285 r17286 1978 1978 # error "MM_RAM_FLAGS_IDX_SHIFT - 48 != PGMPOOL_TD_IDX_SHIFT" 1979 1979 # endif 1980 #endif 1981 #ifdef MM_RAM_FLAGS_IDX_MASK 1980 1982 # if MM_RAM_FLAGS_IDX_MASK != PGMPOOL_TD_IDX_MASK 1981 1983 # error "MM_RAM_FLAGS_IDX_MASK != PGMPOOL_TD_IDX_MASK" 1982 # endif1983 # if MM_RAM_FLAGS_IDX_OVERFLOWED != PGMPOOL_TD_IDX_OVERFLOWED1984 # error "MM_RAM_FLAGS_IDX_OVERFLOWED != PGMPOOL_TD_IDX_OVERFLOWED"1985 1984 # endif 1986 1985 #endif -
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r17285 r17286 3428 3428 } 3429 3429 else 3430 u16 = PGMPOOL_TD_MAKE(PGMPOOL_TD_CREFS_PHYSEXT, MM_RAM_FLAGS_IDX_OVERFLOWED);3431 } 3432 else if (u16 != PGMPOOL_TD_MAKE(PGMPOOL_TD_CREFS_PHYSEXT, MM_RAM_FLAGS_IDX_OVERFLOWED))3430 u16 = PGMPOOL_TD_MAKE(PGMPOOL_TD_CREFS_PHYSEXT, PGMPOOL_TD_IDX_OVERFLOWED); 3431 } 3432 else if (u16 != PGMPOOL_TD_MAKE(PGMPOOL_TD_CREFS_PHYSEXT, PGMPOOL_TD_IDX_OVERFLOWED)) 3433 3433 { 3434 3434 /*
Note:
See TracChangeset
for help on using the changeset viewer.

