Runs in: User-space safe — headers only. The platform code is kernel code, in
src/kernel/platform. See User/kernel split.
This directory holds the parts of the platform headers that user-space code may include. It
has the same layout as src/kernel/platform, and both are on the include path, so the
headers keep their include names.
Today it has the mailbox and the ACE status logger interface:
platform/lib/mailbox.h, and for Intelace/lib/mailbox.handcavs/lib/mailbox.h: the mailbox window addresses and the software register accessors, used throughsof/lib/mailbox.h. The software register page and the host box (IPC4) or the stream window (IPC3) are mapped into the user-space LL and IPC threads, seeuser_access_to_mailbox().platform/lib/mailbox_layout.h: the layout of the host memory windows. The platform memory map insrc/kernel/platform, which user-space code must not include, includes it.auth/intel_status_logger_iface.h(ACE): the status logger callback types, which the authentication API structures insof/auth_api_iface.huse.
The AMD and MediaTek mailbox headers are still in src/kernel/platform.