Changeset 18716 in vbox for trunk/src/VBox
- Timestamp:
- Apr 5, 2009 12:09:45 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
r18666 r18716 19 19 * additional information or have any questions. 20 20 */ 21 22 /*******************************************************************************23 * Defined Constants And Macros *24 *******************************************************************************/25 /** @def PGM_IGNORE_RAM_FLAGS_RESERVED26 * Don't respect the MM_RAM_FLAGS_RESERVED flag when converting to HC addresses.27 *28 * Since this flag is currently incorrectly kept set for ROM regions we will29 * have to ignore it for now so we don't break stuff.30 *31 * @todo this has been fixed now I believe, remove this hack.32 */33 #define PGM_IGNORE_RAM_FLAGS_RESERVED34 35 21 36 22 /******************************************************************************* … … 195 181 if (RT_FAILURE(rc)) 196 182 return rc; 197 198 #ifndef PGM_IGNORE_RAM_FLAGS_RESERVED199 if (RT_UNLIKELY(pPage->HCPhys & MM_RAM_FLAGS_RESERVED)) /** @todo PAGE FLAGS */200 return VERR_PGM_PHYS_PAGE_RESERVED;201 #endif202 183 203 184 *pHCPhys = PGM_PAGE_GET_HCPHYS(pPage) | (GCPhys & PAGE_OFFSET_MASK);
Note:
See TracChangeset
for help on using the changeset viewer.