This commit is contained in:
Quantum Leaps 2016-10-10 08:55:18 -04:00
parent 8fc63aff34
commit 059f289520
4 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
;*****************************************************************************
; Product: QXK port to ARM Cortex-M (M0,M0+,M1,M3,M4,M7), ARM-Keil assembler
; Last Updated for Version: 5.7.3
; Date of the Last Update: 2016-10-07
; Date of the Last Update: 2016-10-09
;
; Q u a n t u m L e a P s
; ---------------------------
@ -326,7 +326,7 @@ PendSV_restore_ex
MVNS r1,r1 ; r1 := ~2 == 0xFFFFFFFD
MOV lr,r1 ; make sure PSP is used
ELSE ; M3/M4/M7
MOVS r1,#1
MOVS r1,#0
MSR BASEPRI,r1 ; enable interrupts (clear BASEPRI)
IF {TARGET_FPU_VFP} == {TRUE} ; if VFP available...
LDMIA r2!,{r1,lr} ; restore aligner and EXC_RETURN into lr

View File

@ -1,7 +1,7 @@
/*****************************************************************************
* Product: QXK port to ARM Cortex-M (M0,M0+,M1,M3,M4,M7), GNU-ARM assembler
* Last Updated for Version: 5.7.3
* Date of the Last Update: 2016-10-07
* Date of the Last Update: 2016-10-09
*
* Q u a n t u m L e a P s
* ---------------------------
@ -330,7 +330,7 @@ PendSV_restore_ex:
MVNS r1,r1 /* r1 := ~2 == 0xFFFFFFFD */
MOV lr,r1 /* make sure PSP is used */
.else /* M3/M4/M7 */
MOVS r1,#1
MOVS r1,#0
MSR BASEPRI,r1 /* enable interrupts (clear BASEPRI) */
.ifdef __FPU_PRESENT /* if VFP available... */
LDMIA r2!,{r1,lr} /* restore aligner and EXC_RETURN into lr */

View File

@ -1,7 +1,7 @@
;*****************************************************************************
; Product: QXK port to ARM Cortex-M (M0,M0+,M3,M4,M7), IAR-ARM assembler
; Last Updated for Version: 5.7.3
; Date of the Last Update: 2016-10-07
; Date of the Last Update: 2016-10-09
;
; Q u a n t u m L e a P s
; ---------------------------
@ -325,7 +325,7 @@ PendSV_restore_ex:
MVNS r1,r1 ; r1 := ~2 == 0xFFFFFFFD
MOV lr,r1 ; make sure PSP is used
#else ; M3/M4/M7
MOVS r1,#1
MOVS r1,#0
MSR BASEPRI,r1 ; enable interrupts (clear BASEPRI)
#ifdef __ARMVFP__ ; if VFP available...
LDMIA r2!,{r1,lr} ; restore aligner and EXC_RETURN into lr

View File

@ -1,7 +1,7 @@
;*****************************************************************************
; Product: QXK port to ARM Cortex-M (M0,M0+,M1,M3,M4,M7), TI-ARM assembler
; Last Updated for Version: 5.7.3
; Date of the Last Update: 2016-10-07
; Date of the Last Update: 2016-10-09
;
; Q u a n t u m L e a P s
; ---------------------------
@ -314,7 +314,7 @@ PendSV_restore_ex:
; exit the critical section
.if __TI_TMS470_V7M3__ | __TI_TMS470_V7M4__ ; | __TI_TMS470_V7M7__
MOVS r1,#1
MOVS r1,#0
MSR BASEPRI,r1 ; enable interrupts (clear BASEPRI)
.if __TI_VFP_SUPPORT__ ; if VFP available...
LDMIA r2!,{r1,lr} ; restore aligner and EXC_RETURN into lr