aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2021-01-28 09:56:51 -0800
committerGitHub <noreply@github.com>2021-01-28 09:56:51 -0800
commita83ac8102208fe43029e31a20ea00eb5f242f5e3 (patch)
tree3cfdf4f7d35c0857b1634e7f769a186256a281ce /doc
parent3070dbb6ab56502e65d952b2c6a7bb057b0b62fe (diff)
downloadriscv-openocd-a83ac8102208fe43029e31a20ea00eb5f242f5e3.zip
riscv-openocd-a83ac8102208fe43029e31a20ea00eb5f242f5e3.tar.gz
riscv-openocd-a83ac8102208fe43029e31a20ea00eb5f242f5e3.tar.bz2
Add authdata_read/authdata_write support to 0.11. (#575)
AFAIK there is no hardware that implements this, but it should be a close-to-done starting point in case it is ever required. Change-Id: I49e3082e8629b1d70b12e8a847c2848e75b04508 Signed-off-by: Tim Newsome <tim@sifive.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index b7512fe..53fe9bf 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -10129,12 +10129,14 @@ set challenge [riscv authdata_read]
riscv authdata_write [expr $challenge + 1]
@end example
-@deffn Command {riscv authdata_read}
-Return the 32-bit value read from authdata.
+@deffn Command {riscv authdata_read} [index=0]
+Return the 32-bit value read from authdata or authdata0 (index=0), or
+authdata1 (index=1).
@end deffn
-@deffn Command {riscv authdata_write} value
-Write the 32-bit value to authdata.
+@deffn Command {riscv authdata_write} [index=0] value
+Write the 32-bit value to authdata or authdata0 (index=0), or authdata1
+(index=1).
@end deffn
@subsection RISC-V DMI Commands