This repository was archived by the owner on Nov 7, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 41
41
//!
42
42
//! ### Example
43
43
//!
44
- //! Check out https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials for usage examples.
45
- //! Listed below is a snippet of `rust-raspberrypi-OS-tutorials`'s early boot code.
44
+ //! Check out
45
+ //! [rust-raspberrypi-OS-tutorials](https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials)
46
+ //! for usage examples. Listed below is a snippet of `rust-raspberrypi-OS-tutorials`'s early boot
47
+ //! code.
46
48
//!
47
49
//! ```rust
48
50
//! use cortex_a::{asm, registers::*};
Original file line number Diff line number Diff line change 10
10
//!
11
11
//! Used to lock or unlock the OS Lock.
12
12
//!
13
- //! AArch64 System register OSLAR_EL1 bits [31:0] are architecturally mapped to External register
14
- //! OSLAR_EL1[31:0]. The OS Lock can also be locked or unlocked using DBGOSLAR.
13
+ //! AArch64 System register ` OSLAR_EL1` bits \ [31:0\ ] are architecturally mapped to External
14
+ //! register ` OSLAR_EL1[31:0]` . The OS Lock can also be locked or unlocked using ` DBGOSLAR` .
15
15
16
16
use tock_registers:: {
17
17
interfaces:: { Readable , Writeable } ,
@@ -20,8 +20,8 @@ use tock_registers::{
20
20
21
21
register_bitfields ! { u64 ,
22
22
pub OSLAR_EL1 [
23
- /// On writes to OSLAR_EL1, bit[0] is copied to the OS Lock.
24
- /// Use OSLSR_EL1.OSLK to check the current status of the lock.
23
+ /// On writes to ` OSLAR_EL1` , bit[0] is copied to the OS Lock.
24
+ /// Use ` OSLSR_EL1.OSLK` to check the current status of the lock.
25
25
OSLK OFFSET ( 0 ) NUMBITS ( 1 ) [
26
26
Unlocked = 0 ,
27
27
Locked = 1
You can’t perform that action at this time.
0 commit comments