summaryrefslogtreecommitdiff
path: root/include/sbi/sbi_ecall.h
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2020-02-12 04:32:39 +0300
committerAnup Patel <anup@brainfault.org>2020-02-24 15:43:23 +0300
commite3f69fc1e934ce7815d9cde2d13dd2038a2894a6 (patch)
tree12a3d9846f29bcda30c622efa2368d70d51752f3 /include/sbi/sbi_ecall.h
parent5b4824082ff8826f77d6bc670e16068d0744ff7f (diff)
downloadopensbi-e3f69fc1e934ce7815d9cde2d13dd2038a2894a6.tar.xz
lib: Implement Hart State Management (HSM) SBI extension
This patch adds support HSM extension. The specification is available at https://github.com/riscv/riscv-sbi-doc. It allows to implement hart hotplug and fixed ordered hart booting in supervisor. Signed-off-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'include/sbi/sbi_ecall.h')
-rw-r--r--include/sbi/sbi_ecall.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sbi/sbi_ecall.h b/include/sbi/sbi_ecall.h
index 2a3500f..1b56496 100644
--- a/include/sbi/sbi_ecall.h
+++ b/include/sbi/sbi_ecall.h
@@ -39,6 +39,7 @@ extern struct sbi_ecall_extension ecall_time;
extern struct sbi_ecall_extension ecall_rfence;
extern struct sbi_ecall_extension ecall_ipi;
extern struct sbi_ecall_extension ecall_vendor;
+extern struct sbi_ecall_extension ecall_hsm;
u16 sbi_ecall_version_major(void);