From f2185d109930fb5db31a5c228a3f46178072f270 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 30 Sep 2020 11:31:58 +0200 Subject: Decouple the C Program Heap initialization Before this patch RTEMS_Malloc_Initialize() had a fixed dependency on _Workspace_Area. Introduce _Workspace_Malloc_initializer to have this dependency only if CONFIGURE_UNIFIED_WORK_AREAS is defined by the application configuration. --- spec/build/cpukit/librtemscpu.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'spec/build/cpukit/librtemscpu.yml') diff --git a/spec/build/cpukit/librtemscpu.yml b/spec/build/cpukit/librtemscpu.yml index 21dc239b1b..2322e33996 100644 --- a/spec/build/cpukit/librtemscpu.yml +++ b/spec/build/cpukit/librtemscpu.yml @@ -669,6 +669,7 @@ source: - cpukit/libcsupport/src/mallocextenddefault.c - cpukit/libcsupport/src/mallocfreespace.c - cpukit/libcsupport/src/mallocgetheapptr.c +- cpukit/libcsupport/src/mallocheap.c - cpukit/libcsupport/src/mallocinfo.c - cpukit/libcsupport/src/malloc_initialize.c - cpukit/libcsupport/src/_malloc_r.c @@ -1575,6 +1576,8 @@ source: - cpukit/score/src/watchdogtimeslicedefault.c - cpukit/score/src/wkspace.c - cpukit/score/src/wkspaceisunifieddefault.c +- cpukit/score/src/wkspacemallocinitdefault.c +- cpukit/score/src/wkspacemallocinitunified.c - cpukit/score/src/wkstringduplicate.c target: rtemscpu type: build -- cgit v1.2.3