summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-01-03 06:19:23 +0300
committerAnup Patel <anup.patel@wdc.com>2020-01-07 09:40:35 +0300
commitc3e406f1609af8f14e93419aa6722e646a8f4f56 (patch)
tree4eb54d27eac89ff77138dbba888181d1c182ef71 /include
parente746673a796d7e176ceeb56d160779be8386ffd9 (diff)
downloadopensbi-c3e406f1609af8f14e93419aa6722e646a8f4f56.tar.xz
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>
Diffstat (limited to 'include')
-rw-r--r--include/sbi/sbi_init.h2
1 files changed, 2 insertions, 0 deletions
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