summaryrefslogtreecommitdiff
path: root/lib/utils/mailbox/mailbox.c
AgeCommit message (Collapse)AuthorFilesLines
2024-12-06lib: utils/mailbox: Add generic mailbox libraryAnup Patel1-0/+138
Add generic mailbox library which is independent of hardware description format. The OpenSBI platform support or mailbox drivers can register mailbox controller instances which can be discovered and used by different mailbox client drivers. Each mailbox controller instance has a unique ID which can be used by mailbox client drivers for find the mailbox controller instance. The mailbox client drivers will typically request a mailbox channel from the mailbox controller and use it to do data transfer with the remote end of mailbox channel. Signed-off-by: Anup Patel <apatel@ventanamicro.com>