mirror of
https://github.com/QuantumLeaps/qpc.git
synced 2025-01-28 07:03:10 +08:00
5.7.3a
This commit is contained in:
parent
8fc63aff34
commit
059f289520
@ -1,7 +1,7 @@
|
|||||||
;*****************************************************************************
|
;*****************************************************************************
|
||||||
; Product: QXK port to ARM Cortex-M (M0,M0+,M1,M3,M4,M7), ARM-Keil assembler
|
; Product: QXK port to ARM Cortex-M (M0,M0+,M1,M3,M4,M7), ARM-Keil assembler
|
||||||
; Last Updated for Version: 5.7.3
|
; 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
|
; 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
|
MVNS r1,r1 ; r1 := ~2 == 0xFFFFFFFD
|
||||||
MOV lr,r1 ; make sure PSP is used
|
MOV lr,r1 ; make sure PSP is used
|
||||||
ELSE ; M3/M4/M7
|
ELSE ; M3/M4/M7
|
||||||
MOVS r1,#1
|
MOVS r1,#0
|
||||||
MSR BASEPRI,r1 ; enable interrupts (clear BASEPRI)
|
MSR BASEPRI,r1 ; enable interrupts (clear BASEPRI)
|
||||||
IF {TARGET_FPU_VFP} == {TRUE} ; if VFP available...
|
IF {TARGET_FPU_VFP} == {TRUE} ; if VFP available...
|
||||||
LDMIA r2!,{r1,lr} ; restore aligner and EXC_RETURN into lr
|
LDMIA r2!,{r1,lr} ; restore aligner and EXC_RETURN into lr
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* Product: QXK port to ARM Cortex-M (M0,M0+,M1,M3,M4,M7), GNU-ARM assembler
|
* Product: QXK port to ARM Cortex-M (M0,M0+,M1,M3,M4,M7), GNU-ARM assembler
|
||||||
* Last Updated for Version: 5.7.3
|
* 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
|
* 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 */
|
MVNS r1,r1 /* r1 := ~2 == 0xFFFFFFFD */
|
||||||
MOV lr,r1 /* make sure PSP is used */
|
MOV lr,r1 /* make sure PSP is used */
|
||||||
.else /* M3/M4/M7 */
|
.else /* M3/M4/M7 */
|
||||||
MOVS r1,#1
|
MOVS r1,#0
|
||||||
MSR BASEPRI,r1 /* enable interrupts (clear BASEPRI) */
|
MSR BASEPRI,r1 /* enable interrupts (clear BASEPRI) */
|
||||||
.ifdef __FPU_PRESENT /* if VFP available... */
|
.ifdef __FPU_PRESENT /* if VFP available... */
|
||||||
LDMIA r2!,{r1,lr} /* restore aligner and EXC_RETURN into lr */
|
LDMIA r2!,{r1,lr} /* restore aligner and EXC_RETURN into lr */
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
;*****************************************************************************
|
;*****************************************************************************
|
||||||
; Product: QXK port to ARM Cortex-M (M0,M0+,M3,M4,M7), IAR-ARM assembler
|
; Product: QXK port to ARM Cortex-M (M0,M0+,M3,M4,M7), IAR-ARM assembler
|
||||||
; Last Updated for Version: 5.7.3
|
; 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
|
; 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
|
MVNS r1,r1 ; r1 := ~2 == 0xFFFFFFFD
|
||||||
MOV lr,r1 ; make sure PSP is used
|
MOV lr,r1 ; make sure PSP is used
|
||||||
#else ; M3/M4/M7
|
#else ; M3/M4/M7
|
||||||
MOVS r1,#1
|
MOVS r1,#0
|
||||||
MSR BASEPRI,r1 ; enable interrupts (clear BASEPRI)
|
MSR BASEPRI,r1 ; enable interrupts (clear BASEPRI)
|
||||||
#ifdef __ARMVFP__ ; if VFP available...
|
#ifdef __ARMVFP__ ; if VFP available...
|
||||||
LDMIA r2!,{r1,lr} ; restore aligner and EXC_RETURN into lr
|
LDMIA r2!,{r1,lr} ; restore aligner and EXC_RETURN into lr
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
;*****************************************************************************
|
;*****************************************************************************
|
||||||
; Product: QXK port to ARM Cortex-M (M0,M0+,M1,M3,M4,M7), TI-ARM assembler
|
; Product: QXK port to ARM Cortex-M (M0,M0+,M1,M3,M4,M7), TI-ARM assembler
|
||||||
; Last Updated for Version: 5.7.3
|
; 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
|
; Q u a n t u m L e a P s
|
||||||
; ---------------------------
|
; ---------------------------
|
||||||
@ -314,7 +314,7 @@ PendSV_restore_ex:
|
|||||||
|
|
||||||
; exit the critical section
|
; exit the critical section
|
||||||
.if __TI_TMS470_V7M3__ | __TI_TMS470_V7M4__ ; | __TI_TMS470_V7M7__
|
.if __TI_TMS470_V7M3__ | __TI_TMS470_V7M4__ ; | __TI_TMS470_V7M7__
|
||||||
MOVS r1,#1
|
MOVS r1,#0
|
||||||
MSR BASEPRI,r1 ; enable interrupts (clear BASEPRI)
|
MSR BASEPRI,r1 ; enable interrupts (clear BASEPRI)
|
||||||
.if __TI_VFP_SUPPORT__ ; if VFP available...
|
.if __TI_VFP_SUPPORT__ ; if VFP available...
|
||||||
LDMIA r2!,{r1,lr} ; restore aligner and EXC_RETURN into lr
|
LDMIA r2!,{r1,lr} ; restore aligner and EXC_RETURN into lr
|
||||||
|
Loading…
x
Reference in New Issue
Block a user