diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-12-29 11:39:22 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-01-07 09:53:17 +0530 |
commit | b7df5e4392d34d8b8d5290d5b857676e672d4c96 (patch) | |
tree | 193d41e0ea471a58e64100c6f57ec0152432ff17 /include/sbi/sbi_tlb.h | |
parent | 80bc5065bb67f9d118b83f64cbe96f2e3e1bc0c6 (diff) |
lib: sbi: Introduce sbi_trap_exit() API
We introduce sbi_trap_exit() API which can help non-firmware
(i.e. generic or platform) code to force exit trap/interrupt
handling and resume execution at context pointed by parameter
"const struct sbi_trap_regs *regs".
This new sbi_trap_exit() API will help Keystone Enclave project
to resume execution of enclave from custom SBI call handler.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'include/sbi/sbi_tlb.h')
0 files changed, 0 insertions, 0 deletions