Skip to content

Commit d40bea9

Browse files
authored
Merge pull request #63 from kisum9/fix-TrappedFP-annotation
Fix EC field TrappedFP annotation.
2 parents 2f98f4e + 3282b2a commit d40bea9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/registers/esr_el1.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ register_bitfields! {u64,
3838
TrappedMCRorMRC2 = 0b00_0101,
3939
/// Trapped LDC or STC access (FEAT_AA32)
4040
TrappedLDCorSTC = 0b00_0110,
41-
/// Access to SME, SVE, Advanced SIMD or floating-point functionality trapped
41+
/// Access to SME, SVE, Advanced SIMD or floating-point functionality trapped (FEAT_AA32)
4242
TrappedFP = 0b00_0111,
4343
/// Trapped execution of any instruction not covered by other EC values (FEAT_LS64)
4444
TrappedNotCovered = 0b00_1010,
4545
/// Trapped MRRC access with (coproc==0b1110) (FEAT_AA32)
4646
TrappedMRRC = 0b00_1100,
4747
/// Branch Target Exception (FEAT_BTI)
4848
BranchTarget = 0b00_1101,
49-
/// Illegal Execution state (FEAT_BTI)
49+
/// Illegal Execution state
5050
IllegalExecutionState = 0b00_1110,
5151
/// SVC instruction execution in AArch32 state (FEAT_AA32)
5252
SVC32 = 0b01_0001,

src/registers/esr_el2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ register_bitfields! {u64,
5050
TrappedMCRorMRC2 = 0b00_0101,
5151
/// Trapped LDC or STC access (FEAT_AA32)
5252
TrappedLDCorSTC = 0b00_0110,
53-
/// Access to SME, SVE, Advanced SIMD or floating-point functionality trapped
53+
/// Access to SME, SVE, Advanced SIMD or floating-point functionality trapped (FEAT_AA32)
5454
TrappedFP = 0b00_0111,
5555
/// Trapped VMRS access, from ID group trap (FEAT_AA32)
5656
TrappedVMRS = 0b00_1000,

0 commit comments

Comments
 (0)