mirror of https://github.com/thesofproject/sof.git
43124daf39
Shared memory shouldn't be connected with any cpu core, because in general such an resource may be shared between any number of arbitrary chosen cores. Connecting it with with core 0 heap, leads to unbalanced heap usage between core 0 and secondary cores. Moreover operations like alloc and free may be called from two different cores, what's not possible in current implementation. Such an situation is especially possibly during handling resources describing hardware components, eg. DAI or DMA, from two different cores. Moving shared memory management to dedicated heap, allows to easily use another memory region, what may be needed to fulfill platform specific demands. Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com> |
||
---|---|---|
.. | ||
mock_memory.h | ||
test_group_generator.h | ||
test_simple_macro.h |