diff options
author | Clément Léger <cleger@rivosinc.com> | 2024-10-18 10:40:04 +0200 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-10-25 23:58:00 +0530 |
commit | 9c7859326909c8025bf23909f1952ee963a1cdd4 (patch) | |
tree | dfeef490a19f326e55430c42c998bbb9d3efdc3f /platform/generic/platform.c | |
parent | 80656bdb1daf380b5562cba11f43754fe916d631 (diff) | |
download | opensbi-9c7859326909c8025bf23909f1952ee963a1cdd4.zip opensbi-9c7859326909c8025bf23909f1952ee963a1cdd4.tar.gz opensbi-9c7859326909c8025bf23909f1952ee963a1cdd4.tar.bz2 |
lib: sbi: add Ssdbltrp ISA extension support
Add Ssdbltrp trap handler support for S-mode double trap handling. If
the trap is received while in VS-mode, then the trap is redirected to
S-mode. If caught while in HS-mode, then an error is returned to the top
trap handler which will panic.
Signed-off-by: Clément Léger <cleger@rivosinc.com>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Diffstat (limited to 'platform/generic/platform.c')
0 files changed, 0 insertions, 0 deletions