From cb7358ea79b9a760ba227b9e3a1ea52a61fd9792 Mon Sep 17 00:00:00 2001 From: Kai Vehmanen Date: Wed, 9 Oct 2024 17:08:35 +0300 Subject: [PATCH] xtos: move sof/lib/mailbox.h to application interface 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: https://github.com/thesofproject/sof/issues/9015 Signed-off-by: Kai Vehmanen --- {xtos => src}/include/sof/lib/mailbox.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {xtos => src}/include/sof/lib/mailbox.h (100%) diff --git a/xtos/include/sof/lib/mailbox.h b/src/include/sof/lib/mailbox.h similarity index 100% rename from xtos/include/sof/lib/mailbox.h rename to src/include/sof/lib/mailbox.h