Skip to content
This repository was archived by the owner on Nov 7, 2022. It is now read-only.

Commit d8af7da

Browse files
qwandorandre-richter
authored andcommitted
Fix doc-tests.
1 parent 5c942a9 commit d8af7da

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
//! + SPSR_EL2::F::Masked
7272
//! + SPSR_EL2::M::EL1h,
7373
//! );
74+
//! }
7475
//! ```
7576
//!
7677
//! ## Disclaimer

src/registers/hcr_el2.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ register_bitfields! {u64,
2727
/// Traps are reported using EC syndrome value 0x09. The Pointer Authentication instructions
2828
/// trapped are:
2929
///
30-
/// AUTDA, AUTDB, AUTDZA, AUTDZB, AUTIA, AUTIA1716, AUTIASP, AUTIAZ, AUTIB, AUTIB1716,
31-
/// AUTIBSP, AUTIBZ, AUTIZA, AUTIZB, PACGA, PACDA, PACDB, PACDZA, PACDZB, PACIA,
32-
/// PACIA1716, PACIASP, PACIAZ, PACIB, PACIB1716, PACIBSP, PACIBZ, PACIZA, PACIZB.
33-
/// RETAA, RETAB, BRAA, BRAB, BLRAA, BLRAB, BRAAZ, BRABZ, BLRAAZ, BLRABZ.
34-
/// ERETAA, ERETAB, LDRAA, and LDRAB.
30+
/// `AUTDA`, `AUTDB`, `AUTDZA`, `AUTDZB`, `AUTIA`, `AUTIA1716`, `AUTIASP`, `AUTIAZ`, `AUTIB`, `AUTIB1716`,
31+
/// `AUTIBSP`, `AUTIBZ`, `AUTIZA`, `AUTIZB`, `PACGA`, `PACDA`, `PACDB`, `PACDZA`, `PACDZB`, `PACIA`,
32+
/// `PACIA1716`, `PACIASP`, `PACIAZ`, `PACIB`, `PACIB1716`, `PACIBSP`, `PACIBZ`, `PACIZA`, `PACIZB`,
33+
/// `RETAA`, `RETAB`, `BRAA`, `BRAB`, `BLRAA`, `BLRAB`, `BRAAZ`, `BRABZ`, `BLRAAZ`, `BLRABZ`,
34+
/// `ERETAA`, `ERETAB`, `LDRAA`, and `LDRAB`.
3535
API OFFSET(41) NUMBITS(1) [
3636
EnableTrapPointerAuthInstToEl2 = 0,
3737
DisableTrapPointerAuthInstToEl2 = 1
@@ -41,8 +41,8 @@ register_bitfields! {u64,
4141
/// following registers from EL1 to EL2, when EL2 is enabled in the current Security state,
4242
/// reported using EC syndrome value 0x18:
4343
///
44-
/// APIAKeyLo_EL1, APIAKeyHi_EL1, APIBKeyLo_EL1, APIBKeyHi_EL1, APDAKeyLo_EL1,
45-
/// APDAKeyHi_EL1, APDBKeyLo_EL1, APDBKeyHi_EL1, APGAKeyLo_EL1, and APGAKeyHi_EL1.
44+
/// `APIAKeyLo_EL1`, `APIAKeyHi_EL1`, `APIBKeyLo_EL1`, `APIBKeyHi_EL1`, `APDAKeyLo_EL1`,
45+
/// `APDAKeyHi_EL1`, `APDBKeyLo_EL1`, `APDBKeyHi_EL1`, `APGAKeyLo_EL1`, and `APGAKeyHi_EL1`.
4646
APK OFFSET(40) NUMBITS(1) [
4747
EnableTrapPointerAuthKeyRegsToEl2 = 0,
4848
DisableTrapPointerAuthKeyRegsToEl2 = 1,

0 commit comments

Comments
 (0)