@@ -19,7 +19,6 @@ use tock_registers::{
19
19
20
20
register_bitfields ! { u64 ,
21
21
pub HCR_EL2 [
22
- ///
23
22
/// Controls the use of instructions related to Pointer Authentication:
24
23
///
25
24
/// - In EL0, when HCR_EL2.TGE==0 or HCR_EL2.E2H==0, and the associated SCTLR_EL1.En<N><M>==1.
@@ -37,14 +36,13 @@ register_bitfields! {u64,
37
36
EnableTrapPointerAuthInstToEl2 = 0 ,
38
37
DisableTrapPointerAuthInstToEl2 = 1
39
38
] ,
40
- ///
39
+
41
40
/// Trap registers holding "key" values for Pointer Authentication. Traps accesses to the
42
41
/// following registers from EL1 to EL2, when EL2 is enabled in the current Security state,
43
42
/// reported using EC syndrome value 0x18:
44
43
///
45
44
/// APIAKeyLo_EL1, APIAKeyHi_EL1, APIBKeyLo_EL1, APIBKeyHi_EL1, APDAKeyLo_EL1,
46
45
/// APDAKeyHi_EL1, APDBKeyLo_EL1, APDBKeyHi_EL1, APGAKeyLo_EL1, and APGAKeyHi_EL1.
47
- ///
48
46
APK OFFSET ( 40 ) NUMBITS ( 1 ) [
49
47
EnableTrapPointerAuthKeyRegsToEl2 = 0 ,
50
48
DisableTrapPointerAuthKeyRegsToEl2 = 1 ,
@@ -55,8 +53,8 @@ register_bitfields! {u64,
55
53
/// if 1: Route synchronous External abort exceptions from EL0 and EL1 to EL2, when EL2 is
56
54
/// enabled in the current Security state, if not routed to EL3.
57
55
TEA OFFSET ( 37 ) NUMBITS ( 1 ) [
58
- DisableTrapSyncExtAborts = 0 ,
59
- EnableTrapSyncExtAborts = 1 ,
56
+ DisableTrapSyncExtAbortsToEl2 = 0 ,
57
+ EnableTrapSyncExtAbortsToEl2 = 1 ,
60
58
] ,
61
59
62
60
/// EL2 Host. Enables a configuration where a Host Operating System is running in EL2, and
@@ -117,8 +115,8 @@ register_bitfields! {u64,
117
115
/// - For further information on the behavior of this bit when E2H is 1, see 'Behavior of
118
116
/// HCR_EL2.E2H'.
119
117
TGE OFFSET ( 27 ) NUMBITS ( 1 ) [
120
- DisableTrapGeneralExceptions = 0 ,
121
- EnableTrapGeneralExceptions = 1 ,
118
+ DisableTrapGeneralExceptionsToEl2 = 0 ,
119
+ EnableTrapGeneralExceptionsToEl2 = 1 ,
122
120
] ,
123
121
124
122
/// Default Cacheability.
0 commit comments