mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-01-05 03:41:23 +00:00
The same pattern is used at multiple places to verify in which mode the exception was actually taken. Factorize it. Signed-off-by: Clément Léger <cleger@rivosinc.com> Reviewed-by: Samuel Holland <samuel.holland@sifive.com>