mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #1905 from geky/rtx-iar-svc-clobbered
[rtos] Fixed registers clobbered SVC_Handler in IARpull/1910/head
commit
6c24601550
|
@ -302,7 +302,7 @@ static inline t __##f (t1 a1, t2 a2, t3 a3, t4 a4) { \
|
|||
#define SVC_Setup(f) \
|
||||
__asm( \
|
||||
"mov r12,%0\n" \
|
||||
:: "r"(&f): "r12" \
|
||||
:: "r"(&f): "r0", "r1", "r2", "r3", "r12" \
|
||||
);
|
||||
|
||||
#define SVC_Ret3() \
|
||||
|
|
Loading…
Reference in New Issue