Changeset 15111 in vbox
- Timestamp:
- Dec 8, 2008 2:47:56 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/MMAll.cpp
r14600 r15111 52 52 case MMLOOKUPHYPERTYPE_LOCKED: 53 53 { 54 const uint32_toff = (RTR3UINTPTR)R3Ptr - (RTR3UINTPTR)pLookup->u.Locked.pvR3;54 const RTR3UINTPTR off = (RTR3UINTPTR)R3Ptr - (RTR3UINTPTR)pLookup->u.Locked.pvR3; 55 55 if (off < pLookup->cb) 56 56 { … … 63 63 case MMLOOKUPHYPERTYPE_HCPHYS: 64 64 { 65 const uint32_toff = (RTR3UINTPTR)R3Ptr - (RTR3UINTPTR)pLookup->u.HCPhys.pvR3;65 const RTR3UINTPTR off = (RTR3UINTPTR)R3Ptr - (RTR3UINTPTR)pLookup->u.HCPhys.pvR3; 66 66 if (off < pLookup->cb) 67 67 { … … 114 114 case MMLOOKUPHYPERTYPE_LOCKED: 115 115 { 116 const uint32_t off = (RTR3UINTPTR)R0Ptr - (RTR0UINTPTR)pLookup->u.Locked.pvR0;116 const RTR0UINTPTR off = (RTR0UINTPTR)R0Ptr - (RTR0UINTPTR)pLookup->u.Locked.pvR0; 117 117 if (off < pLookup->cb && pLookup->u.Locked.pvR0) 118 118 { … … 125 125 case MMLOOKUPHYPERTYPE_HCPHYS: 126 126 { 127 const uint32_toff = (RTR0UINTPTR)R0Ptr - (RTR0UINTPTR)pLookup->u.HCPhys.pvR0;127 const RTR0UINTPTR off = (RTR0UINTPTR)R0Ptr - (RTR0UINTPTR)pLookup->u.HCPhys.pvR0; 128 128 if (off < pLookup->cb && pLookup->u.HCPhys.pvR0) 129 129 {
Note:
See TracChangeset
for help on using the changeset viewer.