lib: Add timer exit API

We add sbi_timer_exit() API for OpenSBI exit path handling in
sbi_exit() implementation.

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:55 +05:30
1 parent 55e191e3b0
commit 6469ed101c
4 files changed
+27 -7

No files matched your search

+2
View File
@@ -205,6 +205,8 @@ void __noreturn sbi_exit(struct sbi_scratch *scratch)
sbi_platform_early_exit(plat);
sbi_timer_exit(scratch);
sbi_platform_final_exit(plat);
sbi_hart_hang();