Update comments, mostly spelling errors.

This commit is contained in:
Gregory Nutt 2018-01-27 09:37:46 -06:00
parent 49d07162bf
commit 12e3e47d3c
9 changed files with 28 additions and 26 deletions

View File

@ -43,7 +43,7 @@
#include <nuttx/config.h>
/* Only the STM32 F1 family has a dedicated address region for BKP memory. For F2,
* F3, and F3 parts, the bKP registers lie in the same address region as the RTCC
* F3, and F4 parts, the bKP registers lie in the same address region as the RTCC
* and the definitions in chip/stm32_rtcc.h should be used to access backup
* registers. NOTE: These definitions are not interchangeable!
*/

View File

@ -397,7 +397,7 @@ Loading Code
3 GND GND
4 JTAG_TCK SWDCLK/TCK SAM3X pin 28, Pulled up on board
5 GND GND
6 JTAG_TDO SWO/EXta/TRACECTL SAM3X pin 30, ulled up on board
6 JTAG_TDO SWO/EXta/TRACECTL SAM3X pin 30, Pulled up on board
7 N/C Key
8 JTAG_TDI NC/EXTb/TDI SAM3X pin 29, Pulled up on board
9 GND GNDDetect

View File

@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __CONFIGS_FLIPNCLICK_SAM3X_SRC_ARDUNO_DUE_H
#define __CONFIGS_FLIPNCLICK_SAM3X_SRC_ARDUNO_DUE_H
#ifndef __CONFIGS_FLIPNCLICK_SAM3X_SRC_FLIPNCLICK_SAM3X_H
#define __CONFIGS_FLIPNCLICK_SAM3X_SRC_FLIPNCLICK_SAM3X_H
/************************************************************************************
* Included Files
@ -159,5 +159,5 @@
int sam_bringup(void);
#endif /* __ASSEMBLY__ */
#endif /* __CONFIGS_FLIPNCLICK_SAM3X_SRC_ARDUNO_DUE_H */
#endif /* __CONFIGS_FLIPNCLICK_SAM3X_SRC_FLIPNCLICK_SAM3X_H */

View File

@ -99,7 +99,7 @@ volatile uint8_t g_cpu_nestcount[CONFIG_SMP_NCPUS];
* spinlock.
* - Another task on CPUm attempts to enter the critical section but has
* to wait, spinning to get g_cpu_irqlock with interrupts disabled.
* - The task on CPUn causes a new task to become ready-torun and the
* - The task on CPUn causes a new task to become ready-to-run and the
* scheduler selects CPUm. CPUm is requested to pause via a pause
* interrupt.
* - But the task on CPUm is also attempting to enter the critical
@ -641,7 +641,7 @@ bool irq_cpu_locked(int cpu)
{
/* In this case g_cpu_irqlock should be unlocked. However, if
* the lock was established in the interrupt handler AND there are
* no bits set in g_cpu_irqset, that probabaly means only that
* no bits set in g_cpu_irqset, that probably means only that
* critical section was established from an interrupt handler.
* Return false in either case.
*/

View File

@ -286,7 +286,7 @@ static int modprocfs_dup(FAR const struct file *oldp, FAR struct file *newp)
return -ENOMEM;
}
/* The copy the file attribtes from the old attributes to the new */
/* The copy the file attributes from the old attributes to the new */
memcpy(newpriv, oldpriv, sizeof(struct modprocfs_file_s));

View File

@ -405,7 +405,7 @@ bool sched_addreadytorun(FAR struct tcb_s *btcb)
/* No context switch. Assign the CPU and set the assigned state.
*
* REVISIT: I have seen this assertion fire. Apparently another
* CPU may add another, higher prioirity task to the same
* CPU may add another, higher priority task to the same
* g_assignedtasks[] list sometime after sched_cpu_select() was
* called above, leaving this TCB in the wrong task list if task_state
* is TSTATE_TASK_ASSIGNED).

View File

@ -351,7 +351,8 @@ int posix_spawn(FAR pid_t *pid, FAR const char *path,
pid, path, file_actions, attr, argv);
/* If there are no file actions to be performed and there is no change to
* the signal mask, then start the new child task directly from the parent task.
* the signal mask, then start the new child task directly from the parent
* task.
*/
#ifndef CONFIG_DISABLE_SIGNALS

View File

@ -57,6 +57,7 @@
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
/* This is an artificial limit to detect error conditions where an argv[]
* list is not properly terminated.
*/
@ -702,12 +703,11 @@ int pthread_schedsetup(FAR struct pthread_tcb_s *tcb, int priority,
* Input Parameters:
* tcb - Address of the new task's TCB
* name - Name of the new task (not used)
* argv - A pointer to an array of input parameters.
* Up to CONFIG_MAX_TASK_ARG parameters may be
* provided. If fewer than CONFIG_MAX_TASK_ARG
* parameters are passed, the list should be
* terminated with a NULL argv[] value.
* If no parameters are required, argv may be NULL.
* argv - A pointer to an array of input parameters. Up to
* CONFIG_MAX_TASK_ARG parameters may be provided. If fewer than
* CONFIG_MAX_TASK_ARG parameters are passed, the list should be
* terminated with a NULL argv[] value. If no parameters are
* required, argv may be NULL.
*
* Return Value:
* OK

View File

@ -57,6 +57,7 @@
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
/* vfork() requires architecture-specific support as well as waipid(). */
#if defined(CONFIG_ARCH_HAVE_VFORK) && defined(CONFIG_SCHED_WAITPID)