From 61c60be3026bbd0b2c38e45fed1191c94f618953 Mon Sep 17 00:00:00 2001 From: Ioannis Glaropoulos Date: Wed, 9 Oct 2019 10:37:28 +0200 Subject: [PATCH] arch: arm: core: add Cortex-R in the files description headers arch/arm/core is shared between Cortex-M and Cortex-R, so enhance the file description headers accordingly. Signed-off-by: Ioannis Glaropoulos --- arch/arm/core/cpu_idle.S | 2 +- arch/arm/core/exc_exit.S | 2 +- arch/arm/core/fatal.c | 5 +++-- arch/arm/core/fault_s.S | 4 ++-- arch/arm/core/irq_manage.c | 2 +- arch/arm/core/isr_wrapper.S | 2 +- arch/arm/core/swap_helper.S | 5 +++-- arch/arm/core/thread.c | 5 +++-- 8 files changed, 15 insertions(+), 12 deletions(-) diff --git a/arch/arm/core/cpu_idle.S b/arch/arm/core/cpu_idle.S index a27c143b6b3..ad5ffb6c5ad 100644 --- a/arch/arm/core/cpu_idle.S +++ b/arch/arm/core/cpu_idle.S @@ -6,7 +6,7 @@ /** * @file - * @brief ARM Cortex-M power management + * @brief ARM Cortex-M and Cortex-R power management * */ diff --git a/arch/arm/core/exc_exit.S b/arch/arm/core/exc_exit.S index 9e3c341057b..cc5407a3e01 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 and Cortex-R exception/interrupt exit API * * * Provides functions for performing kernel handling when exiting exceptions or diff --git a/arch/arm/core/fatal.c b/arch/arm/core/fatal.c index fa89f390d81..86a19c8493d 100644 --- a/arch/arm/core/fatal.c +++ b/arch/arm/core/fatal.c @@ -6,9 +6,10 @@ /** * @file - * @brief Kernel fatal error handler for ARM Cortex-M + * @brief Kernel fatal error handler for ARM Cortex-M and Cortex-R * - * This module provides the z_NanoFatalErrorHandler() routine for ARM Cortex-M. + * This module provides the z_arm_fatal_error() routine for ARM Cortex-M + * and Cortex-R CPUs. */ #include diff --git a/arch/arm/core/fault_s.S b/arch/arm/core/fault_s.S index 06d278cf703..50f5cee6697 100644 --- a/arch/arm/core/fault_s.S +++ b/arch/arm/core/fault_s.S @@ -6,9 +6,9 @@ /** * @file - * @brief Fault handlers for ARM Cortex-M + * @brief Fault handlers for ARM Cortex-M and Cortex-R * - * Fault handlers for ARM Cortex-M processors. + * Fault handlers for ARM Cortex-M and Cortex-R processors. */ #include diff --git a/arch/arm/core/irq_manage.c b/arch/arm/core/irq_manage.c index e0a5ce6bffc..4b3d0d6f7ca 100644 --- a/arch/arm/core/irq_manage.c +++ b/arch/arm/core/irq_manage.c @@ -6,7 +6,7 @@ /** * @file - * @brief ARM Cortex-M interrupt management + * @brief ARM Cortex-M and Cortex-R 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 c83306ea44a..466afa05123 100644 --- a/arch/arm/core/isr_wrapper.S +++ b/arch/arm/core/isr_wrapper.S @@ -6,7 +6,7 @@ /** * @file - * @brief ARM Cortex-M wrapper for ISRs with parameter + * @brief ARM Cortex-M and Cortex-R 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_helper.S b/arch/arm/core/swap_helper.S index 9cfb343110b..be8b79534a9 100644 --- a/arch/arm/core/swap_helper.S +++ b/arch/arm/core/swap_helper.S @@ -1,15 +1,16 @@ /* * Copyright (c) 2013-2014 Wind River Systems, Inc. + * Copyright (c) 2017-2019 Nordic Semiconductor ASA. * * SPDX-License-Identifier: Apache-2.0 */ /** * @file - * @brief Thread context switching for ARM Cortex-M + * @brief Thread context switching for ARM Cortex-M and Cortex-R * * This module implements the routines necessary for thread context switching - * on ARM Cortex-M CPUs. + * on ARM Cortex-M and Cortex-R CPUs. */ #include diff --git a/arch/arm/core/thread.c b/arch/arm/core/thread.c index 6e32868c364..fb6216de81b 100644 --- a/arch/arm/core/thread.c +++ b/arch/arm/core/thread.c @@ -6,9 +6,10 @@ /** * @file - * @brief New thread creation for ARM Cortex-M + * @brief New thread creation for ARM Cortex-M and Cortex-R * - * Core thread related primitives for the ARM Cortex-M processor architecture. + * Core thread related primitives for the ARM Cortex-M and Cortex-R + * processor architecture. */ #include