Changes between Version 1 and Version 2 of kernel_malloc
- Timestamp:
- Dec 7, 2014, 7:25:52 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
kernel_malloc
v1 v2 4 4 5 5 The [source:soft/giet_vm/giet_common/kernel_malloc.c kernel_malloc.c] and [source:soft/giet_vm/giet_common/kernel_malloc.h kernel_malloc.h] files define the functions used by the kernel to dynamically allocate virtual memory from the kernel heaps distributed in each cluster. 6 7 == Distributed heaps ==8 6 9 7 The '''kernel_heap[x][y]''' descriptors array is stored in the kernel_data segment in cluster[0][0]. Each entry [x][y] contains a heap descriptor (kernel_heap_t), defining the current heap state in cluster[x][y].