From a4147d0371f90fd8aca4738f3ab1357369e0a601 Mon Sep 17 00:00:00 2001 From: Frank Steffahn Date: Sun, 22 Aug 2021 14:22:34 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20typos=20=E2=80=9Ca=E2=80=9D=E2=86=92?= =?UTF-8?q?=E2=80=9Can=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/core_arch/src/arm/ex.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/core_arch/src/arm/ex.rs b/crates/core_arch/src/arm/ex.rs index b9d5047a05..2ad190a786 100644 --- a/crates/core_arch/src/arm/ex.rs +++ b/crates/core_arch/src/arm/ex.rs @@ -19,7 +19,7 @@ pub unsafe fn __clrex() { clrex() } -/// Executes a exclusive LDR instruction for 8 bit value. +/// Executes an exclusive LDR instruction for 8 bit value. // Supported: v6K, v7-M, v7-A, v7-R // Not supported: v5, v6, v6-M #[cfg(any( @@ -35,7 +35,7 @@ pub unsafe fn __ldrexb(p: *const u8) -> u8 { ldrex8(p) as u8 } -/// Executes a exclusive LDR instruction for 16 bit value. +/// Executes an exclusive LDR instruction for 16 bit value. // Supported: v6K, v7-M, v7-A, v7-R, v8 // Not supported: v5, v6, v6-M #[cfg(any( @@ -51,7 +51,7 @@ pub unsafe fn __ldrexh(p: *const u16) -> u16 { ldrex16(p) as u16 } -/// Executes a exclusive LDR instruction for 32 bit value. +/// Executes an exclusive LDR instruction for 32 bit value. // Supported: v6, v7-M, v6K, v7-A, v7-R, v8 // Not supported: v5, v6-M #[cfg(any( @@ -68,7 +68,7 @@ pub unsafe fn __ldrex(p: *const u32) -> u32 { ldrex32(p) } -/// Executes a exclusive STR instruction for 8 bit values +/// Executes an exclusive STR instruction for 8 bit values /// /// Returns `0` if the operation succeeded, or `1` if it failed // supported: v6K, v7-M, v7-A, v7-R @@ -86,7 +86,7 @@ pub unsafe fn __strexb(value: u32, addr: *mut u8) -> u32 { strex8(value, addr) } -/// Executes a exclusive STR instruction for 16 bit values +/// Executes an exclusive STR instruction for 16 bit values /// /// Returns `0` if the operation succeeded, or `1` if it failed // Supported: v6K, v7-M, v7-A, v7-R, v8 @@ -105,7 +105,7 @@ pub unsafe fn __strexh(value: u16, addr: *mut u16) -> u32 { strex16(value as u32, addr) } -/// Executes a exclusive STR instruction for 32 bit values +/// Executes an exclusive STR instruction for 32 bit values /// /// Returns `0` if the operation succeeded, or `1` if it failed // Supported: v6, v7-M, v6K, v7-A, v7-R, v8