unicorn/qemu/target/riscv
Rajnesh Kanwal cf08d74c26 target/riscv: Fix VS mode interrupts forwarding.
Currently riscv_cpu_local_irq_pending is used to find out pending
interrupt and VS mode interrupts are being shifted to represent
S mode interrupts in this function. So when the cause returned by
this function is passed to riscv_cpu_do_interrupt to actually
forward the interrupt, the VS mode forwarding check does not work
as intended and interrupt is actually forwarded to hypervisor. This
patch fixes this issue.

Backports commit c5969a3a3c2cb9ea02ffb7e86acb059d3cf8c264 from qemu
2020-04-30 06:21:03 -04:00
..
insn_trans target/riscv: Remove the hret instruction 2020-03-22 01:44:55 -04:00
cpu-param.h
cpu.c target/riscv: Rename the H irqs to VS irqs 2020-03-22 01:09:04 -04:00
cpu.h target/riscv: Emulate TIME CSRs for privileged mode 2020-03-22 02:22:17 -04:00
cpu_bits.h target/riscv: Add the MSTATUS_MPV_ISSET helper macro 2020-03-22 02:18:02 -04:00
cpu_helper.c target/riscv: Fix VS mode interrupts forwarding. 2020-04-30 06:21:03 -04:00
cpu_user.h
csr.c target/riscv: Emulate TIME CSRs for privileged mode 2020-03-22 02:22:17 -04:00
fpu_helper.c target/riscv: rationalise softfloat includes 2019-11-18 21:17:03 -05:00
helper.h
insn16-32.decode
insn16-64.decode
insn16.decode
insn32-64.decode
insn32.decode target/riscv: Remove the hret instruction 2020-03-22 01:44:55 -04:00
instmap.h
Makefile.objs
op_helper.c target/riscv: Correctly implement TSR trap 2020-04-30 06:19:49 -04:00
pmp.c RISC-V: Fix a PMP bug where it succeeds even if PMP entry is off 2019-08-08 16:55:52 -04:00
pmp.h
translate.c target/riscv: Add the MSTATUS_MPV_ISSET helper macro 2020-03-22 02:18:02 -04:00
unicorn.c target/riscv: Add the virtulisation mode 2020-03-22 01:15:06 -04:00
unicorn.h