Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zephyr: add rtos/mutex.h #9488

Merged
merged 1 commit into from
Sep 19, 2024

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 <[email protected]>
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
43 of 47 checks passed
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