aboutsummaryrefslogtreecommitdiff
path: root/hw/timer
diff options
context:
space:
mode:
authorBin Meng <bmeng@tinylab.org>2023-02-28 21:45:32 +0800
committerPalmer Dabbelt <palmer@rivosinc.com>2023-03-01 16:40:23 -0800
commit0308fc621914ba424705d188dc4a58006edb3472 (patch)
tree27ab9359e0d200378a15d14226cd241d37e086dc /hw/timer
parentddb10742f1acce17dbb8f3551af01bf5bfc4fa14 (diff)
downloadqemu-0308fc621914ba424705d188dc4a58006edb3472.zip
qemu-0308fc621914ba424705d188dc4a58006edb3472.tar.gz
qemu-0308fc621914ba424705d188dc4a58006edb3472.tar.bz2
target/riscv: Allow debugger to access {h, s}stateen CSRs
At present {h,s}stateen CSRs are not reported in the CSR XML hence gdb cannot access them. Fix it by adjusting their predicate() routine logic so that the static config check comes before the run-time check, as well as adding a debugger check. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn> Message-ID: <20230228104035.1879882-16-bmeng@tinylab.org> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'hw/timer')
0 files changed, 0 insertions, 0 deletions