Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ moving code, follow it:

* **Place code in the right tier.** OS/HAL/boot/inter-core → a kernel-only directory
(`kernel/`, which is built into the `sof_kernel` library, and the directories not yet
moved there: `arch/`, `drivers/`, `platform/`, `trace/`); audio
moved there: `arch/`, `platform/`, `trace/`); audio
application logic → `audio/`; reusable pure code → a shared-library directory (`lib/`,
`math/`, `module/`) kept free of privileged operations. Each top-level directory's
`README.md` states its tier in a "Runs in:" banner — keep it accurate.
Expand Down
8 changes: 5 additions & 3 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,17 @@ src/platform/mtk/** @yaochunhung @kuanhsuncheng

# drivers
src/drivers/intel/dmic.c @singalsu
src/drivers/imx/** @dbaluta
src/drivers/amd/* @bhiregoudar @sunilkumardommati
src/drivers/mediatek/** @yaochunhung @kuanhsuncheng
src/kernel/drivers/imx/** @dbaluta
src/kernel/drivers/amd/* @bhiregoudar @sunilkumardommati
src/kernel/drivers/mediatek/** @yaochunhung @kuanhsuncheng

# other libs
src/math/* @singalsu
src/ipc/* @bardliao @tmleman @pblaszko
src/kernel/ipc/** @bardliao @tmleman @pblaszko
# src/lib/* TODO
src/schedule @pblaszko @marcinszkudlinski @dbaluta @LaurentiuM1234
src/kernel/schedule @pblaszko @marcinszkudlinski @dbaluta @LaurentiuM1234

# samples
samples/audio/detect_test.c @iganakov
Expand Down
4 changes: 2 additions & 2 deletions scripts/fuzz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ EOFHELP

# To test this test, make the following change locally:
: <<EOF_TEST_PATCH
--- a/src/ipc/ipc3/handler.c
+++ b/src/ipc/ipc3/handler.c
--- a/src/kernel/ipc/ipc3/handler.c
+++ b/src/kernel/ipc/ipc3/handler.c
@@ -1609,6 +1609,8 @@ void ipc_boot_complete_msg(struct ipc_cmd_hdr *header, uint32_t data)

void ipc_cmd(struct ipc_cmd_hdr *_hdr)
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if(CONFIG_SAMPLES)
add_subdirectory(samples)
endif()

add_subdirectory(drivers)
add_subdirectory(kernel)

if (CONFIG_TRACE)
add_subdirectory(trace)
Expand Down
2 changes: 0 additions & 2 deletions src/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ rsource "arch/Kconfig"

rsource "platform/Kconfig"

rsource "drivers/Kconfig"

rsource "audio/Kconfig"

rsource "trace/Kconfig"
Expand Down
3 changes: 2 additions & 1 deletion src/audio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ modules in user context.

When adding a component here, keep it inside the application tier: allocate through the module
allocation syscalls (`mod_*`), mark any globals shared with the kernel using the partition
markers, and never call kernel-only subsystems (`drivers/`, `platform/`, `kernel/idc/`) directly.
markers, and never call kernel-only subsystems (`kernel/drivers/`, `platform/`, `kernel/idc/`)
directly.
6 changes: 3 additions & 3 deletions src/audio/dai-zephyr.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ static int dai_trigger_op(struct dai *dai, int cmd, int direction)
return dai_trigger(dev, direction, zephyr_cmd);
}

/* called from src/ipc/ipc3/handler.c and src/ipc/ipc4/dai.c */
/* called from src/kernel/ipc/ipc3/handler.c and src/ipc/ipc4/dai.c */
__cold int dai_set_config(struct dai *dai, struct ipc_config_dai *common_config,
const void *spec_config, size_t size)
{
Expand Down Expand Up @@ -275,7 +275,7 @@ int dai_get_properties_safe(struct dai *dai, int direction,
return ret;
}

/* called from ipc/ipc3/dai.c */
/* called from kernel/ipc/ipc3/dai.c */
int dai_get_handshake(struct dai *dai, int direction, int stream_id)
{
struct dai_properties props;
Expand All @@ -288,7 +288,7 @@ int dai_get_handshake(struct dai *dai, int direction, int stream_id)
return props.dma_hs_id;
}

/* called from ipc/ipc3/dai.c and ipc/ipc4/dai.c */
/* called from kernel/ipc/ipc3/dai.c and ipc/ipc4/dai.c */
int dai_get_fifo_depth(struct dai *dai, int direction)
{
struct dai_properties props;
Expand Down
4 changes: 2 additions & 2 deletions src/include/sof/userspace/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ its subdirectories span all tiers.

| Tier | Meaning | Directories |
|------|---------|-------------|
| **Kernel-only** | OS integration, HAL, boot, inter-core. Never executes in a user thread. Must not be reached directly from user code — only via a syscall. | `kernel/` (see [its README](../../../kernel/README.md)), `arch/`, `drivers/`, `platform/`, `trace/` * |
| **Kernel-only** | OS integration, HAL, boot, inter-core. Never executes in a user thread. Must not be reached directly from user code — only via a syscall. | `kernel/` (see [its README](../../../kernel/README.md)), `arch/`, `platform/`, `trace/` * |
| **Boundary / bridge** | Owns the syscalls and the thread / memory-domain setup. Split internally: some translation units run kernel-side, some user-side (e.g. `handler-kernel.c` vs `handler-user.c`). | `schedule/`, `ipc/`, `debug/debug_stream/` *, and (in the Zephyr integration tree) `zephyr/syscall/` |
| **Application** | Audio pipeline / component logic that runs in user threads under userspace configs. | `audio/` |
| **Shared library** | Context-agnostic code linked into whichever context calls it. Must stay "user-safe": no privileged operations (no direct MMIO, no spinlocks held across syscalls, no raw kernel object access) so it is safe when pulled into a user build. | `math/`, `module/` |
Expand Down Expand Up @@ -116,7 +116,7 @@ syscall by subsystem:

| Subsystem | Syscalls | Declared in | Validator (`z_vrfy_`) / logic (`z_impl_`) |
|-----------|----------|-------------|-------------------------------------------|
| IPC | `ipc_msg_send`, `ipc_msg_list_remove`, `ipc_msg_reply`, `ipc_compound_pre_start`, `ipc_compound_post_start`, `ipc_wait_for_compound_msg`, `send_resource_notif` | `sof/ipc/msg.h`, `sof/ipc/ipc_reply.h`, `ipc4/handler.h`, `ipc4/notification.h` | scattered: `ipc/ipc-common.c`, `ipc/ipc3/helper.c`, `ipc/ipc4/handler-kernel.c`, `ipc/ipc4/notification.c` |
| IPC | `ipc_msg_send`, `ipc_msg_list_remove`, `ipc_msg_reply`, `ipc_compound_pre_start`, `ipc_compound_post_start`, `ipc_wait_for_compound_msg`, `send_resource_notif` | `sof/ipc/msg.h`, `sof/ipc/ipc_reply.h`, `ipc4/handler.h`, `ipc4/notification.h` | scattered: `ipc/ipc-common.c`, `kernel/ipc/ipc3/helper.c`, `kernel/ipc/ipc4/handler-kernel.c`, `kernel/ipc/ipc4/notification.c` |
| Heap alloc | `sof_heap_alloc`, `sof_heap_free` | `rtos/alloc.h` | `zephyr/syscall/alloc.c` / `zephyr/lib/alloc.c` |
| Virtual regions | `vregion_create_map`, `vregion_set_interim`, `vregion_get`, `vregion_put`, `vregion_alloc_align`, `vregion_alloc_coherent_align`, `vregion_free` | `sof/lib/vregion.h` | `zephyr/syscall/vregion.c` / `zephyr/lib/vregion.c` |
| DMA | `sof_dma_get`, `sof_dma_put`, `sof_dma_get_attribute`, `sof_dma_request_channel`, `sof_dma_release_channel`, `sof_dma_config`, `sof_dma_start`, `sof_dma_stop`, `sof_dma_get_status`, `sof_dma_reload`, `sof_dma_suspend`, `sof_dma_resume` | `sof/lib/sof_dma.h` | `zephyr/syscall/sof_dma.c` / `lib/dma.c` (get/put); remaining 10 are `static inline z_impl_*` in `sof/lib/sof_dma.h` |
Expand Down
7 changes: 2 additions & 5 deletions src/ipc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
# SPDX-License-Identifier: BSD-3-Clause

if (CONFIG_IPC_MAJOR_3)
add_subdirectory(ipc3)
elseif (CONFIG_IPC_MAJOR_4)
add_subdirectory(ipc4)
if (CONFIG_IPC_MAJOR_4)
add_subdirectory(ipc4)
endif()

# Common to Zephyr and XTOS
add_local_sources(sof
ipc-common.c
ipc-helper.c
notification_pool.c
)

is_zephyr(zephyr)
Expand Down
5 changes: 3 additions & 2 deletions src/ipc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

> **Runs in:** Boundary / bridge — the kernel receives and dispatches IPC, then forwards
> module-facing commands to a user thread. The split is visible in the file names
> (`ipc4/handler-kernel.c` vs `ipc4/handler-user.c`, `ipc4/notification-user.c`), and this
> subsystem hosts the `ipc_msg_*`, `ipc_compound_*` and `send_resource_notif` syscalls. See
> (`src/kernel/ipc/ipc4/handler-kernel.c` vs `ipc4/handler-user.c`,
> `ipc4/notification-user.c`), and this subsystem hosts the `ipc_msg_*`, `ipc_compound_*` and
> `send_resource_notif` syscalls. See
> [User/kernel split](../include/sof/userspace/README.md).

This directory contains the common foundation for all Inter-Processor Communication (IPC) within the Sound Open Firmware (SOF) project. It bridges the gap between hardware mailbox interrupts and the version-specific (IPC3/IPC4) message handlers.
Expand Down
3 changes: 0 additions & 3 deletions src/ipc/ipc4/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
# Files common to Zephyr and XTOS
add_local_sources(sof
handler-user.c
handler-kernel.c
helper.c
logging.c
notification.c
notification-user.c
)

Expand Down
7 changes: 4 additions & 3 deletions src/ipc/ipc4/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# IPC4 Architecture

> **Runs in:** Boundary / bridge — `handler-kernel.c` runs in the kernel dispatcher;
> `handler-user.c` and `notification-user.c` run in the user thread that services modules. The
> `z_vrfy_`/`z_impl_` pairs for the compound-message and reply syscalls live here. See
> **Runs in:** Boundary / bridge — `handler-user.c` and `notification-user.c` run in the user
> thread that services modules. Their kernel counterparts, `handler-kernel.c` (the kernel
> dispatcher) and `notification.c`, are in `src/kernel/ipc/ipc4`, together with the
> `z_vrfy_`/`z_impl_` pairs for the compound-message, reply and notification syscalls. See
> [User/kernel split](../../include/sof/userspace/README.md).

This directory holds the handlers and topology parsing logic for Inter-Processor Communication Version 4. IPC4 introduces a significantly denser, compound-command structure heavily based around the concept of "pipelines" and dynamic "modules" rather than static DSP stream roles.
Expand Down
23 changes: 15 additions & 8 deletions src/kernel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,28 @@

# Code that only runs in kernel mode, see scripts/kernel_user_partition.txt.

# Zephyr adds this directory from zephyr/CMakeLists.txt, the host builds
# (testbench, host library) from src/CMakeLists.txt.

is_zephyr(zephyr)
if(zephyr)
# Build everything below into the sof_kernel library created in
# zephyr/CMakeLists.txt instead of modules_sof. This only sets the
# variable for this directory and its subdirectories.
set(ZEPHYR_CURRENT_LIBRARY sof_kernel)

# Only built for Zephyr
add_subdirectory(audio)
add_subdirectory(debug)
add_subdirectory(idc)
add_subdirectory(init)
add_subdirectory(library_manager)
add_subdirectory(logging)
add_subdirectory(probe)
add_subdirectory(schedule)
endif()

add_subdirectory(audio)
add_subdirectory(debug)
add_subdirectory(idc)
add_subdirectory(init)
# Built for Zephyr and for the host
add_subdirectory(drivers)
add_subdirectory(ipc)
add_subdirectory(lib)
add_subdirectory(library_manager)
add_subdirectory(logging)
add_subdirectory(probe)
add_subdirectory(schedule)
2 changes: 2 additions & 0 deletions src/kernel/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

rsource "debug/telemetry/Kconfig"

rsource "drivers/Kconfig"

rsource "idc/Kconfig"

rsource "library_manager/Kconfig"
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/drivers/README.md → src/kernel/drivers/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Device Drivers (`src/drivers`)
# Device Drivers (`src/kernel/drivers`)

> **Runs in:** Kernel-only — hardware/HAL access runs in supervisor context and is never
> executed from a user thread. User-space audio code reaches driver functionality only through
> SOF syscalls (e.g. the `sof_dma_*` and `dai_get_device` calls). See
> [User/kernel split](../include/sof/userspace/README.md).
> [User/kernel split](../../include/sof/userspace/README.md).

This directory contains low-level device drivers and hardware abstraction. Because it touches
MMIO, interrupts and other privileged resources, nothing here is mapped into a user memory
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions src/kernel/ipc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# SPDX-License-Identifier: BSD-3-Clause

if (CONFIG_IPC_MAJOR_3)
add_subdirectory(ipc3)
elseif (CONFIG_IPC_MAJOR_4)
add_subdirectory(ipc4)
endif()

# Files common to Zephyr and the host library
add_local_sources(sof notification_pool.c)

is_zephyr(zephyr)
if(zephyr)
if (CONFIG_SOC_SERIES_INTEL_CAVS_V25 OR CONFIG_SOC_SERIES_INTEL_ADSP_ACE)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ LOG_MODULE_DECLARE(ipc, CONFIG_SOF_LOG_LEVEL);
/*
* Size in bytes of the DSP-side buffer that receives the compressed host page
* table. DSP targets define PLATFORM_PAGE_TABLE_SIZE; the host/library builds
* (e.g. testbench, fuzzer) allocate it as HOST_PAGE_SIZE in drivers/host/ipc.c
* (e.g. testbench, fuzzer) allocate it as HOST_PAGE_SIZE in kernel/drivers/host/ipc.c
* and do not define PLATFORM_PAGE_TABLE_SIZE, so fall back to that.
*/
#ifndef PLATFORM_PAGE_TABLE_SIZE
Expand Down
8 changes: 8 additions & 0 deletions src/kernel/ipc/ipc4/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# SPDX-License-Identifier: BSD-3-Clause

# Files common to Zephyr and the host library
add_local_sources(sof
handler-kernel.c
logging.c
notification.c
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions src/kernel/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# SPDX-License-Identifier: BSD-3-Clause

if(CONFIG_LIBRARY)
add_local_sources(sof agent.c)
return()
endif()

if(CONFIG_HAVE_AGENT)
add_local_sources(sof agent.c)
endif()

if(CONFIG_AMS)
add_local_sources(sof ams.c)
endif()
Expand Down
File renamed without changes.
5 changes: 0 additions & 5 deletions src/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,11 @@ set(common_files notifier.c dma.c dai.c objpool.c)
if(CONFIG_LIBRARY)
add_local_sources(sof
lib.c
agent.c
${common_files}
)
return()
endif()

if(CONFIG_HAVE_AGENT)
add_local_sources(sof agent.c)
endif()

is_zephyr(zephyr)
if(zephyr) ### Zephyr ###

Expand Down
4 changes: 2 additions & 2 deletions src/lib/dai.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ static void dai_set_device_params(struct dai *d)
}
}

/* called from ipc/ipc3/handler.c and some platform.c files */
/* called from kernel/ipc/ipc3/handler.c and some platform.c files */
__cold struct dai *dai_get(uint32_t type, uint32_t index, uint32_t flags)
{
const struct device *dev;
Expand Down Expand Up @@ -381,7 +381,7 @@ __cold struct dai *dai_get(uint32_t type, uint32_t index, uint32_t flags)
return d;
}

/* called from src/ipc/ipc3/handler.c */
/* called from src/kernel/ipc/ipc3/handler.c */
__cold void dai_put(struct dai *dai)
{
int ret;
Expand Down
2 changes: 1 addition & 1 deletion src/platform/posix/ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ static void fuzz_isr(const void *arg)
// The harness also mirrors the framed message into MAILBOX_HOSTBOX so
// that handlers reading payload directly from the hostbox region
// (large_config_set/get, set_dx, set_pipeline_state, vendor_config and
// friends in ipc4/handler-user.c and ipc4/handler-kernel.c) observe
// friends in ipc4/handler-user.c and kernel/ipc/ipc4/handler-kernel.c) observe
// the fuzz bytes rather than stale or zero-filled memory.
//
// The two IPC majors split header and payload differently:
Expand Down
8 changes: 4 additions & 4 deletions test/cmocka/src/audio/buffer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ cmocka_test(buffer_copy
${PROJECT_SOURCE_DIR}/src/module/audio/source_api.c
${PROJECT_SOURCE_DIR}/src/module/audio/sink_api.c

${PROJECT_SOURCE_DIR}/src/ipc/ipc3/helper.c
${PROJECT_SOURCE_DIR}/src/kernel/ipc/ipc3/helper.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc-common.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc-helper.c
${PROJECT_SOURCE_DIR}/src/audio/pipeline/pipeline-graph.c
Expand All @@ -36,7 +36,7 @@ cmocka_test(buffer_new
${PROJECT_SOURCE_DIR}/src/audio/audio_stream.c
${PROJECT_SOURCE_DIR}/src/module/audio/source_api.c
${PROJECT_SOURCE_DIR}/src/module/audio/sink_api.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc3/helper.c
${PROJECT_SOURCE_DIR}/src/kernel/ipc/ipc3/helper.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc-common.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc-helper.c
${PROJECT_SOURCE_DIR}/src/audio/pipeline/pipeline-graph.c
Expand All @@ -60,7 +60,7 @@ cmocka_test(buffer_wrap
${PROJECT_SOURCE_DIR}/src/audio/audio_stream.c
${PROJECT_SOURCE_DIR}/src/module/audio/source_api.c
${PROJECT_SOURCE_DIR}/src/module/audio/sink_api.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc3/helper.c
${PROJECT_SOURCE_DIR}/src/kernel/ipc/ipc3/helper.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc-common.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc-helper.c
${PROJECT_SOURCE_DIR}/src/audio/pipeline/pipeline-graph.c
Expand All @@ -84,7 +84,7 @@ cmocka_test(buffer_write
${PROJECT_SOURCE_DIR}/src/audio/audio_stream.c
${PROJECT_SOURCE_DIR}/src/module/audio/source_api.c
${PROJECT_SOURCE_DIR}/src/module/audio/sink_api.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc3/helper.c
${PROJECT_SOURCE_DIR}/src/kernel/ipc/ipc3/helper.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc-common.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc-helper.c
${PROJECT_SOURCE_DIR}/src/audio/pipeline/pipeline-graph.c
Expand Down
2 changes: 1 addition & 1 deletion test/cmocka/src/audio/component/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cmocka_test(comp_set_state
${PROJECT_SOURCE_DIR}/src/math/numbers.c
${PROJECT_SOURCE_DIR}/src/audio/component.c
${PROJECT_SOURCE_DIR}/src/audio/data_blob.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc3/helper.c
${PROJECT_SOURCE_DIR}/src/kernel/ipc/ipc3/helper.c
${PROJECT_SOURCE_DIR}/test/cmocka/src/notifier_mocks.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc-common.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc-helper.c
Expand Down
2 changes: 1 addition & 1 deletion test/cmocka/src/audio/dcblock/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ add_library(audio_for_dcblock STATIC
${PROJECT_SOURCE_DIR}/src/audio/data_blob.c
${PROJECT_SOURCE_DIR}/src/module/audio/source_api.c
${PROJECT_SOURCE_DIR}/src/module/audio/sink_api.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc3/helper.c
${PROJECT_SOURCE_DIR}/src/kernel/ipc/ipc3/helper.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc-common.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc-helper.c
${PROJECT_SOURCE_DIR}/src/lib/objpool.c
Expand Down
2 changes: 1 addition & 1 deletion test/cmocka/src/audio/eq_fir/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ add_library(audio_for_eq_fir STATIC
${PROJECT_SOURCE_DIR}/src/audio/data_blob.c
${PROJECT_SOURCE_DIR}/src/module/audio/source_api.c
${PROJECT_SOURCE_DIR}/src/module/audio/sink_api.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc3/helper.c
${PROJECT_SOURCE_DIR}/src/kernel/ipc/ipc3/helper.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc-common.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc-helper.c
${PROJECT_SOURCE_DIR}/src/lib/objpool.c
Expand Down
2 changes: 1 addition & 1 deletion test/cmocka/src/audio/eq_iir/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ add_library(audio_for_eq_iir STATIC
${PROJECT_SOURCE_DIR}/src/audio/data_blob.c
${PROJECT_SOURCE_DIR}/src/module/audio/source_api.c
${PROJECT_SOURCE_DIR}/src/module/audio/sink_api.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc3/helper.c
${PROJECT_SOURCE_DIR}/src/kernel/ipc/ipc3/helper.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc-common.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc-helper.c
${PROJECT_SOURCE_DIR}/src/lib/objpool.c
Expand Down
2 changes: 1 addition & 1 deletion test/cmocka/src/audio/mixer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cmocka_test(mixer
${PROJECT_SOURCE_DIR}/src/audio/mixer/mixer.c
${PROJECT_SOURCE_DIR}/src/audio/mixer/mixer_generic.c
${PROJECT_SOURCE_DIR}/src/audio/mixer/mixer_hifi3.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc3/helper.c
${PROJECT_SOURCE_DIR}/src/kernel/ipc/ipc3/helper.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc-common.c
${PROJECT_SOURCE_DIR}/src/ipc/ipc-helper.c
${PROJECT_SOURCE_DIR}/src/lib/objpool.c
Expand Down
Loading
Loading