Skip to content

Commit

Permalink
idc: zephyr_idc: implement idc_send_msg for non-multicore platforms
Browse files Browse the repository at this point in the history
Ensure idc_send_msg() is implemented for all platforms linking
zephyr_idc. For non-multicore, idc_send_msg() will return -ENOTSUP
error.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
  • Loading branch information
kv2019i committed Apr 15, 2024
1 parent 2cfc85e commit 0b6c014
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/idc/zephyr_idc.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ void idc_init_thread(void)
{
}

int idc_send_msg(struct idc_msg *msg, uint32_t mode)
{
return -ENOTSUP;
}

#else

K_P4WQ_ARRAY_DEFINE(q_zephyr_idc, CONFIG_CORE_COUNT, SOF_STACK_SIZE,
Expand Down

0 comments on commit 0b6c014

Please sign in to comment.