Skip to content

Conversation

@kv2019i
Copy link
Collaborator

@kv2019i kv2019i commented Sep 18, 2024

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.

Link: #9015

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 <kai.vehmanen@linux.intel.com>
Copy link
Collaborator

@lyakh lyakh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aha, I suppose now it's working because <zephyr/kernel.h> is included by other means where mutexes are used: either directly or indirectly via other headers.

@kv2019i kv2019i merged commit 3d18332 into thesofproject:main Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants