Changeset 01656f2 in mainline for uspace/drv/uhci/utils/malloc32.h


Ignore:
Timestamp:
2011-01-28T19:06:28Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3da5eb9
Parents:
0535ee4
Message:

Fixed: use 16 byte alignment (see UHCI spec)

File:
1 edited

Legend:

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

    r0535ee4 r01656f2  
    5353static inline void * malloc32(size_t size)
    5454/* TODO: this is ugly */
    55         { return memalign(size, 128); }
     55        { return memalign(size, 16); }
    5656
    5757static inline void * get_page()
Note: See TracChangeset for help on using the changeset viewer.