Changeset 30615 in vbox for trunk/src/VBox/VMM/VMMAll/PGMAllGst.h
- Timestamp:
- Jul 5, 2010 1:03:59 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 63343
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllGst.h
r30368 r30615 59 59 #elif PGM_GST_TYPE == PGM_TYPE_32BIT || PGM_GST_TYPE == PGM_TYPE_PAE || PGM_GST_TYPE == PGM_TYPE_AMD64 60 60 61 # if PGM_GST_MODE != PGM_MODE_AMD6461 # if PGM_GST_TYPE != PGM_MODE_AMD64 62 62 /* Boundary check. */ 63 63 if (GCPtr >= _4G) 64 return VERR_ INVALID_ADDRESS;64 return VERR_PAGE_TABLE_NOT_PRESENT; 65 65 # endif 66 66 … … 181 181 Assert((cb & PAGE_OFFSET_MASK) == 0); 182 182 183 # if PGM_GST_MODE != PGM_MODE_AMD64183 # if PGM_GST_TYPE != PGM_MODE_AMD64 184 184 /* Boundary check. */ 185 185 if (GCPtr >= _4G) 186 return VERR_ INVALID_ADDRESS;186 return VERR_PAGE_TABLE_NOT_PRESENT; 187 187 # endif 188 188 … … 292 292 || PGM_GST_TYPE == PGM_TYPE_AMD64 293 293 294 # if PGM_GST_MODE != PGM_MODE_AMD64294 # if PGM_GST_TYPE != PGM_MODE_AMD64 295 295 /* Boundary check. */ 296 296 if (GCPtr >= _4G) 297 return VERR_ INVALID_ADDRESS;297 return VERR_PAGE_TABLE_NOT_PRESENT; 298 298 # endif 299 299 … … 338 338 339 339 RTGCPTR GCPtr = pCur->Core.Key; 340 #if PGM_GST_ MODE != PGM_MODE_AMD64340 #if PGM_GST_TYPE != PGM_MODE_AMD64 341 341 /* skip all stuff above 4GB if not AMD64 mode. */ 342 if (GCPtr >= _4G B)342 if (GCPtr >= _4G) 343 343 return 0; 344 344 #endif
Note:
See TracChangeset
for help on using the changeset viewer.