Skip to content

Commit 3e12a9c

Browse files
committed
Fix the pxTopcOfStack typo in the RISC-V ports.
1 parent 4d4f8d0 commit 3e12a9c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

portable/GCC/RISC-V/portASM.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ definitions. */
138138
* for the function is as per the other ports:
139139
* StackType_t *pxPortInitialiseStack( StackType_t *pxTopOfStack, TaskFunction_t pxCode, void *pvParameters );
140140
*
141-
* As per the standard RISC-V ABI pxTopcOfStack is passed in in a0, pxCode in
141+
* As per the standard RISC-V ABI pxTopOfStack is passed in in a0, pxCode in
142142
* a1, and pvParameters in a2. The new top of stack is passed out in a0.
143143
*
144144
* RISC-V maps registers to ABI names as follows (X1 to X31 integer registers

portable/IAR/RISC-V/portASM.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ portUPDATE_MTIMER_COMPARE_REGISTER MACRO
147147
* for the function is as per the other ports:
148148
* StackType_t *pxPortInitialiseStack( StackType_t *pxTopOfStack, TaskFunction_t pxCode, void *pvParameters );
149149
*
150-
* As per the standard RISC-V ABI pxTopcOfStack is passed in in a0, pxCode in
150+
* As per the standard RISC-V ABI pxTopOfStack is passed in in a0, pxCode in
151151
* a1, and pvParameters in a2. The new top of stack is passed out in a0.
152152
*
153153
* RISC-V maps registers to ABI names as follows (X1 to X31 integer registers

0 commit comments

Comments
 (0)