We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c817f5 commit 5f02264Copy full SHA for 5f02264
src/registers/hcr_el2.rs
@@ -142,6 +142,15 @@ register_bitfields! {u64,
142
DisableTrapGeneralExceptionsToEl2 = 0,
143
EnableTrapGeneralExceptionsToEl2 = 1,
144
],
145
+
146
+ ///Traps SMC instruction. The values are:
147
+ /// 0 SMC instruction is not trapped.
148
+ /// 1 SMC instruction executed in EL1 is trapped to EL2 for AArch32 and AArch64 states.
149
+ ///
150
+ TSC OFFSET(19) NUMBITS(1) [
151
+ DisableTrapSmcToEl2 = 0,
152
+ EnableTrapSmcToEl2 = 1,
153
+ ],
154
155
/// Trap data or unified cache maintenance instructions that operate by Set/Way.
156
/// Traps execution of those cache maintenance instructions at EL1 to EL2, when
0 commit comments