Changeset e50cd7f in mainline for uspace/drv/ohci/utils/malloc32.h
- Timestamp:
- 2011-04-17T19:17:55Z (14 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/utils/malloc32.h
ref354b6 re50cd7f 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.