aboutsummaryrefslogtreecommitdiff
path: root/backends/hostmem.c
diff options
context:
space:
mode:
authorBin Meng <bmeng@tinylab.org>2023-02-28 21:45:33 +0800
committerPalmer Dabbelt <palmer@rivosinc.com>2023-03-01 16:40:24 -0800
commite4e1f216a1ece6a69d10b22bc6f1cf855e054c95 (patch)
treed067b279678fd879c84e761963b18760f67f8442 /backends/hostmem.c
parent0308fc621914ba424705d188dc4a58006edb3472 (diff)
downloadqemu-e4e1f216a1ece6a69d10b22bc6f1cf855e054c95.zip
qemu-e4e1f216a1ece6a69d10b22bc6f1cf855e054c95.tar.gz
qemu-e4e1f216a1ece6a69d10b22bc6f1cf855e054c95.tar.bz2
target/riscv: Allow debugger to access sstc CSRs
At present with a debugger attached sstc CSRs can only be accssed when CPU is in M-mode, or configured correctly. 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-17-bmeng@tinylab.org> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'backends/hostmem.c')
0 files changed, 0 insertions, 0 deletions