Skip to content

Commit

Permalink
Merge pull request tock#4057 from tock/cortex-m-docs
Browse files Browse the repository at this point in the history
arch: cortex-m: fix docs
  • Loading branch information
ppannuto authored Jul 3, 2024
2 parents 3f2a7c0 + 1f00753 commit 91297df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion arch/cortex-m/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ extern "C" {
/// We need to (unfortunately) do these operations in assembly because it is
/// not valid to run Rust code without RAM initialized.
///
/// See https://github.com/tock/tock/issues/2222 for more information.
/// See <https://github.com/tock/tock/issues/2222> for more information.
pub fn initialize_ram_jump_to_main();
}

Expand Down
10 changes: 5 additions & 5 deletions arch/cortex-v7m/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extern "C" {
/// ARMv7-M systick handler function.
///
/// For documentation of this function, please see
/// [`CortexMVariant::SYSTICK_HANDLER`].
/// `CortexMVariant::SYSTICK_HANDLER`.
pub fn systick_handler_arm_v7m();
}

Expand Down Expand Up @@ -63,7 +63,7 @@ extern "C" {
/// Handler of `svc` instructions on ARMv7-M.
///
/// For documentation of this function, please see
/// [`CortexMVariant::SVC_HANDLER`].
/// `CortexMVariant::SVC_HANDLER`.
pub fn svc_handler_arm_v7m();
}

Expand Down Expand Up @@ -140,7 +140,7 @@ global_asm!(
extern "C" {
/// Generic interrupt handler for ARMv7-M instruction sets.
///
/// For documentation of this function, see [`CortexMVariant::GENERIC_ISR`].
/// For documentation of this function, see `CortexMVariant::GENERIC_ISR`.
pub fn generic_isr_arm_v7m();
}
#[cfg(all(target_arch = "arm", target_os = "none"))]
Expand Down Expand Up @@ -219,7 +219,7 @@ global_asm!(
/// state.
///
/// For documentation of this function, please see
/// [`CortexMVariant::switch_to_user`].
/// `CortexMVariant::switch_to_user`.
#[cfg(all(target_arch = "arm", target_os = "none"))]
pub unsafe fn switch_to_user_arm_v7m(
mut user_stack: *const usize,
Expand Down Expand Up @@ -439,7 +439,7 @@ extern "C" {
/// ARMv7-M hardfault handler.
///
/// For documentation of this function, please see
/// [`CortexMVariant::HARD_FAULT_HANDLER_HANDLER`].
/// `CortexMVariant::HARD_FAULT_HANDLER_HANDLER`.
pub fn hard_fault_handler_arm_v7m();
}

Expand Down

0 comments on commit 91297df

Please sign in to comment.