mbed-os/rtos
Jaeden Amero 778d6822bf RTX5: uVisor: Switch threads very carefully
uVisor doesn't set the PSP of the target thread. The RTOS sets the PSP
of the target thread from the target thread's TCB. However, when
interrupts of higher priority than PendSV happen between the call to
uVisor to switch boxes, and the RTOS setting PSP, the uVisor vIRQ
interrupt handler will attempt to use an invalid PSP (the PSP from
before the box and thread switch). This leads to a crash. Make box and
thread switching atomic by disabling interrupts immediately before the
box switching until immediately after the new PSP is set.
2017-06-04 14:41:59 +01:00
..
rtx4 Rename directories rtx->rtx4 rtx2->rtx5 2017-05-30 18:55:55 +01:00
rtx5 RTX5: uVisor: Switch threads very carefully 2017-06-04 14:41:59 +01:00
Mail.h Update codebase for CMSIS5/RTX5 2017-05-30 18:55:52 +01:00
MemoryPool.h Make sure all RTOS attribute structures are 0-ed before use 2017-05-30 18:55:56 +01:00
Mutex.cpp RTX5: Enable priority inheritance and robust mode 2017-06-02 23:50:36 -05:00
Mutex.h Add name parameter for C++ mutex wrapper 2017-05-30 18:55:55 +01:00
Queue.h Update codebase for CMSIS5/RTX5 2017-05-30 18:55:52 +01:00
RtosTimer.cpp Update codebase for CMSIS5/RTX5 2017-05-30 18:55:52 +01:00
RtosTimer.h Update codebase for CMSIS5/RTX5 2017-05-30 18:55:52 +01:00
Semaphore.cpp Update codebase for CMSIS5/RTX5 2017-05-30 18:55:52 +01:00
Semaphore.h Update codebase for CMSIS5/RTX5 2017-05-30 18:55:52 +01:00
Thread.cpp Fix Thread class synchronization 2017-06-02 23:50:38 -05:00
Thread.h Update codebase for CMSIS5/RTX5 2017-05-30 18:55:52 +01:00
mbed_boot.c RTX5: Enable priority inheritance and robust mode 2017-06-02 23:50:36 -05:00
mbed_lib.json RTOS - add config mbed_lib.json file 2016-06-08 18:41:29 +01:00
mbed_rtos1_types.h Rename directories rtx->rtx4 rtx2->rtx5 2017-05-30 18:55:55 +01:00
mbed_rtos_storage.h Fix RTOS function prototypes by adding extern "C" 2017-06-02 23:50:32 -05:00
rtos.h Update codebase for CMSIS5/RTX5 2017-05-30 18:55:52 +01:00
rtos_idle.c Renamed files in platform to match source names 2017-02-22 18:17:54 -06:00
rtos_idle.h Add tags to our code 2016-10-04 15:02:44 -05:00