diff options
author | Anup Patel <anup.patel@wdc.com> | 2019-12-12 19:53:30 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2019-12-16 12:18:26 +0300 |
commit | 2be424bd28560d5399788ed16f663f7785a8c5f9 (patch) | |
tree | 6c70bfa0031276961cc79c4c2c40ed75889302d6 /include/sbi/sbi_illegal_insn.h | |
parent | 086dbdfc926301c8273a64a064452b7d97f0d9a4 (diff) | |
download | opensbi-2be424bd28560d5399788ed16f663f7785a8c5f9.tar.xz |
lib: Extend trap redirection for hypervisor v0.5 spec
The hypervisor v0.5 spec introduces two new CSRs for both M-mode
and HS-mode which need to be considered when redirecting traps
hence this patch.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'include/sbi/sbi_illegal_insn.h')
-rw-r--r-- | include/sbi/sbi_illegal_insn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sbi/sbi_illegal_insn.h b/include/sbi/sbi_illegal_insn.h index 2dc0988..1e1f74a 100644 --- a/include/sbi/sbi_illegal_insn.h +++ b/include/sbi/sbi_illegal_insn.h @@ -15,7 +15,7 @@ struct sbi_trap_regs; struct sbi_scratch; -int sbi_illegal_insn_handler(u32 hartid, ulong mcause, +int sbi_illegal_insn_handler(u32 hartid, ulong mcause, ulong insn, struct sbi_trap_regs *regs, struct sbi_scratch *scratch); |