Files
openocd/src/target
Antonio Borneo 405e78771b target: aarch64: access reg SPSR_EL3 only in EL3
The register SPSR_EL3 is accessible and it's content is relevant
only when the target is in EL3.
Plus, the register is 64 bits wide.

Without this patch, an error:
	Error: Opcode 0xd53e4000, DSCR.ERR=1, DSCR.EL=1
is triggered by GDB register window or through GDB command
        x/p $SPSR_EL3
or through OpenOCD command
        reg SPSR_EL3

Detect the EL and return error if the register cannot be accessed.
Handle the register as 64 bits.

Change-Id: I00849d99feeb96589c426fcafda98127dbd19a67
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8270
Tested-by: jenkins
2024-06-23 09:28:48 +00:00
..
2022-09-13 22:13:58 +00:00
2023-12-01 22:23:13 +00:00
2023-04-30 14:46:25 +00:00
2023-10-14 12:01:38 +00:00
2022-09-13 22:13:58 +00:00
2023-08-26 11:44:50 +00:00
2024-03-09 11:03:49 +00:00
2024-03-16 14:47:16 +00:00
2023-12-01 22:23:13 +00:00
2022-09-13 22:13:58 +00:00
2023-05-05 22:14:11 +00:00