]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Implement gdbstub m-profile systemreg and secext
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 27 Feb 2023 21:33:29 +0000 (11:33 -1000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 6 Mar 2023 14:08:12 +0000 (14:08 +0000)
commit7d8b28b8b5d9d1b68d27b4f5a0329d114b5ce2ee
tree1be2db9c8596958b21462ce0592462650a868236
parent6c8676512f347cc6c3d89bed45540df08fb2b4ef
target/arm: Implement gdbstub m-profile systemreg and secext

The upstream gdb xml only implements {MSP,PSP}{,_NS,S}, but
go ahead and implement the other system registers as well.

Since there is significant overlap between the two, implement
them with common code.  The only exception is the systemreg
view of CONTROL, which merges the banked bits as per MRS.

Signed-off-by: David Reiss <dreiss@meta.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230227213329.793795-15-richard.henderson@linaro.org
[rth: Substatial rewrite using enumerator and shared code.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h
target/arm/gdbstub.c