aboutsummaryrefslogtreecommitdiff
path: root/hw/net/can
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2019-09-20 07:47:14 -0700
committerPalmer Dabbelt <palmer@sifive.com>2019-10-28 07:46:53 -0700
commite6e03dcffd3583f6fd8148108e65d514b8382c2c (patch)
tree22ea70c5fb7ee07ce8f3afd6944346fcffd45725 /hw/net/can
parent9bb73502321d46f4d320fa17aa38201445783fc4 (diff)
downloadqemu-e6e03dcffd3583f6fd8148108e65d514b8382c2c.zip
qemu-e6e03dcffd3583f6fd8148108e65d514b8382c2c.tar.gz
qemu-e6e03dcffd3583f6fd8148108e65d514b8382c2c.tar.bz2
riscv: Skip checking CSR privilege level in debugger mode
If we are in debugger mode, skip the CSR privilege level checking so that we can read/write all CSRs. Otherwise we get: (gdb) p/x $mtvec Could not fetch register "mtvec"; remote failure reply 'E14' when the hart is currently in S-mode. Reported-by: Zong Li <zong.li@sifive.com> Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'hw/net/can')
0 files changed, 0 insertions, 0 deletions