From c3e406f1609af8f14e93419aa6722e646a8f4f56 Mon Sep 17 00:00:00 2001 From: Anup Patel Date: Fri, 3 Jan 2020 08:49:23 +0530 Subject: 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 Reviewed-by: Atish Patra --- include/sbi/sbi_init.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/sbi/sbi_init.h b/include/sbi/sbi_init.h index 033286f..c976276 100644 --- a/include/sbi/sbi_init.h +++ b/include/sbi/sbi_init.h @@ -16,4 +16,6 @@ struct sbi_scratch; void __noreturn sbi_init(struct sbi_scratch *scratch); +void __noreturn sbi_exit(struct sbi_scratch *scratch); + #endif -- cgit v1.2.3