Skip to content

Conversation

@kv2019i
Copy link
Collaborator

@kv2019i kv2019i commented Oct 9, 2024

The SOF mailbox.h provides an interface to host-DSP mailboxes, which is used widely in SOF IPC and debug code.

This interface is OS agnostistic and only relies on platform/lib/mailbox.h to define the mailbox locations, and rtos/cache.h to define portable cache primitives to invalidate/writeback mailbox data before/after use.

The amount of RTOS variation does not seem to warrant branching the whole mailbox.h to RTOS layer. Move mailbox.h back to application interface, so the single implementation can be shared.

Link: #9015

The SOF mailbox.h provides an interface to host-DSP mailboxes, which is
used widely in SOF IPC and debug code.

This interface is OS agnostistic and only relies on platform/lib/mailbox.h
to define the mailbox locations, and rtos/cache.h to define portable cache
primitives to invalidate/writeback mailbox data before/after use.

The amount of RTOS variation does not seem to warrant branching the
whole mailbox.h to RTOS layer. Move mailbox.h back to application
interface, so the single implementation can be shared.

Link: thesofproject#9015
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
@lgirdwood
Copy link
Member

SOFCI TEST

@lgirdwood lgirdwood merged commit cb7358e into thesofproject:main Oct 16, 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.

5 participants