aboutsummaryrefslogtreecommitdiff
path: root/product/sgm775
diff options
context:
space:
mode:
authorChris Kay <chris.kay@arm.com>2020-06-16 12:58:15 +0100
committerjimqui01 <54316584+jimqui01@users.noreply.github.com>2020-08-28 13:45:54 +0100
commit353db20a4fe49cb92f9ffbe0d80fa2b91069153a (patch)
tree44ffc07836ae7ec793fcc212040aecb207981ed0 /product/sgm775
parentcfd6207742de555c81a23392767c13d796b8b966 (diff)
fwk: Use standard library memory allocator
This commit replaces the framework memory allocator with the system memory allocator. This change helps the compiler make better decisions around optimization, enables more accurate static analysis, and allows us to better move the framework across target platforms. In addition to this, the memory allocator now supports freeing allocated memory, enabling a fully dynamic system. Change-Id: Ifa129f23d429f04cea76cd5c1f49001031c50cb4 Signed-off-by: Chris Kay <chris.kay@arm.com>
Diffstat (limited to 'product/sgm775')
-rw-r--r--product/sgm775/scp_ramfw/rtx_config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/product/sgm775/scp_ramfw/rtx_config.c b/product/sgm775/scp_ramfw/rtx_config.c
index 752ba402..75273716 100644
--- a/product/sgm775/scp_ramfw/rtx_config.c
+++ b/product/sgm775/scp_ramfw/rtx_config.c
@@ -94,5 +94,7 @@ void *osRtxMemoryAlloc(void *mem, uint32_t size, uint32_t type)
uint32_t osRtxMemoryFree(void *mem, void *block)
{
+ fwk_mm_free(block);
+
return 1;
}