From e08e8e0e96b1c75b90e67491c3cf383367050160 Mon Sep 17 00:00:00 2001 From: Pricx <1351135610@qq.com> Date: Tue, 29 Aug 2023 16:31:41 +0800 Subject: [PATCH] fix ESR_EC macro --- proxyclient/m1n1/sysreg.py | 2 +- src/arm_cpu_regs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proxyclient/m1n1/sysreg.py b/proxyclient/m1n1/sysreg.py index fd4a3078..fae5fff3 100644 --- a/proxyclient/m1n1/sysreg.py +++ b/proxyclient/m1n1/sysreg.py @@ -74,7 +74,7 @@ class ESR_EC(IntEnum): UNKNOWN = 0b000000 WFI = 0b000001 FP_TRAP = 0b000111 - PAUTH_TRAP = 0b001000 + PAUTH_TRAP = 0b001001 LS64 = 0b001010 BTI = 0b001101 ILLEGAL = 0b001110 diff --git a/src/arm_cpu_regs.h b/src/arm_cpu_regs.h index d2784b2b..ef374dad 100644 --- a/src/arm_cpu_regs.h +++ b/src/arm_cpu_regs.h @@ -56,7 +56,7 @@ #define ESR_EC_UNKNOWN 0b000000 #define ESR_EC_WFI 0b000001 #define ESR_EC_FP_TRAP 0b000111 -#define ESR_EC_PAUTH_TRAP 0b001000 +#define ESR_EC_PAUTH_TRAP 0b001001 #define ESR_EC_LS64 0b001010 #define ESR_EC_BTI 0b001101 #define ESR_EC_ILLEGAL 0b001110