summary refs log tree commit diff stats
path: root/hw/timer/ibex_timer.c
diff options
context:
space:
mode:
authorBin Meng <bin.meng@windriver.com>2021-06-15 16:51:33 +0800
committerAlistair Francis <alistair.francis@wdc.com>2021-06-24 05:00:12 -0700
commit79a412891f0cb6bbffd8fd9e13608066234e56c1 (patch)
tree92eac426b3c68a35be34977cd7cf4a90af5f5093 /hw/timer/ibex_timer.c
parent65d1a2bd3ec272bccdac29d4dc31c528a760cc3d (diff)
downloadfocaccia-qemu-79a412891f0cb6bbffd8fd9e13608066234e56c1.tar.gz
focaccia-qemu-79a412891f0cb6bbffd8fd9e13608066234e56c1.zip
target/riscv: gdbstub: Fix dynamic CSR XML generation
Since commit 605def6eeee5 ("target/riscv: Use the RISCVException enum for CSR operations")
the CSR predicate() function was changed to return RISCV_EXCP_NONE
instead of 0 for a valid CSR, but it forgot to update the dynamic
CSR XML generation codes in gdbstub.

Fixes: 605def6eeee5 ("target/riscv: Use the RISCVException enum for CSR operations")
Reported-by: Xuzhou Cheng <xuzhou.cheng@windriver.com>
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Tested-by: Xuzhou Cheng <xuzhou.cheng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210615085133.389887-1-bmeng.cn@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/timer/ibex_timer.c')
0 files changed, 0 insertions, 0 deletions