Files
openocd/src/target
Antonio Borneo 8c75e47603 target: aarch64: access reg ELR_EL3 only in EL3
The register ELR_EL3 is accessible and it's content is relevant
only when the target is in EL3.

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

Detect the EL and return error if the register cannot be accessed.

Change-Id: I545abb196e5c34e462c7e5d5d3ec952e588642da
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8268
Tested-by: jenkins
2024-06-23 09:28:32 +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