Changeset 1237 in vbox
- Timestamp:
- Mar 5, 2007 6:04:26 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/MMAll.cpp
r1235 r1237 107 107 108 108 /** @todo fix this properly; the ring 0 pVM address differs from the R3 one. */ 109 if (R0Ptr >= pVM->pVMR0 && R0Ptr <pVM->pVMR0 + sizeof(*pVM))109 if (R0Ptr >= pVM->pVMR0 && (RTR0UINTREG)R0Ptr < (RTR0UINTREG)pVM->pVMR0 + sizeof(*pVM)) 110 110 R3Ptr = (RTR3PTR)((RTR0UINTREG)R0Ptr - (RTR0UINTREG)pVM + (RTR0UINTREG)pVM->pVMR3); 111 111 else
Note:
See TracChangeset
for help on using the changeset viewer.