From 6ccfe722bda09ab469d4a9cb2d78666f16955607 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 9 Aug 2012 10:17:42 +0200 Subject: score: Change _Heap_Extend() API The _Heap_Extend() has now the same signature as _Heap_Initialize(). The 4th parameter is ignored (page size in _Heap_Initialize()). Add Heap_Area and Heap_Initialization_or_extend_handler. Add and test _Heap_No_extend(). This helps to do a table based heap initialization and extension. Create a table of Heap_Area elements and iterate through it. Set the handler to _Heap_Initialize() in the first iteration and then to _Heap_Extend(). --- cpukit/score/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/Makefile.am') diff --git a/cpukit/score/Makefile.am b/cpukit/score/Makefile.am index 6f9f94f3bf..d259acb483 100644 --- a/cpukit/score/Makefile.am +++ b/cpukit/score/Makefile.am @@ -178,7 +178,7 @@ endif libscore_a_SOURCES += src/heap.c src/heapallocate.c src/heapextend.c \ src/heapfree.c src/heapsizeofuserarea.c src/heapwalk.c src/heapgetinfo.c \ src/heapgetfreeinfo.c src/heapresizeblock.c src/heapiterate.c \ - src/heapgreedy.c + src/heapgreedy.c src/heapnoextend.c ## OBJECT_C_FILES libscore_a_SOURCES += src/objectallocate.c src/objectclose.c \ -- cgit v1.2.3