File tree Expand file tree Collapse file tree 4 files changed +14
-14
lines changed Expand file tree Collapse file tree 4 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 33This library implements a simple Arm vector table, suitable for getting into a
44Rust application running in System Mode. It also provides a reference start
55up method. Most Cortex-A based systems will require chip specific start-up
6- code, so the start-up method can over overridden.
6+ code, so the start-up method can be overridden.
77
88See < https://docs.rs/cortex-a-rt > for detailed documentation.
99
Original file line number Diff line number Diff line change 33//! This library implements a simple Arm vector table, suitable for getting into
44//! a Rust application running in System Mode. It also provides a reference
55//! start up method. Most Cortex-A based systems will require chip specific
6- //! start-up code, so the start-up method can over overridden.
6+ //! start-up code, so the start-up method can be overridden.
77//!
88//! The default startup routine provided by this crate does not include any
99//! special handling for multi-core support because this is oftentimes
122122//! loop { }
123123//! }
124124//! ```
125- //!
125+ //!
126126//! or:
127127//!
128128//! ```rust
149149//! loop { }
150150//! }
151151//! ```
152- //!
152+ //!
153153//! or:
154154//!
155155//! ```rust
220220//! loop { }
221221//! }
222222//! ```
223- //!
223+ //!
224224//! Or it can return an address where execution should resume after the
225225//! Exception handler is complete (which is unsafe):
226226//!
278278//! loop { }
279279//! }
280280//! ```
281- //!
281+ //!
282282//! Or it can return an address where execution should resume after the
283283//! Exception handler is complete (which is unsafe):
284284//!
@@ -645,7 +645,7 @@ macro_rules! restore_context {
645645#[ cfg( target_arch = "arm" ) ]
646646core:: arch:: global_asm!(
647647 r#"
648-
648+
649649 // Called from the vector table when we have an undefined exception.
650650 // Saves state and calls a C-compatible handler like
651651 // `extern "C" fn _undefined_handler(addr: usize) -> usize;`
Original file line number Diff line number Diff line change 33This library implements a simple Arm vector table, suitable for getting into a
44Rust application running in System Mode. It also provides a reference start
55up method. Most Cortex-R based systems will require chip specific start-up
6- code, so the start-up method can over overridden.
6+ code, so the start-up method can be overridden.
77
88See < https://docs.rs/cortex-r-rt > for detailed documentation.
99
Original file line number Diff line number Diff line change 33//! This library implements a simple Arm vector table, suitable for getting into
44//! a Rust application running in System Mode. It also provides a reference
55//! start up method. Most Cortex-R based systems will require chip specific
6- //! start-up code, so the start-up method can over overridden.
6+ //! start-up code, so the start-up method can be overridden.
77//!
88//! The default startup routine provided by this crate does not include any
99//! special handling for multi-core support because this is oftentimes
121121//! loop { }
122122//! }
123123//! ```
124- //!
124+ //!
125125//! or:
126126//!
127127//! ```rust
148148//! loop { }
149149//! }
150150//! ```
151- //!
151+ //!
152152//! or:
153153//!
154154//! ```rust
219219//! loop { }
220220//! }
221221//! ```
222- //!
222+ //!
223223//! Or it can return an address where execution should resume after the
224224//! Exception handler is complete (which is unsafe):
225225//!
277277//! loop { }
278278//! }
279279//! ```
280- //!
280+ //!
281281//! Or it can return an address where execution should resume after the
282282//! Exception handler is complete (which is unsafe):
283283//!
@@ -580,7 +580,7 @@ core::arch::global_asm!(
580580 r#"
581581 // Work around https://github.com/rust-lang/rust/issues/127269
582582 .fpu vfp3-d16
583-
583+
584584 // Called from the vector table when we have an undefined exception.
585585 // Saves state and calls a C-compatible handler like
586586 // `extern "C" fn _undefined_handler(addr: usize) -> usize;`
You can’t perform that action at this time.
0 commit comments