Changeset 13502 in vbox
- Timestamp:
- Oct 22, 2008 3:52:53 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 38327
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/DBGFMem.cpp
r13146 r13502 75 75 else 76 76 { 77 if ( ( pAddress->FlatPtr >= _4G 78 || pAddress->FlatPtr + cbRange > _4G) 79 && enmMode != PGMMODE_AMD64 80 && enmMode != PGMMODE_AMD64_NX) 81 return VERR_DBGF_MEM_NOT_FOUND; 77 82 RTGCUINTPTR GCPtrHit; 78 83 rc = PGMR3DbgScanVirtual(pVM, pAddress->FlatPtr, cbRange, pabNeedle, cbNeedle, &GCPtrHit); … … 147 152 rc = PGMPhysSimpleReadGCPhys(pVM, pvBuf, pAddress->FlatPtr, cbRead); 148 153 else 154 { 155 if ( ( pAddress->FlatPtr >= _4G 156 || pAddress->FlatPtr + cbRead > _4G) 157 && enmMode != PGMMODE_AMD64 158 && enmMode != PGMMODE_AMD64_NX) 159 return VERR_PAGE_TABLE_NOT_PRESENT; 149 160 rc = PGMPhysSimpleReadGCPtr(pVM, pvBuf, pAddress->FlatPtr, cbRead); 161 } 150 162 return rc; 151 163 } … … 205 217 rc = PGMPhysSimpleReadGCPhys(pVM, pszBuf, pAddress->FlatPtr, cchBuf); 206 218 else 219 { 220 if ( ( pAddress->FlatPtr >= _4G 221 || pAddress->FlatPtr + cchBuf > _4G) 222 && enmMode != PGMMODE_AMD64 223 && enmMode != PGMMODE_AMD64_NX) 224 return VERR_PAGE_TABLE_NOT_PRESENT; 207 225 rc = PGMPhysSimpleReadGCPtr(pVM, pszBuf, pAddress->FlatPtr, cchBuf); 226 } 208 227 209 228 /*
Note:
See TracChangeset
for help on using the changeset viewer.