mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
*_cpustart.c: Fix typos in function description.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
committed by
Masayuki Ishikawa
parent
a09f262f1e
commit
054e284785
@@ -123,14 +123,14 @@ int arm_start_handler(int irq, FAR void *context, FAR void *arg)
|
|||||||
* Name: up_cpu_start
|
* Name: up_cpu_start
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* In an SMP configution, only one CPU is initially active (CPU 0). System
|
* In an SMP configuration, only one CPU is initially active (CPU 0).
|
||||||
* initialization occurs on that single thread. At the completion of the
|
* System initialization occurs on that single thread. At the completion of
|
||||||
* initialization of the OS, just before beginning normal multitasking,
|
* the initialization of the OS, just before beginning normal multitasking,
|
||||||
* the additional CPUs would be started by calling this function.
|
* 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
|
* 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.
|
* initialized.
|
||||||
*
|
*
|
||||||
* The OS initialization logic calls this function repeatedly until each
|
* 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:
|
* Input Parameters:
|
||||||
* cpu - The index of the CPU being started. This will be a numeric
|
* 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
|
* value in the range of one to (CONFIG_SMP_NCPUS-1).
|
||||||
* 0 is already active)
|
* (CPU 0 is already active)
|
||||||
*
|
*
|
||||||
* Returned Value:
|
* Returned Value:
|
||||||
* Zero on success; a negated errno value on failure.
|
* Zero on success; a negated errno value on failure.
|
||||||
|
|||||||
@@ -137,14 +137,14 @@ static void appdsp_boot(void)
|
|||||||
* Name: up_cpu_start
|
* Name: up_cpu_start
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* In an SMP configution, only one CPU is initially active (CPU 0). System
|
* In an SMP configuration, only one CPU is initially active (CPU 0).
|
||||||
* initialization occurs on that single thread. At the completion of the
|
* System initialization occurs on that single thread. At the completion of
|
||||||
* initialization of the OS, just before beginning normal multitasking,
|
* the initialization of the OS, just before beginning normal multitasking,
|
||||||
* the additional CPUs would be started by calling this function.
|
* 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
|
* 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.
|
* initialized.
|
||||||
*
|
*
|
||||||
* The OS initialization logic calls this function repeatedly until each
|
* The OS initialization logic calls this function repeatedly until each
|
||||||
@@ -152,8 +152,8 @@ static void appdsp_boot(void)
|
|||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* cpu - The index of the CPU being started. This will be a numeric
|
* 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
|
* value in the range of one to (CONFIG_SMP_NCPUS-1).
|
||||||
* 0 is already active)
|
* (CPU 0 is already active)
|
||||||
*
|
*
|
||||||
* Returned Value:
|
* Returned Value:
|
||||||
* Zero on success; a negated errno value on failure.
|
* Zero on success; a negated errno value on failure.
|
||||||
|
|||||||
@@ -127,14 +127,14 @@ static void cpu1_boot(void)
|
|||||||
* Name: up_cpu_start
|
* Name: up_cpu_start
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* In an SMP configution, only one CPU is initially active (CPU 0). System
|
* In an SMP configuration, only one CPU is initially active (CPU 0).
|
||||||
* initialization occurs on that single thread. At the completion of the
|
* System initialization occurs on that single thread. At the completion of
|
||||||
* initialization of the OS, just before beginning normal multitasking,
|
* the initialization of the OS, just before beginning normal multitasking,
|
||||||
* the additional CPUs would be started by calling this function.
|
* 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
|
* 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.
|
* initialized.
|
||||||
*
|
*
|
||||||
* The OS initialization logic calls this function repeatedly until each
|
* The OS initialization logic calls this function repeatedly until each
|
||||||
@@ -142,8 +142,8 @@ static void cpu1_boot(void)
|
|||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* cpu - The index of the CPU being started. This will be a numeric
|
* 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
|
* value in the range of one to (CONFIG_SMP_NCPUS-1).
|
||||||
* 0 is already active)
|
* (CPU 0 is already active)
|
||||||
*
|
*
|
||||||
* Returned Value:
|
* Returned Value:
|
||||||
* Zero on success; a negated errno value on failure.
|
* Zero on success; a negated errno value on failure.
|
||||||
|
|||||||
@@ -171,14 +171,14 @@ static void core1_boot(void)
|
|||||||
* Name: up_cpu_start
|
* Name: up_cpu_start
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* In an SMP configution, only one CPU is initially active (CPU 0). System
|
* In an SMP configuration, only one CPU is initially active (CPU 0).
|
||||||
* initialization occurs on that single thread. At the completion of the
|
* System initialization occurs on that single thread. At the completion of
|
||||||
* initialization of the OS, just before beginning normal multitasking,
|
* the initialization of the OS, just before beginning normal multitasking,
|
||||||
* the additional CPUs would be started by calling this function.
|
* 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
|
* 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.
|
* initialized.
|
||||||
*
|
*
|
||||||
* The OS initialization logic calls this function repeatedly until each
|
* The OS initialization logic calls this function repeatedly until each
|
||||||
@@ -186,8 +186,8 @@ static void core1_boot(void)
|
|||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* cpu - The index of the CPU being started. This will be a numeric
|
* 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
|
* value in the range of one to (CONFIG_SMP_NCPUS-1).
|
||||||
* 0 is already active)
|
* (CPU 0 is already active)
|
||||||
*
|
*
|
||||||
* Returned Value:
|
* Returned Value:
|
||||||
* Zero on success; a negated errno value on failure.
|
* Zero on success; a negated errno value on failure.
|
||||||
|
|||||||
@@ -130,14 +130,14 @@ static void cpu1_boot(void)
|
|||||||
* Name: up_cpu_start
|
* Name: up_cpu_start
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* In an SMP configution, only one CPU is initially active (CPU 0). System
|
* In an SMP configuration, only one CPU is initially active (CPU 0).
|
||||||
* initialization occurs on that single thread. At the completion of the
|
* System initialization occurs on that single thread. At the completion of
|
||||||
* initialization of the OS, just before beginning normal multitasking,
|
* the initialization of the OS, just before beginning normal multitasking,
|
||||||
* the additional CPUs would be started by calling this function.
|
* 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
|
* 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.
|
* initialized.
|
||||||
*
|
*
|
||||||
* The OS initialization logic calls this function repeatedly until each
|
* The OS initialization logic calls this function repeatedly until each
|
||||||
@@ -145,8 +145,8 @@ static void cpu1_boot(void)
|
|||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* cpu - The index of the CPU being started. This will be a numeric
|
* 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
|
* value in the range of one to (CONFIG_SMP_NCPUS-1).
|
||||||
* 0 is already active)
|
* (CPU 0 is already active)
|
||||||
*
|
*
|
||||||
* Returned Value:
|
* Returned Value:
|
||||||
* Zero on success; a negated errno value on failure.
|
* Zero on success; a negated errno value on failure.
|
||||||
|
|||||||
@@ -146,14 +146,14 @@ void k210_cpu_boot(int cpu)
|
|||||||
* Name: up_cpu_start
|
* Name: up_cpu_start
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* In an SMP configution, only one CPU is initially active (CPU 0). System
|
* In an SMP configuration, only one CPU is initially active (CPU 0).
|
||||||
* initialization occurs on that single thread. At the completion of the
|
* System initialization occurs on that single thread. At the completion of
|
||||||
* initialization of the OS, just before beginning normal multitasking,
|
* the initialization of the OS, just before beginning normal multitasking,
|
||||||
* the additional CPUs would be started by calling this function.
|
* 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
|
* 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.
|
* initialized.
|
||||||
*
|
*
|
||||||
* The OS initialization logic calls this function repeatedly until each
|
* The OS initialization logic calls this function repeatedly until each
|
||||||
@@ -161,8 +161,8 @@ void k210_cpu_boot(int cpu)
|
|||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* cpu - The index of the CPU being started. This will be a numeric
|
* 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
|
* value in the range of one to (CONFIG_SMP_NCPUS-1).
|
||||||
* 0 is already active)
|
* (CPU 0 is already active)
|
||||||
*
|
*
|
||||||
* Returned Value:
|
* Returned Value:
|
||||||
* Zero on success; a negated errno value on failure.
|
* Zero on success; a negated errno value on failure.
|
||||||
|
|||||||
@@ -118,8 +118,8 @@ static inline void xtensa_attach_fromcpu0_interrupt(void)
|
|||||||
* Name: xtensa_appcpu_start
|
* Name: xtensa_appcpu_start
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* This is the entry point used with the APP CPU was started via
|
* This is the entry point used for the APP CPU when it's started via
|
||||||
* up_cpu_start(). The actually start-up logic in in ROM and we boot up
|
* up_cpu_start(). The actual start-up logic is in ROM and we boot up
|
||||||
* in C code.
|
* in C code.
|
||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
@@ -229,14 +229,14 @@ void xtensa_appcpu_start(void)
|
|||||||
* Name: up_cpu_start
|
* Name: up_cpu_start
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* In an SMP configution, only one CPU is initially active (CPU 0). System
|
* In an SMP configuration, only one CPU is initially active (CPU 0).
|
||||||
* initialization occurs on that single thread. At the completion of the
|
* System initialization occurs on that single thread. At the completion of
|
||||||
* initialization of the OS, just before beginning normal multitasking,
|
* the initialization of the OS, just before beginning normal multitasking,
|
||||||
* the additional CPUs would be started by calling this function.
|
* 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
|
* 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.
|
* initialized.
|
||||||
*
|
*
|
||||||
* The OS initialization logic calls this function repeatedly until each
|
* The OS initialization logic calls this function repeatedly until each
|
||||||
@@ -244,8 +244,8 @@ void xtensa_appcpu_start(void)
|
|||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* cpu - The index of the CPU being started. This will be a numeric
|
* 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
|
* value in the range of one to (CONFIG_SMP_NCPUS-1).
|
||||||
* 0 is already active)
|
* (CPU 0 is already active)
|
||||||
*
|
*
|
||||||
* Returned Value:
|
* Returned Value:
|
||||||
* Zero on success; a negated errno value on failure.
|
* Zero on success; a negated errno value on failure.
|
||||||
|
|||||||
@@ -1910,14 +1910,14 @@ int up_cpu_idlestack(int cpu, FAR struct tcb_s *tcb, size_t stack_size);
|
|||||||
* Name: up_cpu_start
|
* Name: up_cpu_start
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* In an SMP configution, only one CPU is initially active (CPU 0). System
|
* In an SMP configuration, only one CPU is initially active (CPU 0).
|
||||||
* initialization occurs on that single thread. At the completion of the
|
* System initialization occurs on that single thread. At the completion of
|
||||||
* initialization of the OS, just before beginning normal multitasking,
|
* the initialization of the OS, just before beginning normal multitasking,
|
||||||
* the additional CPUs would be started by calling this function.
|
* 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
|
* 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.
|
* initialized.
|
||||||
*
|
*
|
||||||
* The OS initialization logic calls this function repeatedly until each
|
* 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:
|
* Input Parameters:
|
||||||
* cpu - The index of the CPU being started. This will be a numeric
|
* 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
|
* value in the range of one to (CONFIG_SMP_NCPUS-1).
|
||||||
* 0 is already active)
|
* (CPU 0 is already active)
|
||||||
*
|
*
|
||||||
* Returned Value:
|
* Returned Value:
|
||||||
* Zero on success; a negated errno value on failure.
|
* Zero on success; a negated errno value on failure.
|
||||||
|
|||||||
Reference in New Issue
Block a user