Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion portable/GCC/ARM_AARCH64/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ This port is generic and can be used as a starting point for Armv8-A
application processors.

* ARM_AARCH64
* Memory mapped interace to access Arm GIC registers
* Memory mapped interface to access Arm GIC registers
2 changes: 1 addition & 1 deletion portable/GCC/ARM_AARCH64_SRE/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ This port is generic and can be used as a starting point for Armv8-A
application processors.

* ARM_AARCH64_SRE
* System Register interace to access Arm GIC registers
* System Register interface to access Arm GIC registers
4 changes: 2 additions & 2 deletions portable/GCC/ARM_CA53_64_BIT/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Initial port to support Armv8-A architecture in FreeRTOS kernel was written for
Arm Cortex-A53 processor.

* ARM_CA53_64_BIT
* Memory mapped interace to access Arm GIC registers
* Memory mapped interface to access Arm GIC registers

This port is generic and can be used as a starting point for other Armv8-A
application processors. Therefore, the port `ARM_CA53_64_BIT` is renamed as
Expand All @@ -13,4 +13,4 @@ should migrate to renamed port `ARM_AARCH64`.

**NOTE**

This port uses memory mapped interace to access Arm GIC registers.
This port uses memory mapped interface to access Arm GIC registers.
4 changes: 2 additions & 2 deletions portable/GCC/ARM_CA53_64_BIT_SRE/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Initial port to support Armv8-A architecture in FreeRTOS kernel was written for
Arm Cortex-A53 processor.

* ARM_CA53_64_BIT_SRE
* System Register interace to access Arm GIC registers
* System Register interface to access Arm GIC registers

This port is generic and can be used as a starting point for other Armv8-A
application processors. Therefore, the port `ARM_AARCH64_SRE` is renamed as
Expand All @@ -13,4 +13,4 @@ should migrate to renamed port `ARM_AARCH64_SRE`.

**NOTE**

This port uses System Register interace to access Arm GIC registers.
This port uses System Register interface to access Arm GIC registers.
2 changes: 1 addition & 1 deletion portable/GCC/ARM_CA9/portASM.S
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ exit_without_switch:
MOVS PC, LR

switch_before_exit:
/* A context swtich is to be performed. Clear the context switch pending
/* A context switch is to be performed. Clear the context switch pending
flag. */
MOV r0, #0
STR r0, [r1]
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/ARM_CR5/portASM.S
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ exit_without_switch:
MOVS PC, LR

switch_before_exit:
/* A context swtich is to be performed. Clear the context switch pending
/* A context switch is to be performed. Clear the context switch pending
flag. */
MOV r0, #0
STR r0, [r1]
Expand Down
4 changes: 2 additions & 2 deletions portable/GCC/ARM_CRx_MPU/portASM.S
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ FreeRTOS_IRQ_Handler:
* ulPortInterruptNesting. */
STR R1, [R0]

/* Context swtich is only performed when interrupt nesting count is 0. */
/* Context switch is only performed when interrupt nesting count is 0. */
CMP R1, #0
BNE exit_without_switch

Expand All @@ -464,7 +464,7 @@ exit_without_switch:
RFE SP!

switch_before_exit:
/* A context swtich is to be performed. Clear ulPortYieldRequired. R1 holds
/* A context switch is to be performed. Clear ulPortYieldRequired. R1 holds
* the address of ulPortYieldRequired. */
MOV R0, #0
STR R0, [R1]
Expand Down
2 changes: 1 addition & 1 deletion portable/GCC/ARM_CRx_No_GIC/portASM.S
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ exit_without_switch:
MOVS PC, LR

switch_before_exit:
/* A context swtich is to be performed. Clear the context switch pending
/* A context switch is to be performed. Clear the context switch pending
flag. */
MOV r0, #0
STR r0, [r1]
Expand Down
2 changes: 1 addition & 1 deletion portable/IAR/ARM_CRx_No_GIC/portASM.s
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ exit_without_switch:
MOVS PC, LR

switch_before_exit:
/* A context swtich is to be performed. Clear the context switch pending
/* A context switch is to be performed. Clear the context switch pending
flag. */
MOV r0, #0
STR r0, [r1]
Expand Down
2 changes: 1 addition & 1 deletion portable/RVDS/ARM_CA9/portASM.s
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ exit_without_switch
MOVS PC, LR

switch_before_exit
; A context swtich is to be performed. Clear the context switch pending
; A context switch is to be performed. Clear the context switch pending
; flag.
MOV r0, #0
STR r0, [r1]
Expand Down
2 changes: 1 addition & 1 deletion portable/ThirdParty/CDK/T-HEAD_CK802/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ extern void vPortStartTask( void );
* will be set to 0 prior to the first task being started. */
portLONG ulCriticalNesting = 0x9999UL;

/* Used to record one tack want to swtich task after enter critical area, we need know it
/* Used to record one tack want to switch task after enter critical area, we need know it
* and implement task switch after exit critical area */
portLONG pendsvflag = 0;

Expand Down
2 changes: 1 addition & 1 deletion portable/ThirdParty/XCC/Xtensa/xtensa_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ STRUCT_END(XtSolFrame)
The contents of a non-running thread's CPENABLE register.
It represents the co-processors owned (and whose state is still needed)
by the thread. When a thread is preempted, its CPENABLE is saved here.
When a thread solicits a context-swtich, its CPENABLE is cleared - the
When a thread solicits a context-switch, its CPENABLE is cleared - the
compiler has saved the (caller-saved) co-proc state if it needs to.
When a non-running thread loses ownership of a CP, its bit is cleared.
When a thread runs, it's XT_CPENABLE is loaded into the CPENABLE reg.
Expand Down