Ignore:
File:
1 edited

Legend:

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

    rfd153d3 r7786cea  
    4141#include <as.h>
    4242
     43#define UHCI_STRCUTURES_ALIGNMENT 16
    4344#define UHCI_REQUIRED_PAGE_SIZE 4096
    4445
     
    6465 */
    6566static inline void * malloc32(size_t size)
    66         { return memalign(size, size); }
     67        { return memalign(UHCI_STRCUTURES_ALIGNMENT, size); }
    6768/*----------------------------------------------------------------------------*/
    6869/** Physical mallocator simulator
Note: See TracChangeset for help on using the changeset viewer.