aboutsummaryrefslogtreecommitdiff
path: root/lib/sbi/objects.mk
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2021-07-10 09:18:13 -0700
committerAnup Patel <anup@brainfault.org>2021-07-11 10:38:02 +0530
commit37f9b0f2f265b2f312d974fb8d100b85b3faf94f (patch)
tree914b0a37f87f7fe6a8bee2f248019bfa15012055 /lib/sbi/objects.mk
parentae72ec091508196e29c07ae46bca106373d31e39 (diff)
lib: sbi: Implement SBI PMU extension
RISC-V SBI specfication 0.3 defines a PMU extension that allows supervisor mode to start/stop/configure pmu related events. This patch implements all of the functionality defined in the specification. Reviewed-by: Anup Patel <anup.patel@wdc.com> Signed-off-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 d9068b7..7096f24 100644
--- a/lib/sbi/objects.mk
+++ b/lib/sbi/objects.mk
@@ -20,6 +20,7 @@ libsbi-objs-y += sbi_ecall.o
libsbi-objs-y += sbi_ecall_base.o
libsbi-objs-y += sbi_ecall_hsm.o
libsbi-objs-y += sbi_ecall_legacy.o
+libsbi-objs-y += sbi_ecall_pmu.o
libsbi-objs-y += sbi_ecall_replace.o
libsbi-objs-y += sbi_ecall_vendor.o
libsbi-objs-y += sbi_emulate_csr.o