diff options
author | dramforever <dramforever@live.com> | 2022-06-12 08:57:37 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-06-13 08:32:49 +0300 |
commit | adc3388d76af18487d8ba4a53a1d1e83655435f3 (patch) | |
tree | dd439e726ea4330cc2123049538d9dcc8b09d010 /platform/generic | |
parent | cb8271c8e43e3c317436b7377c4fa0ac669f8fb5 (diff) | |
download | opensbi-adc3388d76af18487d8ba4a53a1d1e83655435f3.tar.xz |
lib: sbi_trap: Redirect exception based on hedeleg
HS-mode software can choose what exceptions to delegate to VS-mode using
the hedeleg CSR. Synthetic VS/VU-mode exceptions should also honor
hedeleg. They should be redirected to VS-mode if and only if delegated
by HS-mode.
Signed-off-by: dramforever <dramforever@live.com>
Reviewed-by: Xiang W <wxjstz@126.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'platform/generic')
0 files changed, 0 insertions, 0 deletions