Changeset 2aaf804 in mainline for uspace/drv/uhci-hcd/utils/malloc32.h
- Timestamp:
- 2011-05-17T10:14:50Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5f94a0c
- Parents:
- 5e6e50b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/utils/malloc32.h
r5e6e50b r2aaf804 74 74 if (size <= SLAB_ELEMENT_SIZE) 75 75 return slab_malloc_g(); 76 assert(false); 76 usb_log_warning("Requested %zu bytes, current allocator can't handle " 77 "that amount, pray that the standard malloc will suffice."); 77 78 return memalign(UHCI_STRCUTURES_ALIGNMENT, size); 78 79 }
Note:
See TracChangeset
for help on using the changeset viewer.