Just find that there is a previous patch at
https://github.com/palmer-dabbelt/qemu/commit/a37f21c27d3e2342c2080aafd4cfe7e949612428
--
Ian Jiang
Alistair Francis 于2020年1月21日周二 下午6:48写道:
>
> On Tue, Jan 21, 2020 at 8:08 PM Ian Jiang wrote:
> >
> > According to the RISC-V specification, when execut
On Tue, Jan 21, 2020 at 8:08 PM Ian Jiang wrote:
>
> According to the RISC-V specification, when executing an MRET or SRET
> instruction, xPIE in mstatus or sstatus should be set to 1. The orginal
> QEMU does not give the right operations.
> This patch fix the problem.
>
> Signed-off-by: Ian Jiang
According to the RISC-V specification, when executing an MRET or SRET
instruction, xPIE in mstatus or sstatus should be set to 1. The orginal
QEMU does not give the right operations.
This patch fix the problem.
Signed-off-by: Ian Jiang
---
target/riscv/op_helper.c | 4 ++--
1 file changed, 2 ins