File tree Expand file tree Collapse file tree 9 files changed +14
-14
lines changed
Expand file tree Collapse file tree 9 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -279,16 +279,16 @@ void OSTaskReturnHook (OS_TCB *p_tcb)
279279* prior to ARMV7 and to the A, R and M architecture profiles thereafter. Special considerations
280280* associated with ARMV7M are discussed in section 2.3.3"
281281*
282- * (1) Even if the SP 8-byte aligment is not a requirement for the ARMv7M profile, the stack is aligned
283- * to 8-byte boundaries to support legacy execution enviroments .
282+ * (1) Even if the SP 8-byte alignment is not a requirement for the ARMv7M profile, the stack is aligned
283+ * to 8-byte boundaries to support legacy execution environments .
284284*
285285* (c) Section 5.2.1.2 from the Procedure Call Standard for the ARM
286286* architecture states : "The stack must also conform to the following
287287* constraint at a public interface:
288288*
289289* (1) SP mod 8 = 0. The stack must be double-word aligned"
290290*
291- * (d) From the ARM Technical Support Knowledge Base. 8 Byte stack aligment .
291+ * (d) From the ARM Technical Support Knowledge Base. 8 Byte stack alignment .
292292*
293293* "8 byte stack alignment is a requirement of the ARM Architecture Procedure
294294* Call Standard [AAPCS]. This specifies that functions must maintain an 8 byte
Original file line number Diff line number Diff line change @@ -404,16 +404,16 @@ void OSTaskReturnHook (OS_TCB *p_tcb)
404404* prior to ARMV7 and to the A, R and M architecture profiles thereafter. Special considerations
405405* associated with ARMV7M are discussed in section 2.3.3"
406406*
407- * (1) Even if the SP 8-byte aligment is not a requirement for the ARMv7M profile, the stack is aligned
408- * to 8-byte boundaries to support legacy execution enviroments .
407+ * (1) Even if the SP 8-byte alignment is not a requirement for the ARMv7M profile, the stack is aligned
408+ * to 8-byte boundaries to support legacy execution environments .
409409*
410410* (c) Section 5.2.1.2 from the Procedure Call Standard for the ARM
411411* architecture states : "The stack must also conform to the following
412412* constraint at a public interface:
413413*
414414* (1) SP mod 8 = 0. The stack must be double-word aligned"
415415*
416- * (d) From the ARM Technical Support Knowledge Base. 8 Byte stack aligment .
416+ * (d) From the ARM Technical Support Knowledge Base. 8 Byte stack alignment .
417417*
418418* "8 byte stack alignment is a requirement of the ARM Architecture Procedure
419419* Call Standard [AAPCS]. This specifies that functions must maintain an 8 byte
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ void OSTaskDelHook (OS_TCB *ptcb)
146146*
147147* Description: This function is called when a task returns without being properly deleted.
148148*
149- * Arguments : ptcb is a pointer to the task control block of the task that was accidently returned.
149+ * Arguments : ptcb is a pointer to the task control block of the task that was accidentally returned.
150150*
151151* Note(s) : 1) Interrupts are disabled during this call.
152152*********************************************************************************************************
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ extern "C" {
4949*
5050* Note(s): OS_TASK_SW() invokes the task level context switch.
5151*
52- * (1) On some processors, this corresponds to a call to OSCtxSw() which is an assemply language
52+ * (1) On some processors, this corresponds to a call to OSCtxSw() which is an assembly language
5353* function that performs the context switch.
5454*
5555* (2) On some processors, you need to simulate an interrupt using a 'sowfate interrupt' or a
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ void OSStatReset (OS_ERR *p_err)
179179*
180180* Argument(s): p_err is a pointer to a variable that will contain an error code returned by this function.
181181*
182- * OS_ERR_NONE The call was successfu
182+ * OS_ERR_NONE The call was successful
183183* OS_ERR_OS_NOT_RUNNING If uC/OS-III is not running yet
184184*
185185* Returns : none
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ OS_TLS OS_TLS_GetValue (OS_TCB *p_tcb,
180180* OS_TLS_ID id,
181181* OS_TLS value);
182182*
183- * you can specify a NULL pointer if you don't want to have a fucntion associated with a TLS
183+ * you can specify a NULL pointer if you don't want to have a function associated with a TLS
184184* register. A NULL pointer (i.e. no function associated with a TLS register) is the default
185185* value placed in OS_TLS_DestructPtrTbl[].
186186*
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ OS_TLS OS_TLS_GetValue (OS_TCB *p_tcb,
225225* OS_TLS_ID id,
226226* OS_TLS value);
227227*
228- * you can specify a NULL pointer if you don't want to have a fucntion associated with a TLS
228+ * you can specify a NULL pointer if you don't want to have a function associated with a TLS
229229* register. A NULL pointer (i.e. no function associated with a TLS register) is the default
230230* value placed in OS_TLS_DestructPtrTbl[].
231231*
@@ -508,7 +508,7 @@ static void OS_TLS_LockCreate (void **p_lock)
508508 (CPU_CHAR * ) 0 ,
509509 (OS_ERR * )& err );
510510
511- if (err != OS_ERR_NONE ) { /* If the mutex create funtion fail? */
511+ if (err != OS_ERR_NONE ) { /* If the mutex create function fail? */
512512 CPU_CRITICAL_ENTER ();
513513 /* Return the OS_TLS_LOCK in front of the list */
514514 p_tls_lock -> NextPtr = OS_TLS_LockPoolListPtr ;
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ OS_TLS OS_TLS_GetValue (OS_TCB *p_tcb,
209209* OS_TLS_ID id,
210210* OS_TLS value);
211211*
212- * you can specify a NULL pointer if you don't want to have a fucntion associated with a TLS
212+ * you can specify a NULL pointer if you don't want to have a function associated with a TLS
213213* register. A NULL pointer (i.e. no function associated with a TLS register) is the default
214214* value placed in OS_TLS_DestructPtrTbl[].
215215*
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ OS_TICK OS_DynTickGet (void)
188188 tmrcnt = /* $$$$ */ ; /* Read current timer count. */
189189
190190 if (/* $$$$ */ ) { /* Check timer interrupt flag. */
191- return (TickDelta ); /* Counter Overflow has occured . */
191+ return (TickDelta ); /* Counter Overflow has occurred . */
192192 }
193193
194194 tmrcnt = TIMER_TO_OSTICK (tmrcnt ); /* Otherwise, the value we read is valid. */
You can’t perform that action at this time.
0 commit comments