Merge pull request #1905 from geky/rtx-iar-svc-clobbered

[rtos] Fixed registers clobbered SVC_Handler in IAR
pull/1910/head
geky 2016-06-12 17:27:03 +01:00 committed by GitHub
commit 6c24601550
1 changed files with 1 additions and 1 deletions

View File

@ -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() \