diff options
author | PeterRugg <pdr32@cam.ac.uk> | 2024-09-13 19:38:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-13 19:38:15 +0100 |
commit | c61351e16e803d5ae8c14781d13a4bf214eb51d7 (patch) | |
tree | 396e91a05bff075973c276a0150a90b49391b63f /model/riscv_insts_zfa.sail | |
parent | 31f809346e1020d191b46d519ad6435e2428be39 (diff) | |
download | sail-riscv-master.zip sail-riscv-master.tar.gz sail-riscv-master.tar.bz2 |
The condition checks whether it's possible for a mode other than
machine mode to take interrupts, but just because it can't, that
doesn't mean we can never call this function while in another
mode.
In particular, this causes a crash if you run with S mode disabled
but U mode enabled, then mret to U mode without NExt.
Diffstat (limited to 'model/riscv_insts_zfa.sail')
0 files changed, 0 insertions, 0 deletions