Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/ohci/utils/malloc32.h

    rfd153d3 r9078de8f  
    3737#include <assert.h>
    3838#include <malloc.h>
    39 #include <errno.h>
    4039#include <mem.h>
    4140#include <as.h>
    4241
     42#define UHCI_STRCUTURES_ALIGNMENT 16
    4343#define UHCI_REQUIRED_PAGE_SIZE 4096
    4444
     
    6464 */
    6565static inline void * malloc32(size_t size)
    66         { return memalign(size, size); }
     66        { return memalign(UHCI_STRCUTURES_ALIGNMENT, size); }
    6767/*----------------------------------------------------------------------------*/
    6868/** Physical mallocator simulator
Note: See TracChangeset for help on using the changeset viewer.