target/riscv: Add the Hypervisor CSRs to CPUState
authorAlistair Francis <alistair.francis@wdc.com>
Sat, 1 Feb 2020 01:01:43 +0000 (17:01 -0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 27 Feb 2020 21:45:25 +0000 (13:45 -0800)
commitbd023ce33b85d73791b7bc78fd04a8115c60995e
tree571dca1fab0b14d1c5abfa5c200ef46110e5ac8b
parentaf1fa0039c799a350bcde07b3d8a71dfde07d11b
target/riscv: Add the Hypervisor CSRs to CPUState

Add the Hypervisor CSRs to CPUState and at the same time (to avoid
bisect issues) update the CSR macros for the v0.5 Hyp spec.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
target/riscv/cpu.h
target/riscv/cpu_bits.h
target/riscv/gdbstub.c