mirror of https://github.com/ARMmbed/mbed-os.git
The system hook thread_switch gets called both through the SVC and though the PendSV, which can get interrupted by the SVC. Since calls to the uVisor API are not re-entrant, we need to wrap this function in an atomic section to prevent faults. |
||
---|---|---|
.. | ||
TARGET_UVISOR_SUPPORTED | ||
TARGET_UVISOR_UNSUPPORTED |