From 2d71489222ea834d5c128f4310885216118baf25 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__ */