aboutsummaryrefslogtreecommitdiff
path: root/doc/openocd.texi
diff options
context:
space:
mode:
authorWalter Ji <walter.ji@oss.cipunited.com>2023-11-17 15:13:21 +0800
committerAntonio Borneo <borneo.antonio@gmail.com>2024-01-06 13:51:26 +0000
commitb2172ed7d785ff1cd816d93cbed30afb45f1402b (patch)
tree9dc96a126caba27e0fb3d2ed4f409b038f93ce26 /doc/openocd.texi
parent7de4b1202d5049dead386b3bcfa238b299f7c742 (diff)
downloadriscv-openocd-b2172ed7d785ff1cd816d93cbed30afb45f1402b.zip
riscv-openocd-b2172ed7d785ff1cd816d93cbed30afb45f1402b.tar.gz
riscv-openocd-b2172ed7d785ff1cd816d93cbed30afb45f1402b.tar.bz2
target/mips32: update coprocessor 0 command
Update mips32 cp0 command, it accepts cp0 reg names now. Updated mips32 cp0 description. Change-Id: Ib23dd13519def77a657c9c5bb039276746207b9b Signed-off-by: Walter Ji <walter.ji@oss.cipunited.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7905 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-by: Oleksij Rempel <linux@rempel-privat.de> Tested-by: jenkins
Diffstat (limited to 'doc/openocd.texi')
-rw-r--r--doc/openocd.texi12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index cf41bc5..a2af451 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -10998,9 +10998,10 @@ The term ASE means Application-Specific Extension, ASEs provide features that
improve the efficiency and performance of certain workloads, such as
digital signal processing(DSP), Virtualization(VZ), Multi-Threading(MT),
SIMD(MSA) and more.
-The MIPS CPU Uses Coprocessors to configure its behaviour or to let software
-know the capabilities of current CPU, the commonly used ones are Config0~3 Registers
-and Status register.
+
+MIPS Cores use Coprocessors(CPx) to configure their behaviour or to let software
+know the capabilities of current CPU, the main Coprocessor is CP0, containing 32
+registers with a maximum select number of 7.
@subsection MIPS FPU & Vector Registers
@@ -11028,8 +11029,9 @@ Display or set scan delay in nano seconds. A value below 2_000_000 will set the
scan delay into legacy mode.
@end deffn
-@deffn {Config Command} {mips32 cp0} regnum select [value]
-Displays or sets coprocessor 0 register by register number and select.
+@deffn {Config Command} {mips32 cp0} [[reg_name|regnum select] [value]]
+Displays or sets coprocessor 0 register by register number and select or their name.
+This command shows all available cp0 register if no arguments are provided.
For common MIPS Coprocessor 0 registers, you can find the definitions of them
on MIPS Privileged Resource Architecture Documents(MIPS Document MD00090).