+1
−1
Loading
As reported in: https://bugs.launchpad.net/qemu/+bug/1851939 we weren't correctly handling illegal instructions based on the value of MSTATUS_TSR and the current privledge level. This patch fixes the issue raised in the bug by raising an illegal instruction if TSR is set and we are in S-Mode. Signed-off-by:Alistair Francis <alistair.francis@wdc.com> Reviewed-by:
Jonathan Behrens <jonathan@fintelia.io> Signed-off-by:
Palmer Dabbelt <palmerdabbelt@google.com>