VirtualBox

Changeset 36199 in vbox


Ignore:
Timestamp:
Mar 8, 2011 8:43:32 AM (14 years ago)
Author:
vboxsync
Message:

Additions/common/HGCMInternal: added an assertion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/HGCMInternal.cpp

    r36193 r36199  
    400400                    if (VBGLR0_CAN_USE_PHYS_PAGE_LIST())
    401401                    {
     402                        Assert(cb == RT_ALIGN_Z(cb, PAGE_SIZE));
    402403                        size_t const cPages = RTR0MemObjSize(hObj) >> PAGE_SHIFT;
    403404                        *pcbExtra += RT_OFFSETOF(HGCMPageListInfo, aPages[cPages]);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette