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

@@ -212,6 +212,9 @@ typedef enum uc_arm_reg {
UC_ARM_REG_XPSR_G,
UC_ARM_REG_XPSR_NZCVQG,
UC_ARM_REG_CP_REG,
// A pseudo-register for fetching the exception syndrome
// from the CPU state. This is not a real register.
UC_ARM_REG_ESR,
UC_ARM_REG_ENDING, // <-- mark the end of the list or registers
//> alias registers