mbed-os/rtos/rtx
Christopher Haster 70ebb6f16b [rtos] Fixed registers clobbered SVC_Handler in IAR
The rtx SVC_Handler for IAR clobbers r0-r3 despite the number of
arguments. However, in the SVC calls, the __swi function is declared
with fewer arguments. IAR doesn't understand that the other registers are
clobbered and stores variables in r0-r3 when multiple SVCs are
dispatched in a single function.

This bug was noticed in osThreadExit, which hard-faults on IAR,
preventing any threads from exiting.
2016-06-11 19:34:20 -05:00
..
TARGET_ARM7 Wrap software_init_hook 2016-06-10 16:56:17 +01:00
TARGET_CORTEX_A Wrap software_init_hook 2016-06-10 16:56:17 +01:00
TARGET_CORTEX_M [rtos] Fixed registers clobbered SVC_Handler in IAR 2016-06-11 19:34:20 -05:00