summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/malloc.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-06-05 22:59:47 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-06-05 22:59:47 +0000
commite8512eb679aa0d6b72685f25dd6b660912d51371 (patch)
tree11efbbf51cdbadc94ddb848246248690f751116a /cpukit/libcsupport/src/malloc.c
parentchanged release number to 3.2.0 (diff)
downloadrtems-e8512eb679aa0d6b72685f25dd6b660912d51371.tar.bz2
incorporate Tony's patches:
+ c/src/lib/libc/support/generic/malloc.c did not initialize the sbrk amount + _Thread_Handler in c/src/exec/rtems/thread.c left a window during the begin extension which could result in a context switch fixed places which did not correctly distinguish between an CPU_isr and a CPU_isr_entry.
Diffstat (limited to '')
-rw-r--r--cpukit/libcsupport/src/malloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/malloc.c b/cpukit/libcsupport/src/malloc.c
index 7d0ba04143..702e6225ce 100644
--- a/cpukit/libcsupport/src/malloc.c
+++ b/cpukit/libcsupport/src/malloc.c
@@ -62,6 +62,7 @@ void RTEMS_Malloc_Initialize(
*/
starting_address = start;
+ RTEMS_Malloc_Sbrk_amount = sbrk_amount;
if (!starting_address) {
u32_address = (unsigned int)sbrk(length);