feat(arm): add an ESR register (#2155)

This allows users to read/write from the ARM syndrome value like in
AArch64.
This commit is contained in:
Amaan Qureshi
2025-04-12 09:46:37 -04:00
committed by GitHub
parent 7f48b1dd4a
commit 3a7bde03b8
11 changed files with 73 additions and 16 deletions

View File

@@ -182,7 +182,8 @@ const (
ARM_REG_XPSR_G = 137
ARM_REG_XPSR_NZCVQG = 138
ARM_REG_CP_REG = 139
ARM_REG_ENDING = 140
ARM_REG_ESR = 140
ARM_REG_ENDING = 141
// alias registers
ARM_REG_R13 = 12
@@ -192,4 +193,4 @@ const (
ARM_REG_SL = 76
ARM_REG_FP = 77
ARM_REG_IP = 78
)
)