Changeset 13685 in vbox
- Timestamp:
- Oct 30, 2008 6:59:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/DBGFMem.cpp
r13609 r13685 75 75 else 76 76 { 77 if (78 77 #if GC_ARCH_BITS > 32 79 78 if ( ( pAddress->FlatPtr >= _4G 80 79 || pAddress->FlatPtr + cbRange > _4G) 81 && 82 #endif 83 enmMode != PGMMODE_AMD64 80 && enmMode != PGMMODE_AMD64 84 81 && enmMode != PGMMODE_AMD64_NX) 85 82 return VERR_DBGF_MEM_NOT_FOUND; 83 #endif 86 84 RTGCUINTPTR GCPtrHit; 87 85 rc = PGMR3DbgScanVirtual(pVM, pAddress->FlatPtr, cbRange, pabNeedle, cbNeedle, &GCPtrHit); … … 157 155 else 158 156 { 159 if (160 157 #if GC_ARCH_BITS > 32 161 158 if ( ( pAddress->FlatPtr >= _4G 162 159 || pAddress->FlatPtr + cbRead > _4G) 163 && 164 #endif 165 enmMode != PGMMODE_AMD64 160 && enmMode != PGMMODE_AMD64 166 161 && enmMode != PGMMODE_AMD64_NX) 167 162 return VERR_PAGE_TABLE_NOT_PRESENT; 163 #endif 168 164 rc = PGMPhysSimpleReadGCPtr(pVM, pvBuf, pAddress->FlatPtr, cbRead); 169 165 } … … 226 222 else 227 223 { 228 if (229 224 #if GC_ARCH_BITS > 32 230 225 if ( ( pAddress->FlatPtr >= _4G 231 226 || pAddress->FlatPtr + cchBuf > _4G) 232 && 233 #endif 234 enmMode != PGMMODE_AMD64 227 && enmMode != PGMMODE_AMD64 235 228 && enmMode != PGMMODE_AMD64_NX) 236 229 return VERR_PAGE_TABLE_NOT_PRESENT; 230 #endif 237 231 rc = PGMPhysSimpleReadGCPtr(pVM, pszBuf, pAddress->FlatPtr, cchBuf); 238 232 }
Note:
See TracChangeset
for help on using the changeset viewer.