diff options
author | Atish Patra <atish.patra@wdc.com> | 2020-02-11 17:32:39 -0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-02-24 18:13:23 +0530 |
commit | e3f69fc1e934ce7815d9cde2d13dd2038a2894a6 (patch) | |
tree | 12a3d9846f29bcda30c622efa2368d70d51752f3 /include/sbi/sbi_ecall.h | |
parent | 5b4824082ff8826f77d6bc670e16068d0744ff7f (diff) |
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.h | 1 |
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); |