2 Copyright © 2002-2009, Chris Hodges. All rights reserved.
3 Copyright © 2009-2012, The AROS Development Team. All rights reserved.
7 #ifndef BUFFER_PROTOS_H
8 #define BUFFER_PROTOS_H
10 #include <exec/types.h>
12 #if (__WORDSIZE == 64)
14 APTR
usbGetBuffer(APTR data
, ULONG len
, UWORD dir
);
15 void usbReleaseBuffer(APTR buffer
, APTR data
, ULONG len
, UWORD dir
);
19 /* On 32-bit systems we don't need mirroring */
21 #define usbGetBuffer(data, len, dir) ({ (void)(len); (void)(dir); (data);})
22 #define usbReleaseBuffer(buffer, data, len, dir) \
23 do { (void)(buffer); (void)(data); (void)(len); (void)(dir); } while (0)
27 #endif /* BUFFER_PROTOS_H */