Skip to content

Commit

Permalink
zephyr: add rtos/mutex.h
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
kv2019i committed Sep 18, 2024
1 parent 48193f8 commit 2d71489
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions zephyr/include/rtos/mutex.h
Original file line number Diff line number Diff line change
@@ -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 <zephyr/kernel.h> /* k_mutex_*() */

#endif /* __ZEPHYR_RTOS_MUTEX_H__ */

0 comments on commit 2d71489

Please sign in to comment.