Skip to content

Commit e5ca01c

Browse files
committed
module: memory: partition out memory APIs from generic.c
Move all the module memory APIs into common and heap specific files with no other changes. This is to enable easier abstraction and partitioning around memory for modules and userspace going forward. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
1 parent e00764e commit e5ca01c

11 files changed

Lines changed: 589 additions & 524 deletions

File tree

src/audio/module_adapter/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# SPDX-License-Identifier: BSD-3-Clause
22

33
if(CONFIG_IPC_MAJOR_3)
4-
add_local_sources(sof module_adapter.c module_adapter_ipc3.c module/generic.c)
4+
add_local_sources(sof module_adapter.c module_adapter_ipc3.c module/generic.c
5+
module/memory-common.c module/memory-heap.c)
56
elseif(CONFIG_IPC_MAJOR_4)
6-
add_local_sources(sof module_adapter.c module_adapter_ipc4.c module/generic.c)
7+
add_local_sources(sof module_adapter.c module_adapter_ipc4.c module/generic.c
8+
module/memory-common.c module/memory-heap.c)
79
endif()
810

911
is_zephyr(zephyr)

0 commit comments

Comments
 (0)