Changeset 64650 in vbox for trunk/include/VBox
- Timestamp:
- Nov 11, 2016 2:55:07 PM (8 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HGSMI/HGSMIMemAlloc.h
r62476 r64650 92 92 { 93 93 HGSMIOFFSET order = HGSMIPopCnt32(cb - 1) - HGSMI_MA_DESC_ORDER_BASE; 94 #ifdef HGSMI_STRICT 94 95 Assert(HGSMIMAOrder2Size(order) == cb); 96 #endif 95 97 return order; 96 98 } -
trunk/include/VBox/VBoxVideoGuest.h
r64185 r64650 52 52 typedef HGSMIHEAP HGSMIGUESTCMDHEAP; 53 53 # define HGSMIGUESTCMDHEAP_GET(_p) (_p) 54 #endif 55 56 #if defined(IN_RING0) && defined(RT_OS_LINUX) 57 # define VBVOAssert(a) do {} while(0) 58 # define VBVOAssertPtr(a) do {} while(0) 59 # define VBVOAssertReturnVoid(a) if (!(a)) return 60 # define VBVOAssertRC(a) do {} while(0) 61 # define VBVOAssertPtrNullReturnVoid(a) do {} while(0) 62 # define VBVOAssertPtrReturnVoid(a) if (!(a)) return 63 #else 64 # define VBVOAssert Assert 65 # define VBVOAssertPtr AssertPtr 66 # define VBVOAssertReturnVoid AssertReturnVoid 67 # define VBVOAssertRC AssertRC 68 # define VBVOAssertPtrNullReturnVoid AssertPtrNullReturnVoid 69 # define VBVOAssertPtrReturnVoid AssertPtrReturnVoid 54 70 #endif 55 71
Note:
See TracChangeset
for help on using the changeset viewer.