summaryrefslogtreecommitdiffstats
path: root/include/exec/user
diff options
context:
space:
mode:
authorJim Wilson2019-03-15 11:26:58 +0100
committerPalmer Dabbelt2019-03-19 13:13:24 +0100
commit753e3fe207db08ce0ef0405e8452c3397c9b9308 (patch)
tree38d16fb6f1b727dafe750f2e4f638d50f0803132 /include/exec/user
parentRISC-V: Fixes to CSR_* register macros. (diff)
downloadqemu-753e3fe207db08ce0ef0405e8452c3397c9b9308.tar.gz
qemu-753e3fe207db08ce0ef0405e8452c3397c9b9308.tar.xz
qemu-753e3fe207db08ce0ef0405e8452c3397c9b9308.zip
RISC-V: Add debug support for accessing CSRs.
Add a debugger field to CPURISCVState. Add riscv_csrrw_debug function to set it. Disable mode checks when debugger field true. Signed-off-by: Jim Wilson <jimw@sifive.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20190212230903.9215-1-jimw@sifive.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions