lib: Add initial sbi_exit() API

This patch adds initial implementation of sbi_exit() API which
can be used to perform OpenSBI exit sequence for current HART.

The sbi_exit() implementation will be further extended by
subsequent patches.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
This commit is contained in:
Anup Patel committed 2020-01-07 12:10:35 +05:30
1 parent e746673a79
commit c3e406f160
2 files changed
+24

No files matched your search

+2
View File
@@ -16,4 +16,6 @@ struct sbi_scratch;
void __noreturn sbi_init(struct sbi_scratch *scratch);
void __noreturn sbi_exit(struct sbi_scratch *scratch);
#endif