Changeset 2b50d7c in mainline for src/mm/heap.c
- Timestamp:
- 2005-05-28T20:13:25Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 747a2476
- Parents:
- 87cb9e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mm/heap.c
r87cb9e2 r2b50d7c 43 43 static spinlock_t heaplock; 44 44 45 void heap_init(__address heap, __u32size)45 void heap_init(__address heap, size_t size) 46 46 { 47 47 spinlock_initialize(&heaplock); … … 63 63 64 64 if (size == 0) 65 panic(" malloc:zero-size allocation request");65 panic("zero-size allocation request"); 66 66 67 67 x = chunk0;
Note:
See TracChangeset
for help on using the changeset viewer.