git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@127 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
bef9d20d8e
commit
f477fa23bf
|
@ -47,9 +47,9 @@ threadstart:
|
||||||
bx r0
|
bx r0
|
||||||
.code 16
|
.code 16
|
||||||
mov r0, r5
|
mov r0, r5
|
||||||
mov lr, pc
|
bl jmpr4
|
||||||
bx r4
|
|
||||||
bl chThdExit
|
bl chThdExit
|
||||||
|
jmpr4: bx r4
|
||||||
.code 32
|
.code 32
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -202,14 +202,17 @@ UART1IrqHandler:
|
||||||
* Common exit point for all IRQ routines, it performs the rescheduling if
|
* Common exit point for all IRQ routines, it performs the rescheduling if
|
||||||
* required.
|
* required.
|
||||||
*/
|
*/
|
||||||
IrqCommon:
|
|
||||||
#ifdef THUMB_NO_INTERWORKING
|
#ifdef THUMB_NO_INTERWORKING
|
||||||
.code 16
|
.code 16
|
||||||
|
.globl IrqCommon
|
||||||
|
IrqCommon:
|
||||||
bl chSchRescRequiredI
|
bl chSchRescRequiredI
|
||||||
mov lr, pc
|
mov lr, pc
|
||||||
bx lr
|
bx lr
|
||||||
.code 32
|
.code 32
|
||||||
#else
|
#else
|
||||||
|
.globl IrqCommon
|
||||||
|
IrqCommon:
|
||||||
bl chSchRescRequiredI
|
bl chSchRescRequiredI
|
||||||
#endif
|
#endif
|
||||||
cmp r0, #0 // Simply returns if a
|
cmp r0, #0 // Simply returns if a
|
||||||
|
|
Loading…
Reference in New Issue