From 752152b63e5b8f3a82de7b39255712f41e7efac2 Mon Sep 17 00:00:00 2001 From: xuzhuoyi Date: Sun, 14 Apr 2019 12:26:25 +0800 Subject: [bsp][tms320f28379d] Fix FPU config problem --- libcpu/ti-dsp/c28x/context.s | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libcpu') diff --git a/libcpu/ti-dsp/c28x/context.s b/libcpu/ti-dsp/c28x/context.s index fc1734f5ca..2b853a0075 100644 --- a/libcpu/ti-dsp/c28x/context.s +++ b/libcpu/ti-dsp/c28x/context.s @@ -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: -- cgit v1.3.1