mirror of https://github.com/ARMmbed/mbed-os.git
70ebb6f16b
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. |
||
---|---|---|
.. | ||
rtos | ||
rtx | ||
mbed_lib.json |