Skip to content

Commit 4f0628c

Browse files
berkusCopilot
andauthored
Add FEAT_AA32 annotations
Co-authored-by: Copilot <[email protected]>
1 parent fd05b8c commit 4f0628c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/registers/esr_el1.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,25 @@ register_bitfields! {u64,
3030
Unknown = 0b00_0000,
3131
/// Trapped WF* instruction execution
3232
TrappedWFIorWFE = 0b00_0001,
33-
/// Trapped MCR or MRC access with (coproc==0b1111)
33+
/// Trapped MCR or MRC access with (coproc==0b1111) (FEAT_AA32)
3434
TrappedMCRorMRC = 0b00_0011,
35-
/// Trapped MCRR or MRRC access with (coproc==0b1111)
35+
/// Trapped MCRR or MRRC access with (coproc==0b1111) (FEAT_AA32)
3636
TrappedMCRRorMRRC = 0b00_0100,
37-
/// Trapped MCR or MRC access with (coproc==0b1110)
37+
/// Trapped MCR or MRC access with (coproc==0b1110) (FEAT_AA32)
3838
TrappedMCRorMRC2 = 0b00_0101,
39-
/// Trapped LDC or STC access
39+
/// Trapped LDC or STC access (FEAT_AA32)
4040
TrappedLDCorSTC = 0b00_0110,
4141
/// Access to SME, SVE, Advanced SIMD or floating-point functionality trapped
4242
TrappedFP = 0b00_0111,
4343
/// Trapped execution of any instruction not covered by other EC values (FEAT_LS64)
4444
TrappedNotCovered = 0b00_1010,
45-
/// Trapped MRRC access with (coproc==0b1110)
45+
/// Trapped MRRC access with (coproc==0b1110) (FEAT_AA32)
4646
TrappedMRRC = 0b00_1100,
4747
/// Branch Target Exception (FEAT_BTI)
4848
BranchTarget = 0b00_1101,
4949
/// Illegal Execution state (FEAT_BTI)
5050
IllegalExecutionState = 0b00_1110,
51-
/// SVC instruction execution in AArch32 state
51+
/// SVC instruction execution in AArch32 state (FEAT_AA32)
5252
SVC32 = 0b01_0001,
5353
/// Trapped MSRR, MRRS or System instruction execution in AArch64 state (FEAT_SYSREG128/FEAT_SYSINSTR128)
5454
TrappedMSRR_MRRS = 0b01_0100,
@@ -82,7 +82,7 @@ register_bitfields! {u64,
8282
SPAlignmentFault = 0b10_0110,
8383
/// Memory Operation Exception (FEAT_MOPS)
8484
MemoryOperationException = 0b10_0111,
85-
/// Trapped floating-point exception taken from AArch32 state
85+
/// Trapped floating-point exception taken from AArch32 state (FEAT_AA32)
8686
TrappedFP32 = 0b10_1000,
8787
/// Trapped floating-point exception taken from AArch64 state
8888
TrappedFP64 = 0b10_1100,
@@ -102,7 +102,7 @@ register_bitfields! {u64,
102102
WatchpointLowerEL = 0b11_0100,
103103
/// Watchpoint exception taken without a change in Exception level
104104
WatchpointCurrentEL = 0b11_0101,
105-
/// BKPT instruction execution in AArch32 state
105+
/// BKPT instruction execution in AArch32 state (FEAT_AA32)
106106
Bkpt32 = 0b11_1000,
107107
/// BRK instruction execution in AArch64 state
108108
Brk64 = 0b11_1100,

0 commit comments

Comments
 (0)