mbox series

[v1,0/4] RISC-V: Populate mtval and stval

Message ID cover.1532559484.git.alistair.francis@wdc.com (mailing list archive)
Headers show
Series RISC-V: Populate mtval and stval | expand

Message

Alistair Francis July 25, 2018, 11:03 p.m. UTC
Populate mtval and stval when taking an illegal instruction exception if
the features are set for the CPU.

Alistair Francis (4):
  target/riscv: Rename mbadaddr and sbadaddr
  target/riscv: Implement the mtval illegal instruction
  target/riscv: Implement the stval illegal instruction
  target/riscv: set mtval and stval support

 target/riscv/cpu.c       |  4 ++++
 target/riscv/cpu.h       |  8 +++++---
 target/riscv/cpu_bits.h  |  4 ++--
 target/riscv/helper.c    | 34 ++++++++++++++++++++++++++--------
 target/riscv/op_helper.c | 16 ++++++++--------
 target/riscv/translate.c | 12 ++++++++++++
 6 files changed, 57 insertions(+), 21 deletions(-)