Changeset 14597 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Nov 25, 2008 8:41:40 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 39897
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/MMAll.cpp
r13832 r14597 219 219 if (pLookup->u.Locked.pvR0) 220 220 return (RTR0PTR)((RTR0UINTPTR)pLookup->u.Locked.pvR0 + off); 221 /** @todo #1865: accessing ring-3 memory (LOCKED)! */ 221 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE /** @todo make NIL_RTR0PTR default! */ 222 return NIL_RTR0PTR; 223 #else 222 224 return (RTR0PTR)((RTR3UINTPTR)pLookup->u.Locked.pvR3 + off); 225 #endif 226 223 227 case MMLOOKUPHYPERTYPE_HCPHYS: 224 /** @todo #1865: accessing ring-3 memory (HCPHYS)! */ 225 return (RTR0PTR)((RTR3UINTPTR)pLookup->u.HCPhys.pvR3 + off); 228 if (pLookup->u.HCPhys.pvR0) 229 return (RTR0PTR)((RTR0UINTPTR)pLookup->u.HCPhys.pvR0 + off); 230 return NIL_RTR0PTR; 226 231 default: 227 232 AssertMsgFailed(("enmType=%d\n", pLookup->enmType));
Note:
See TracChangeset
for help on using the changeset viewer.