summaryrefslogtreecommitdiff
path: root/lib/sbi/objects.mk
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-09-18 14:37:49 +0300
committerAnup Patel <anup@brainfault.org>2020-10-20 08:52:15 +0300
commitb1678af210dc4b4e6d586d6d96617e9641618994 (patch)
tree05bd3bb3d4e823978c426acf06e428425d035535 /lib/sbi/objects.mk
parent8b650050ecb61da143ee18fc150dd95ac5b0eca1 (diff)
downloadopensbi-b1678af210dc4b4e6d586d6d96617e9641618994.tar.xz
lib: sbi: Add initial domain support
An OpenSBI domain is a logical entity representing a set of HARTs and a set of memory regions for these HARTs. The OpenSBI domains support will allow OpenSBI platforms and previous booting stage (i.e. U-Boot SPL, Coreboot, etc) to partition a system into multiple domains where each domain will run it's own software. For inter-domain isolation, OpenSBI will eventually use various HW features such as PMP, ePMP, IOPMP, SiFive shield, etc but initial implementation only use HW PMP support. This patch provides initial implementation of OpenSBI domains where we have a root/default domain and OpenSBI platforms can provide non-root/custom domains using domain_get() callback. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'lib/sbi/objects.mk')
-rw-r--r--lib/sbi/objects.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sbi/objects.mk b/lib/sbi/objects.mk
index fa808a0..6f2c06f 100644
--- a/lib/sbi/objects.mk
+++ b/lib/sbi/objects.mk
@@ -15,6 +15,7 @@ libsbi-objs-y += riscv_locks.o
libsbi-objs-y += sbi_bitmap.o
libsbi-objs-y += sbi_bitops.o
libsbi-objs-y += sbi_console.o
+libsbi-objs-y += sbi_domain.o
libsbi-objs-y += sbi_ecall.o
libsbi-objs-y += sbi_ecall_base.o
libsbi-objs-y += sbi_ecall_hsm.o