Changes in uspace/drv/ohci/utils/malloc32.h [9078de8f:fd153d3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/utils/malloc32.h
r9078de8f rfd153d3 37 37 #include <assert.h> 38 38 #include <malloc.h> 39 #include <errno.h> 39 40 #include <mem.h> 40 41 #include <as.h> 41 42 42 #define UHCI_STRCUTURES_ALIGNMENT 1643 43 #define UHCI_REQUIRED_PAGE_SIZE 4096 44 44 … … 64 64 */ 65 65 static inline void * malloc32(size_t size) 66 { return memalign( UHCI_STRCUTURES_ALIGNMENT, size); }66 { return memalign(size, size); } 67 67 /*----------------------------------------------------------------------------*/ 68 68 /** Physical mallocator simulator
Note:
See TracChangeset
for help on using the changeset viewer.