diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-07 19:39:25 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-07 19:39:25 +0000 |
commit | 5ae327bcf7998573c437fafbc0c298c252c7eec1 (patch) | |
tree | 553bbfadcf4d4ac41e893ff29c2716a45f3cc591 /cpukit/score/src/heap.c | |
parent | 2007-09-07 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-5ae327bcf7998573c437fafbc0c298c252c7eec1.tar.bz2 |
2007-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/heap.c: Style.
* score/src/heapwalk.c: Add more information to prints.
* score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
is disabled.
Diffstat (limited to 'cpukit/score/src/heap.c')
-rw-r--r-- | cpukit/score/src/heap.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/score/src/heap.c b/cpukit/score/src/heap.c index ccfb405fb7..5273678d1a 100644 --- a/cpukit/score/src/heap.c +++ b/cpukit/score/src/heap.c @@ -117,14 +117,14 @@ uint32_t _Heap_Initialize( uint32_t page_size ) { - Heap_Block *the_block; - uint32_t the_size; - _H_uptr_t start; - _H_uptr_t aligned_start; - uint32_t overhead; + Heap_Block *the_block; + uint32_t the_size; + _H_uptr_t start; + _H_uptr_t aligned_start; + uint32_t overhead; Heap_Statistics *const stats = &the_heap->stats; - if(page_size == 0) + if (page_size == 0) page_size = CPU_ALIGNMENT; else _Heap_Align_up( &page_size, CPU_ALIGNMENT ); |