From 054e284785fe6fed8e4d70e9c8e401cca844c128 Mon Sep 17 00:00:00 2001 From: Abdelatif Guettouche Date: Tue, 10 Aug 2021 21:00:09 +0200 Subject: [PATCH] *_cpustart.c: Fix typos in function description. Signed-off-by: Abdelatif Guettouche --- arch/arm/src/armv7-a/arm_cpustart.c | 14 +++++++------- arch/arm/src/cxd56xx/cxd56_cpustart.c | 14 +++++++------- arch/arm/src/lc823450/lc823450_cpustart.c | 14 +++++++------- arch/arm/src/rp2040/rp2040_cpustart.c | 14 +++++++------- arch/arm/src/sam34/sam4cm_cpustart.c | 14 +++++++------- arch/risc-v/src/k210/k210_cpustart.c | 14 +++++++------- arch/xtensa/src/esp32/esp32_cpustart.c | 18 +++++++++--------- include/nuttx/arch.h | 14 +++++++------- 8 files changed, 58 insertions(+), 58 deletions(-) diff --git a/arch/arm/src/armv7-a/arm_cpustart.c b/arch/arm/src/armv7-a/arm_cpustart.c index 1bcac9d50f1..015931ab852 100644 --- a/arch/arm/src/armv7-a/arm_cpustart.c +++ b/arch/arm/src/armv7-a/arm_cpustart.c @@ -123,14 +123,14 @@ int arm_start_handler(int irq, FAR void *context, FAR void *arg) * Name: up_cpu_start * * Description: - * In an SMP configution, only one CPU is initially active (CPU 0). System - * initialization occurs on that single thread. At the completion of the - * initialization of the OS, just before beginning normal multitasking, + * In an SMP configuration, only one CPU is initially active (CPU 0). + * System initialization occurs on that single thread. At the completion of + * the initialization of the OS, just before beginning normal multitasking, * the additional CPUs would be started by calling this function. * - * Each CPU is provided the entry point to is IDLE task when started. A + * Each CPU is provided the entry point to its IDLE task when started. A * TCB for each CPU's IDLE task has been initialized and placed in the - * CPU's g_assignedtasks[cpu] list. Not stack has been allocated or + * CPU's g_assignedtasks[cpu] list. No stack has been allocated or * initialized. * * The OS initialization logic calls this function repeatedly until each @@ -138,8 +138,8 @@ int arm_start_handler(int irq, FAR void *context, FAR void *arg) * * Input Parameters: * cpu - The index of the CPU being started. This will be a numeric - * value in the range of from one to (CONFIG_SMP_NCPUS-1). (CPU - * 0 is already active) + * value in the range of one to (CONFIG_SMP_NCPUS-1). + * (CPU 0 is already active) * * Returned Value: * Zero on success; a negated errno value on failure. diff --git a/arch/arm/src/cxd56xx/cxd56_cpustart.c b/arch/arm/src/cxd56xx/cxd56_cpustart.c index 266a7ede8dd..bbdea2c4ddd 100644 --- a/arch/arm/src/cxd56xx/cxd56_cpustart.c +++ b/arch/arm/src/cxd56xx/cxd56_cpustart.c @@ -137,14 +137,14 @@ static void appdsp_boot(void) * Name: up_cpu_start * * Description: - * In an SMP configution, only one CPU is initially active (CPU 0). System - * initialization occurs on that single thread. At the completion of the - * initialization of the OS, just before beginning normal multitasking, + * In an SMP configuration, only one CPU is initially active (CPU 0). + * System initialization occurs on that single thread. At the completion of + * the initialization of the OS, just before beginning normal multitasking, * the additional CPUs would be started by calling this function. * - * Each CPU is provided the entry point to is IDLE task when started. A + * Each CPU is provided the entry point to its IDLE task when started. A * TCB for each CPU's IDLE task has been initialized and placed in the - * CPU's g_assignedtasks[cpu] list. Not stack has been allocated or + * CPU's g_assignedtasks[cpu] list. No stack has been allocated or * initialized. * * The OS initialization logic calls this function repeatedly until each @@ -152,8 +152,8 @@ static void appdsp_boot(void) * * Input Parameters: * cpu - The index of the CPU being started. This will be a numeric - * value in the range of from one to (CONFIG_SMP_NCPUS-1). (CPU - * 0 is already active) + * value in the range of one to (CONFIG_SMP_NCPUS-1). + * (CPU 0 is already active) * * Returned Value: * Zero on success; a negated errno value on failure. diff --git a/arch/arm/src/lc823450/lc823450_cpustart.c b/arch/arm/src/lc823450/lc823450_cpustart.c index 043ceaeb9db..cfc8db0768d 100644 --- a/arch/arm/src/lc823450/lc823450_cpustart.c +++ b/arch/arm/src/lc823450/lc823450_cpustart.c @@ -127,14 +127,14 @@ static void cpu1_boot(void) * Name: up_cpu_start * * Description: - * In an SMP configution, only one CPU is initially active (CPU 0). System - * initialization occurs on that single thread. At the completion of the - * initialization of the OS, just before beginning normal multitasking, + * In an SMP configuration, only one CPU is initially active (CPU 0). + * System initialization occurs on that single thread. At the completion of + * the initialization of the OS, just before beginning normal multitasking, * the additional CPUs would be started by calling this function. * - * Each CPU is provided the entry point to is IDLE task when started. A + * Each CPU is provided the entry point to its IDLE task when started. A * TCB for each CPU's IDLE task has been initialized and placed in the - * CPU's g_assignedtasks[cpu] list. Not stack has been allocated or + * CPU's g_assignedtasks[cpu] list. No stack has been allocated or * initialized. * * The OS initialization logic calls this function repeatedly until each @@ -142,8 +142,8 @@ static void cpu1_boot(void) * * Input Parameters: * cpu - The index of the CPU being started. This will be a numeric - * value in the range of from one to (CONFIG_SMP_NCPUS-1). (CPU - * 0 is already active) + * value in the range of one to (CONFIG_SMP_NCPUS-1). + * (CPU 0 is already active) * * Returned Value: * Zero on success; a negated errno value on failure. diff --git a/arch/arm/src/rp2040/rp2040_cpustart.c b/arch/arm/src/rp2040/rp2040_cpustart.c index 08c16c2d726..af6f5b5420b 100644 --- a/arch/arm/src/rp2040/rp2040_cpustart.c +++ b/arch/arm/src/rp2040/rp2040_cpustart.c @@ -171,14 +171,14 @@ static void core1_boot(void) * Name: up_cpu_start * * Description: - * In an SMP configution, only one CPU is initially active (CPU 0). System - * initialization occurs on that single thread. At the completion of the - * initialization of the OS, just before beginning normal multitasking, + * In an SMP configuration, only one CPU is initially active (CPU 0). + * System initialization occurs on that single thread. At the completion of + * the initialization of the OS, just before beginning normal multitasking, * the additional CPUs would be started by calling this function. * - * Each CPU is provided the entry point to is IDLE task when started. A + * Each CPU is provided the entry point to its IDLE task when started. A * TCB for each CPU's IDLE task has been initialized and placed in the - * CPU's g_assignedtasks[cpu] list. Not stack has been allocated or + * CPU's g_assignedtasks[cpu] list. No stack has been allocated or * initialized. * * The OS initialization logic calls this function repeatedly until each @@ -186,8 +186,8 @@ static void core1_boot(void) * * Input Parameters: * cpu - The index of the CPU being started. This will be a numeric - * value in the range of from one to (CONFIG_SMP_NCPUS-1). (CPU - * 0 is already active) + * value in the range of one to (CONFIG_SMP_NCPUS-1). + * (CPU 0 is already active) * * Returned Value: * Zero on success; a negated errno value on failure. diff --git a/arch/arm/src/sam34/sam4cm_cpustart.c b/arch/arm/src/sam34/sam4cm_cpustart.c index a653dfc13c9..81d23360895 100644 --- a/arch/arm/src/sam34/sam4cm_cpustart.c +++ b/arch/arm/src/sam34/sam4cm_cpustart.c @@ -130,14 +130,14 @@ static void cpu1_boot(void) * Name: up_cpu_start * * Description: - * In an SMP configution, only one CPU is initially active (CPU 0). System - * initialization occurs on that single thread. At the completion of the - * initialization of the OS, just before beginning normal multitasking, + * In an SMP configuration, only one CPU is initially active (CPU 0). + * System initialization occurs on that single thread. At the completion of + * the initialization of the OS, just before beginning normal multitasking, * the additional CPUs would be started by calling this function. * - * Each CPU is provided the entry point to is IDLE task when started. A + * Each CPU is provided the entry point to its IDLE task when started. A * TCB for each CPU's IDLE task has been initialized and placed in the - * CPU's g_assignedtasks[cpu] list. Not stack has been allocated or + * CPU's g_assignedtasks[cpu] list. No stack has been allocated or * initialized. * * The OS initialization logic calls this function repeatedly until each @@ -145,8 +145,8 @@ static void cpu1_boot(void) * * Input Parameters: * cpu - The index of the CPU being started. This will be a numeric - * value in the range of from one to (CONFIG_SMP_NCPUS-1). (CPU - * 0 is already active) + * value in the range of one to (CONFIG_SMP_NCPUS-1). + * (CPU 0 is already active) * * Returned Value: * Zero on success; a negated errno value on failure. diff --git a/arch/risc-v/src/k210/k210_cpustart.c b/arch/risc-v/src/k210/k210_cpustart.c index c3e47af4062..7218ded8243 100644 --- a/arch/risc-v/src/k210/k210_cpustart.c +++ b/arch/risc-v/src/k210/k210_cpustart.c @@ -146,14 +146,14 @@ void k210_cpu_boot(int cpu) * Name: up_cpu_start * * Description: - * In an SMP configution, only one CPU is initially active (CPU 0). System - * initialization occurs on that single thread. At the completion of the - * initialization of the OS, just before beginning normal multitasking, + * In an SMP configuration, only one CPU is initially active (CPU 0). + * System initialization occurs on that single thread. At the completion of + * the initialization of the OS, just before beginning normal multitasking, * the additional CPUs would be started by calling this function. * - * Each CPU is provided the entry point to is IDLE task when started. A + * Each CPU is provided the entry point to its IDLE task when started. A * TCB for each CPU's IDLE task has been initialized and placed in the - * CPU's g_assignedtasks[cpu] list. Not stack has been allocated or + * CPU's g_assignedtasks[cpu] list. No stack has been allocated or * initialized. * * The OS initialization logic calls this function repeatedly until each @@ -161,8 +161,8 @@ void k210_cpu_boot(int cpu) * * Input Parameters: * cpu - The index of the CPU being started. This will be a numeric - * value in the range of from one to (CONFIG_SMP_NCPUS-1). (CPU - * 0 is already active) + * value in the range of one to (CONFIG_SMP_NCPUS-1). + * (CPU 0 is already active) * * Returned Value: * Zero on success; a negated errno value on failure. diff --git a/arch/xtensa/src/esp32/esp32_cpustart.c b/arch/xtensa/src/esp32/esp32_cpustart.c index acd112e971a..531c4946ee5 100644 --- a/arch/xtensa/src/esp32/esp32_cpustart.c +++ b/arch/xtensa/src/esp32/esp32_cpustart.c @@ -118,8 +118,8 @@ static inline void xtensa_attach_fromcpu0_interrupt(void) * Name: xtensa_appcpu_start * * Description: - * This is the entry point used with the APP CPU was started via - * up_cpu_start(). The actually start-up logic in in ROM and we boot up + * This is the entry point used for the APP CPU when it's started via + * up_cpu_start(). The actual start-up logic is in ROM and we boot up * in C code. * * Input Parameters: @@ -229,14 +229,14 @@ void xtensa_appcpu_start(void) * Name: up_cpu_start * * Description: - * In an SMP configution, only one CPU is initially active (CPU 0). System - * initialization occurs on that single thread. At the completion of the - * initialization of the OS, just before beginning normal multitasking, + * In an SMP configuration, only one CPU is initially active (CPU 0). + * System initialization occurs on that single thread. At the completion of + * the initialization of the OS, just before beginning normal multitasking, * the additional CPUs would be started by calling this function. * - * Each CPU is provided the entry point to is IDLE task when started. A + * Each CPU is provided the entry point to its IDLE task when started. A * TCB for each CPU's IDLE task has been initialized and placed in the - * CPU's g_assignedtasks[cpu] list. Not stack has been allocated or + * CPU's g_assignedtasks[cpu] list. No stack has been allocated or * initialized. * * The OS initialization logic calls this function repeatedly until each @@ -244,8 +244,8 @@ void xtensa_appcpu_start(void) * * Input Parameters: * cpu - The index of the CPU being started. This will be a numeric - * value in the range of from one to (CONFIG_SMP_NCPUS-1). (CPU - * 0 is already active) + * value in the range of one to (CONFIG_SMP_NCPUS-1). + * (CPU 0 is already active) * * Returned Value: * Zero on success; a negated errno value on failure. diff --git a/include/nuttx/arch.h b/include/nuttx/arch.h index 76fc49278c0..fab214abbb1 100644 --- a/include/nuttx/arch.h +++ b/include/nuttx/arch.h @@ -1910,14 +1910,14 @@ int up_cpu_idlestack(int cpu, FAR struct tcb_s *tcb, size_t stack_size); * Name: up_cpu_start * * Description: - * In an SMP configution, only one CPU is initially active (CPU 0). System - * initialization occurs on that single thread. At the completion of the - * initialization of the OS, just before beginning normal multitasking, + * In an SMP configuration, only one CPU is initially active (CPU 0). + * System initialization occurs on that single thread. At the completion of + * the initialization of the OS, just before beginning normal multitasking, * the additional CPUs would be started by calling this function. * - * Each CPU is provided the entry point to is IDLE task when started. A + * Each CPU is provided the entry point to its IDLE task when started. A * TCB for each CPU's IDLE task has been initialized and placed in the - * CPU's g_assignedtasks[cpu] list. A stack has also been allocateded and + * CPU's g_assignedtasks[cpu] list. No stack has been allocated or * initialized. * * The OS initialization logic calls this function repeatedly until each @@ -1925,8 +1925,8 @@ int up_cpu_idlestack(int cpu, FAR struct tcb_s *tcb, size_t stack_size); * * Input Parameters: * cpu - The index of the CPU being started. This will be a numeric - * value in the range of from one to (CONFIG_SMP_NCPUS-1). (CPU - * 0 is already active) + * value in the range of one to (CONFIG_SMP_NCPUS-1). + * (CPU 0 is already active) * * Returned Value: * Zero on success; a negated errno value on failure.