VirtualBox

Changeset 64650 in vbox for trunk/include/VBox/HGSMI


Ignore:
Timestamp:
Nov 11, 2016 2:55:07 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
111891
Message:

bugref:8614: Additions/common/VBoxVideo: make the code more self-contained: my last attempt at removing all assertions from debug versions of the Linux video driver was not correct: I missed some places, and forgot that LINUX_VERSION_CODE is only defined when Linux headers are included. Hopefully fix that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HGSMI/HGSMIMemAlloc.h

    r62476 r64650  
    9292{
    9393    HGSMIOFFSET order = HGSMIPopCnt32(cb - 1) - HGSMI_MA_DESC_ORDER_BASE;
     94#ifdef HGSMI_STRICT
    9495    Assert(HGSMIMAOrder2Size(order) == cb);
     96#endif
    9597    return order;
    9698}
Note: See TracChangeset for help on using the changeset viewer.

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