Skip to content
Snippets Groups Projects
Commit 56756009 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Correct some comments

parent 266980b8
No related branches found
No related tags found
No related merge requests found
Documentation @ d1d8974e
Subproject commit 828f2ee5b4457168a75c4f3c403c17e7d7605209
Subproject commit d1d8974e7a8c743ed2ee102a93ad73478755a080
......@@ -1692,7 +1692,7 @@ int up_timer_start(FAR const struct timespec *ts);
* Returned Value:
* The spinlock is always locked upon return. The value of previous value
* of the spinlock variable is returned, either SP_LOCKED if the spinlock
* as previously locked (meaning that the test-and-set operation failed to
* was previously locked (meaning that the test-and-set operation failed to
* obtain the lock) or SP_UNLOCKED if the spinlock was previously unlocked
* (meaning that we successfully obtained the lock)
*
......@@ -1733,7 +1733,7 @@ int up_cpu_index(void);
*
* Each CPU is provided the entry point to is 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 alloced or
* CPU's g_assignedtasks[cpu] list. A stack has also been allocateded and
* initialized.
*
* The OS initialization logic calls this function repeatedly until each
......@@ -1788,7 +1788,7 @@ int up_cpu_initialize(void);
* CPU.
*
* Input Parameters:
* cpu - The index of the CPU to be stopped/
* cpu - The index of the CPU to be paused.
*
* Returned Value:
* Zero on success; a negated errno value on failure.
......@@ -1811,7 +1811,7 @@ int up_cpu_pause(int cpu);
* the CPU after modifying its g_assignedtasks[cpu] list.
*
* Input Parameters:
* cpu - The index of the CPU being re-started.
* cpu - The index of the CPU being resumed.
*
* Returned Value:
* Zero on success; a negated errno value on failure.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment