mirror of https://github.com/thesofproject/sof.git
b2909e976d
This is a weak stub for the Cadence libc's allocator (which is just a newlib build). It's traditionally been provided like this in SOF for the benefit of C++ code where the standard library needs to link to a working malloc() even if it will never call it. Longer term this should be integrated as a working allocator, either unified with the one here or in the Zephyr libc layer. Zephyr already provides a newlib-compatible _sbrk_r(), we just have to tell it to use it when linking against Cadence libc. Signed-off-by: Andy Ross <andyross@google.com> |
||
---|---|---|
.. | ||
alloc.c | ||
clk.c | ||
cpu.c | ||
dma.c | ||
pm_runtime.c | ||
regions_mm.c |