mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-11-05 19:22:31 -05:00
First update of vPortTaskUsesFPU API
This commit is contained in:
parent
0452603a94
commit
d37b605632
2 changed files with 13 additions and 3 deletions
|
|
@ -149,6 +149,15 @@ vPortRestoreTaskContext:
|
|||
/* Switch to system mode. */
|
||||
CPS #SYS_MODE
|
||||
portRESTORE_CONTEXT
|
||||
|
||||
.align 4
|
||||
.type vSetupFPU, %function
|
||||
vSetupFPU:
|
||||
PUSH { R0 }
|
||||
MOV R0, #0x0
|
||||
FMXR FPSCR, R0
|
||||
POP { R0 }
|
||||
BX LR
|
||||
|
||||
.align 4
|
||||
.type FreeRTOS_IRQ_Handler, %function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue