diff options
author | Jim Wilson <jimw@sifive.com> | 2019-03-15 03:26:58 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2019-03-19 05:13:24 -0700 |
commit | 753e3fe207db08ce0ef0405e8452c3397c9b9308 (patch) | |
tree | 38d16fb6f1b727dafe750f2e4f638d50f0803132 /HACKING | |
parent | 8e73df6aa3f2f0e5c26c03a94a88406616291815 (diff) | |
download | qemu-753e3fe207db08ce0ef0405e8452c3397c9b9308.zip qemu-753e3fe207db08ce0ef0405e8452c3397c9b9308.tar.gz qemu-753e3fe207db08ce0ef0405e8452c3397c9b9308.tar.bz2 |
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 'HACKING')
0 files changed, 0 insertions, 0 deletions