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
2020-01-03 09:18:42 +05:30
parent 55e191e3b0
commit 6469ed101c
4 changed files with 27 additions and 7 deletions

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();