Changeset 493e405 in rtems for cpukit/score/src/heap.c
- Timestamp:
- 09/12/07 20:11:33 (15 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 98e398cb
- Parents:
- 8393f3a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/score/src/heap.c
r8393f3a r493e405 66 66 * +--------------------------------+ <- end = begin + size 67 67 * 68 * This is what a heap looks like after first allocation of SIZE bytes. 69 * BSIZE stands for SIZE + 4 aligned up on 'page_size' boundary if allocation 70 * has been performed by _Heap_Allocate(). If allocation has been performed 71 * by _Heap_Allocate_aligned(), the block size BSIZE is defined differently 72 * (see 'heapallocatealigned.c' for details). 68 * Below is what a heap looks like after first allocation of SIZE bytes using 69 * _Heap_allocate(). BSIZE stands for SIZE + 4 aligned up on 'page_size' 70 * boundary. 71 * [NOTE: If allocation were performed by _Heap_Allocate_aligned(), the 72 * block size BSIZE is defined differently, and previously free block will 73 * be split so that upper part of it will become used block (see 74 * 'heapallocatealigned.c' for details).] 73 75 * 74 76 * +--------------------------------+ <- begin = starting_address
Note: See TracChangeset
for help on using the changeset viewer.