target/mips32: update mips32 config register parsing
commitd209598ce93bf9477f9c81c7c44b6756c63ccbf3
authorWalter Ji <walter.ji@oss.cipunited.com>
Tue, 26 Sep 2023 09:11:00 +0000 (26 17:11 +0800)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 11 Nov 2023 18:04:19 +0000 (11 18:04 +0000)
tree03ac8a23be87a912c250b63c8e352dd4aed201f1
parent7d1f132cea58017003534a45ad444e55c23fd5be
target/mips32: update mips32 config register parsing

Enhance `mips32_read_config_regs` to better detect MIPS32 ISA,
DSP, and FPU features, allowing user to get more detailed
target information.
Most of these information will be used in MIPS m/iAptiv support.

Change-Id: I23571a626ec64fa019acac91bdbfcb434373bfc1
Signed-off-by: Walter Ji <walter.ji@oss.cipunited.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7911
Tested-by: jenkins
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
src/target/mips32.c
src/target/mips32.h