Commit b7a2156
committed
rtos/mutex.h: add wrappers for Zephyr sys/mutex.h interface
To enable use of Zephyr sys/mutex.h interface in SOF audio pipeline
code, add a rtos/mutex.h wrapper for this. In Zephyr build, the native
Zephyr interface is used and in posix builds (e.g. testbench), a no-op
implementation is provided (similarly that already exists for k_mutex).
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>1 parent 5cf6f9c commit b7a2156
2 files changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
43 | 65 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
0 commit comments