From 3d18332bb136a4b6da3d733f3ee770d633d15126 Mon Sep 17 00:00:00 2001 From: Kai Vehmanen Date: Wed, 18 Sep 2024 14:51:14 +0300 Subject: [PATCH] zephyr: add rtos/mutex.h The RTOS layer should provide the same interface for all OS'es. Currently rtos/mutex.h is only defined for XTOS. Add rtos/mutex.h also for Zephyr to allow generic SOF code to use this interface. Signed-off-by: Kai Vehmanen --- zephyr/include/rtos/mutex.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 zephyr/include/rtos/mutex.h diff --git a/zephyr/include/rtos/mutex.h b/zephyr/include/rtos/mutex.h new file mode 100644 index 000000000000..9f26c7a86d75 --- /dev/null +++ b/zephyr/include/rtos/mutex.h @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: BSD-3-Clause +// +// Copyright(c) 2024 Intel Corporation. +// + +#ifndef __ZEPHYR_RTOS_MUTEX_H__ +#define __ZEPHYR_RTOS_MUTEX_H__ + +#include /* k_mutex_*() */ + +#endif /* __ZEPHYR_RTOS_MUTEX_H__ */