diff options
| author | Anup Patel <anup.patel@wdc.com> | 2020-01-03 09:51:58 +0530 |
|---|---|---|
| committer | Anup Patel <anup.patel@wdc.com> | 2020-01-07 12:11:19 +0530 |
| commit | 1993182f032b71a4d16e39bff12c142dd25dd67e (patch) | |
| tree | 7735c259ea79e56d2d2e7a9dc27d7a88349ae909 /lib | |
| parent | b325f6baefeafcee169e5f8a529882fdc0f47dc5 (diff) | |
| download | opensbi-1993182f032b71a4d16e39bff12c142dd25dd67e.zip opensbi-1993182f032b71a4d16e39bff12c142dd25dd67e.tar.gz opensbi-1993182f032b71a4d16e39bff12c142dd25dd67e.tar.bz2 | |
lib: Add irqchip exit API
We add an optional platform irqchip exit hook for exit path handling
in sbi_exit() implementation.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/sbi/sbi_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sbi/sbi_init.c b/lib/sbi/sbi_init.c index c491bd8..3753800 100644 --- a/lib/sbi/sbi_init.c +++ b/lib/sbi/sbi_init.c @@ -209,6 +209,8 @@ void __noreturn sbi_exit(struct sbi_scratch *scratch) sbi_ipi_exit(scratch); + sbi_platform_irqchip_exit(plat); + sbi_platform_final_exit(plat); sbi_hart_hang(); |
