diff options
author | Nils Wistoff <git@wistoff.net> | 2019-07-18 22:15:28 +0200 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2019-07-18 13:15:28 -0700 |
commit | 239a515a9cc0cf7d7ebcc7c1a710ff40de721ca8 (patch) | |
tree | 815ce85a2ccc250e432d80d10a8ccb58a88d240f /doc/openocd.texi | |
parent | 09016bcb6e7c3a8246a80189a76babf2827ec198 (diff) | |
download | riscv-openocd-239a515a9cc0cf7d7ebcc7c1a710ff40de721ca8.zip riscv-openocd-239a515a9cc0cf7d7ebcc7c1a710ff40de721ca8.tar.gz riscv-openocd-239a515a9cc0cf7d7ebcc7c1a710ff40de721ca8.tar.bz2 |
Access memory through the scope of current privilege level (#386)
* add opcode for csrrsi and csrrci
* enable MMU while reading/writing memory using progbuf
* fix style issues
* keep old behavior for progbufsize<4, perform r/w/csr only when necessary
* do not pass progbufsize, only write mstatus if changed
* add config option to enable virtualization feature
* throw error if virt enabled but unavaliable, outsource modify_privilege
* support virtualization for read_memory_progbuf_one
Diffstat (limited to 'doc/openocd.texi')
-rw-r--r-- | doc/openocd.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi index e70b53a..7337686 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -9491,6 +9491,12 @@ When on, prefer to use System Bus Access to access memory. When off, prefer to use the Program Buffer to access memory. @end deffn +@deffn Command {riscv riscv_enable_virtual} on|off +When on, memory accesses are performed on physical or virtual memory depending +on the current system configuration. When off, all memory accessses are performed +on physical memory. +@end deffn + @deffn Command {riscv resume_order} normal|reversed Some software assumes all harts are executing nearly continuously. Such software may be sensitive to the order that harts are resumed in. On harts |