Skip to content
Open
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
5 changes: 5 additions & 0 deletions Ports/ARM-Cortex-M/ARMv7-M/ARM/os_cpu_a.asm
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,11 @@ OSStartHighRdy
LDMFD SP!, {R0-R3} ; Restore r0, r3
LDMFD SP!, {R12, LR} ; Load R12 and LR
LDMFD SP!, {R1, R2} ; Load PC and discard xPSR

IF {FPU} != "SoftVFP"
VLDMIA SP!, {S0-S15, S16} ; Restore s0-s15 and discard FPSCR
ENDIF

CPSIE I
BX R1

Expand Down