lib: utils/mailbox: Add generic mailbox library

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>
This commit is contained in:
Anup Patel authored and Anup Patel committed 2024-12-06 09:26:13 +05:30
1 parent b49d67b70f
commit ad846a7cb8
5 files changed
+339

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#
# SPDX-License-Identifier: BSD-2-Clause
#
# Copyright (c) 2024 Ventana Micro Systems Inc.
#
# Authors:
# Anup Patel <apatel@ventanamicro.com>
#
libsbiutils-objs-$(CONFIG_MAILBOX) += mailbox/mailbox.o