Changes in uspace/drv/bus/usb/ohci/utils/malloc32.h [f8dfb40:5357620] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/utils/malloc32.h
rf8dfb40 r5357620 41 41 #include <as.h> 42 42 43 /* Generic TDs and EDs require 16byte alignment,44 * Isochronous TD require 32byte alignment,45 * buffers do not have to be aligned.46 */47 #define OHCI_ALIGN 3248 49 43 /** Get physical address translation 50 44 * … … 68 62 */ 69 63 static inline void * malloc32(size_t size) 70 { return memalign( OHCI_ALIGN, size); }64 { return memalign(size, size); } 71 65 /*----------------------------------------------------------------------------*/ 72 66 /** Physical mallocator simulator
Note:
See TracChangeset
for help on using the changeset viewer.