lib: Implement Hart State Management (HSM) SBI extension
authorAtish Patra <atish.patra@wdc.com>
Wed, 12 Feb 2020 01:32:39 +0000 (17:32 -0800)
committerAnup Patel <anup@brainfault.org>
Mon, 24 Feb 2020 12:43:23 +0000 (18:13 +0530)
commite3f69fc1e934ce7815d9cde2d13dd2038a2894a6
tree12a3d9846f29bcda30c622efa2368d70d51752f3
parent5b4824082ff8826f77d6bc670e16068d0744ff7f
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>
include/sbi/sbi_ecall.h
include/sbi/sbi_ecall_interface.h
lib/sbi/objects.mk
lib/sbi/sbi_ecall.c
lib/sbi/sbi_ecall_hsm.c [new file with mode: 0644]