#[repr(u64)]pub enum Value {
TrappedPhysical = 0,
TrappedNone = 1,
}
Expand description
Traps EL0 accesses to the physical timer registers to EL1, or to EL2 when it is implemented and enabled for the current Security state and HCR_EL2.TGE is 1, as follows:
-
In AArch64 state, the following registers are trapped, reported using EC syndrome value 0x18:
— CNTP_CTL_EL0, CNTP_CVAL_EL0, and CNTP_TVAL_EL0.
-
In AArch32 state, MRC and MCR accesses to the following registers are trapped, reported using EC syndrome value 0x03, MRRC and MCRR accesses are trapped, reported using EC syndrome value 0x04: — CNTP_CTL, CNTP_CVAL, CNTP_TVAL.
0b0 EL0 accesses to the physical timer registers are trapped to EL1.
0b1 This control does not cause any instructions to be trapped.
When FEAT_VHE is implemented and HCR_EL2.{E2H, TGE} is {1, 1}, this control does not cause any instructions to be trapped.
The reset behavior of this field is: - On a Warm reset, this field resets to an architecturally UNKNOWN value.