Changeset e50cd7f in mainline for uspace/drv/ohci/utils/malloc32.h


Ignore:
Timestamp:
2011-04-17T19:17:55Z (14 years ago)
Author:
Matej Klonfar <maklf@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
63517c2, cfbbe1d3
Parents:
ef354b6 (diff), 8595577b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

new report structure fixes

File:
1 edited

Legend:

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

    ref354b6 re50cd7f  
    3737#include <assert.h>
    3838#include <malloc.h>
     39#include <errno.h>
    3940#include <mem.h>
    4041#include <as.h>
    4142
    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(UHCI_STRCUTURES_ALIGNMENT, size); }
     66        { return memalign(size, size); }
    6767/*----------------------------------------------------------------------------*/
    6868/** Physical mallocator simulator
Note: See TracChangeset for help on using the changeset viewer.