fix ESR_EC macro

This commit is contained in:
Pricx 2023-08-29 16:31:41 +08:00
parent 6d0979e71e
commit e08e8e0e96
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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