Skip to content

Commit 8afb3a5

Browse files
authored
fix typos in comments: interace -> interface, swtich -> switch (#1022)
Fix typos in comments: interace -> interface, swtich -> switch. Signed-off-by: Florian La Roche <[email protected]>
1 parent 8c49c54 commit 8afb3a5

File tree

12 files changed

+15
-15
lines changed

12 files changed

+15
-15
lines changed

portable/GCC/ARM_AARCH64/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ This port is generic and can be used as a starting point for Armv8-A
2020
application processors.
2121

2222
* ARM_AARCH64
23-
* Memory mapped interace to access Arm GIC registers
23+
* Memory mapped interface to access Arm GIC registers

portable/GCC/ARM_AARCH64_SRE/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ This port is generic and can be used as a starting point for Armv8-A
2020
application processors.
2121

2222
* ARM_AARCH64_SRE
23-
* System Register interace to access Arm GIC registers
23+
* System Register interface to access Arm GIC registers

portable/GCC/ARM_CA53_64_BIT/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Initial port to support Armv8-A architecture in FreeRTOS kernel was written for
44
Arm Cortex-A53 processor.
55

66
* ARM_CA53_64_BIT
7-
* Memory mapped interace to access Arm GIC registers
7+
* Memory mapped interface to access Arm GIC registers
88

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

1414
**NOTE**
1515

16-
This port uses memory mapped interace to access Arm GIC registers.
16+
This port uses memory mapped interface to access Arm GIC registers.

portable/GCC/ARM_CA53_64_BIT_SRE/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Initial port to support Armv8-A architecture in FreeRTOS kernel was written for
44
Arm Cortex-A53 processor.
55

66
* ARM_CA53_64_BIT_SRE
7-
* System Register interace to access Arm GIC registers
7+
* System Register interface to access Arm GIC registers
88

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

1414
**NOTE**
1515

16-
This port uses System Register interace to access Arm GIC registers.
16+
This port uses System Register interface to access Arm GIC registers.

portable/GCC/ARM_CA9/portASM.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ exit_without_switch:
246246
MOVS PC, LR
247247

248248
switch_before_exit:
249-
/* A context swtich is to be performed. Clear the context switch pending
249+
/* A context switch is to be performed. Clear the context switch pending
250250
flag. */
251251
MOV r0, #0
252252
STR r0, [r1]

portable/GCC/ARM_CR5/portASM.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ exit_without_switch:
242242
MOVS PC, LR
243243

244244
switch_before_exit:
245-
/* A context swtich is to be performed. Clear the context switch pending
245+
/* A context switch is to be performed. Clear the context switch pending
246246
flag. */
247247
MOV r0, #0
248248
STR r0, [r1]

portable/GCC/ARM_CRx_MPU/portASM.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ FreeRTOS_IRQ_Handler:
446446
* ulPortInterruptNesting. */
447447
STR R1, [R0]
448448

449-
/* Context swtich is only performed when interrupt nesting count is 0. */
449+
/* Context switch is only performed when interrupt nesting count is 0. */
450450
CMP R1, #0
451451
BNE exit_without_switch
452452

@@ -464,7 +464,7 @@ exit_without_switch:
464464
RFE SP!
465465

466466
switch_before_exit:
467-
/* A context swtich is to be performed. Clear ulPortYieldRequired. R1 holds
467+
/* A context switch is to be performed. Clear ulPortYieldRequired. R1 holds
468468
* the address of ulPortYieldRequired. */
469469
MOV R0, #0
470470
STR R0, [R1]

portable/GCC/ARM_CRx_No_GIC/portASM.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ exit_without_switch:
223223
MOVS PC, LR
224224

225225
switch_before_exit:
226-
/* A context swtich is to be performed. Clear the context switch pending
226+
/* A context switch is to be performed. Clear the context switch pending
227227
flag. */
228228
MOV r0, #0
229229
STR r0, [r1]

portable/IAR/ARM_CRx_No_GIC/portASM.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ exit_without_switch:
215215
MOVS PC, LR
216216

217217
switch_before_exit:
218-
/* A context swtich is to be performed. Clear the context switch pending
218+
/* A context switch is to be performed. Clear the context switch pending
219219
flag. */
220220
MOV r0, #0
221221
STR r0, [r1]

portable/RVDS/ARM_CA9/portASM.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ exit_without_switch
143143
MOVS PC, LR
144144

145145
switch_before_exit
146-
; A context swtich is to be performed. Clear the context switch pending
146+
; A context switch is to be performed. Clear the context switch pending
147147
; flag.
148148
MOV r0, #0
149149
STR r0, [r1]

0 commit comments

Comments
 (0)