aboutsummaryrefslogtreecommitdiff
path: root/model/riscv_insts_zfa.sail
diff options
context:
space:
mode:
authorPeterRugg <pdr32@cam.ac.uk>2024-09-13 19:38:15 +0100
committerGitHub <noreply@github.com>2024-09-13 19:38:15 +0100
commitc61351e16e803d5ae8c14781d13a4bf214eb51d7 (patch)
tree396e91a05bff075973c276a0150a90b49391b63f /model/riscv_insts_zfa.sail
parent31f809346e1020d191b46d519ad6435e2428be39 (diff)
downloadsail-riscv-master.zip
sail-riscv-master.tar.gz
sail-riscv-master.tar.bz2
Remove incorrect privilege assertHEADmaster
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