[bsp][tms320f28379d] Fix FPU config problem

This commit is contained in:
xuzhuoyi
2019-04-14 12:26:25 +08:00
parent 4acd8db61e
commit 752152b63e
2 changed files with 2 additions and 5 deletions

View File

@@ -113,7 +113,6 @@ _reswitch:
MOVL XAR5, #_rt_interrupt_to_thread ; set rt_interrupt_to_thread
MOVL *XAR5, XAR4
;TRAP #16
LRETR
.endasmfunc
@@ -169,8 +168,6 @@ _RTOSINT_Handler:
MOV AR1, AL
CMP AR1, #0
B switch_to_thread, EQ ; skip register save at the first time
;MOVZ AR1, @SP ; get from thread stack pointer
;#if defined (__VFP_FP__) && !defined(__SOFTFP__)
; TST lr, #0x10 ; if(!EXC_RETURN[4])
@@ -205,7 +202,7 @@ switch_to_thread:
;#endif
MOV @SP, AR1
;INC SP
RT_CTX_RESTORE ; pop r4 - r11 register
rtosint_exit: