From 70772add281a24087e1be0fb73594665ae29aa59 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 11 Mar 2017 19:33:29 +0300 Subject: [PATCH] arch/arm/core: In comments, consistently refer to "Cortex-M". This directory now handles all of Cortex-M0, Cortex-M3/M4. So, just consistently use "Cortex-M" (as used by number of files already) without refering to a particular subarch. Also, consistently (letter casing) spell it as "Cortex-M". A typo is fixed too. Change-Id: I42ee09abc9a503381bca4ae437c83a8f48816ebc Signed-off-by: Paul Sokolovsky --- arch/arm/core/cortex_m/scb.c | 2 +- arch/arm/core/cpu_idle.S | 4 ++-- arch/arm/core/exc_exit.S | 2 +- arch/arm/core/irq_manage.c | 2 +- arch/arm/core/isr_wrapper.S | 2 +- arch/arm/core/swap.S | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/core/cortex_m/scb.c b/arch/arm/core/cortex_m/scb.c index f5bca9b33e7..694e50bbd22 100644 --- a/arch/arm/core/cortex_m/scb.c +++ b/arch/arm/core/cortex_m/scb.c @@ -6,7 +6,7 @@ /** * @file - * @brief ARM CORTEX-M3 System Control Block interface + * @brief ARM Cortex-M System Control Block interface * * * Most of the SCB interface consists of simple bit-flipping methods, and is diff --git a/arch/arm/core/cpu_idle.S b/arch/arm/core/cpu_idle.S index b139539a63c..221527b9d3a 100644 --- a/arch/arm/core/cpu_idle.S +++ b/arch/arm/core/cpu_idle.S @@ -6,7 +6,7 @@ /** * @file - * @brief ARM CORTEX-M3 power management + * @brief ARM Cortex-M power management * */ @@ -100,7 +100,7 @@ SECTION_FUNC(TEXT, _NanoIdleValClear) * * @brief Power save idle routine for ARM Cortex-M * - * This function will be called by the ernel idle loop or possibly within + * This function will be called by the kernel idle loop or possibly within * an implementation of _sys_power_save_idle in the kernel when the * '_sys_power_save_flag' variable is non-zero. The ARM 'wfi' instruction * will be issued, causing a low-power consumption sleep mode. diff --git a/arch/arm/core/exc_exit.S b/arch/arm/core/exc_exit.S index 1e19e597ff8..dfc0d114513 100644 --- a/arch/arm/core/exc_exit.S +++ b/arch/arm/core/exc_exit.S @@ -6,7 +6,7 @@ /** * @file - * @brief ARM CORTEX-M exception/interrupt exit API + * @brief ARM Cortex-M exception/interrupt exit API * * * Provides functions for performing kernel handling when exiting exceptions or diff --git a/arch/arm/core/irq_manage.c b/arch/arm/core/irq_manage.c index b36b007800d..8b798e30931 100644 --- a/arch/arm/core/irq_manage.c +++ b/arch/arm/core/irq_manage.c @@ -6,7 +6,7 @@ /** * @file - * @brief ARM CORTEX-M3 interrupt management + * @brief ARM Cortex-M interrupt management * * * Interrupt management: enabling/disabling and dynamic ISR diff --git a/arch/arm/core/isr_wrapper.S b/arch/arm/core/isr_wrapper.S index a56aa1f1586..52aeee9226f 100644 --- a/arch/arm/core/isr_wrapper.S +++ b/arch/arm/core/isr_wrapper.S @@ -6,7 +6,7 @@ /** * @file - * @brief ARM CORTEX-M3 wrapper for ISRs with parameter + * @brief ARM Cortex-M wrapper for ISRs with parameter * * Wrapper installed in vector table for handling dynamic interrupts that accept * a parameter. diff --git a/arch/arm/core/swap.S b/arch/arm/core/swap.S index de321df373d..9b935fc12b0 100644 --- a/arch/arm/core/swap.S +++ b/arch/arm/core/swap.S @@ -9,7 +9,7 @@ * @brief Thread context switching for ARM Cortex-M * * This module implements the routines necessary for thread context switching - * on ARM Cortex-M3/M4 CPUs. + * on ARM Cortex-M CPUs. */ #include