|
97 | 97 | .extern pxCriticalNesting
|
98 | 98 | /*-----------------------------------------------------------*/
|
99 | 99 |
|
100 |
| - .macro portcontexSAVE_FPU_CONTEXT_INTERNAL |
| 100 | + .macro portcontextSAVE_FPU_CONTEXT_INTERNAL |
101 | 101 | /* Check if the FPU has been used, if it has not, skip the context save */
|
102 | 102 | srl t1, t0, MSTATUS_FS_USED_OFFSET
|
103 | 103 | andi t1, t1, 1
|
@@ -147,7 +147,7 @@ csrw mstatus, t0
|
147 | 147 | .endm
|
148 | 148 | /*-----------------------------------------------------------*/
|
149 | 149 |
|
150 |
| - .macro portasmRESTORE_FPU_CONTEXT_INTERNAL |
| 150 | + .macro portcontextRESTORE_FPU_CONTEXT_INTERNAL |
151 | 151 | /* Restore fp registers from context */
|
152 | 152 | load_f f0, portFPUREG_OFFSET(0)( sp )
|
153 | 153 | load_f f1, portFPUREG_OFFSET(0)( sp )
|
@@ -228,7 +228,7 @@ store_x t0, portCRITICAL_NESTING_OFFSET * portWORD_SIZE( sp ) /* Store the criti
|
228 | 228 | csrr t0, mstatus /* Required for MPIE bit. */
|
229 | 229 | store_x t0, portMSTATUS_OFFSET * portWORD_SIZE( sp )
|
230 | 230 | #ifdef portasmSTORE_FPU_CONTEXT
|
231 |
| -portcontexSAVE_FPU_CONTEXT_INTERNAL |
| 231 | +portcontextSAVE_FPU_CONTEXT_INTERNAL |
232 | 232 | #endif /* ifdef portasmSTORE_FPU_CONTEXT */
|
233 | 233 |
|
234 | 234 |
|
@@ -271,7 +271,7 @@ csrw mepc, t0
|
271 | 271 | portasmRESTORE_ADDITIONAL_REGISTERS
|
272 | 272 |
|
273 | 273 | #ifdef portasmSTORE_FPU_CONTEXT
|
274 |
| - portasmRESTORE_FPU_CONTEXT_INTERNAL |
| 274 | + portcontextRESTORE_FPU_CONTEXT_INTERNAL |
275 | 275 | #endif /* ifdef portasmSTORE_FPU_CONTEXT */
|
276 | 276 |
|
277 | 277 | /* Load mstatus with the interrupt enable bits used by the task. */
|
|
0 commit comments