zephyr: move Zephyr IDC implementation to zephyr_idc.c

SOF uses IDC (Intra DSP Communication) protocol to orchestrate
work across multiple DSP cores.

The interface in sof/drivers/idc.h defines the protocol and
also provides a high-level interface for drivers. On Zephyr,
the SOF IDC protocol is used, but the actual communication
is implemented on top of Zephyr P4WQ workqueue interface,
instead of directly calling into drivers.

Move the Zephyr implementation from src/schedule/ into
src/idc/ which is more suitable place for this code.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
This commit is contained in:
Kai Vehmanen 2022-05-04 16:17:46 +03:00 committed by Liam Girdwood
parent 1e9dd8cc7d
commit 9c9ad34464
2 changed files with 1 additions and 1 deletions

View File

@ -518,7 +518,7 @@ zephyr_library_sources(
${SOF_SRC_PATH}/schedule/schedule.c
${SOF_SRC_PATH}/schedule/dma_single_chan_domain.c
${SOF_SRC_PATH}/schedule/dma_multi_chan_domain.c
${SOF_SRC_PATH}/schedule/zephyr.c
${SOF_SRC_PATH}/idc/zephyr_idc.c
# Bridge wrapper between SOF and Zephyr APIs - Will shrink over time.
wrapper.c