Changeset 1562 in vbox
- Timestamp:
- Mar 19, 2007 7:13:44 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VMMDev/VMMDevHGCM.cpp
r1561 r1562 281 281 { 282 282 cLinPtrs++; 283 cLinPtrPages += (pGuestParm->u.Pointer.size + PAGE_SIZE - 1) / PAGE_SIZE; 283 /* Take the offset into the current page also into account! */ 284 cLinPtrPages += ((pGuestParm->u.Pointer.u.linearAddr & PAGE_OFFSET_MASK) 285 + pGuestParm->u.Pointer.size + PAGE_SIZE - 1) / PAGE_SIZE; 284 286 } 285 287
Note:
See TracChangeset
for help on using the changeset viewer.