-
Bug
-
Resolution: Fixed
-
Medium
-
PDK
-
PDK-11014
-
PROCESSOR_SDK_08.00.00
-
PROCESSOR_SDK_08.01.00
-
FreeRTOS: OS APIs may re-enable interrupts in critical sections
- osal_freertos used HwiP_nonos.c implementation for which
HwiP_disable and HwiP_restore uses CSL APIs to
disable/enable interrupts.
The same also returns cookie/key to restore interrupt to old state
- FreeRTOS portable layer handles critical sections using
vPortEnterCritical & vPortExitCritical and keeps track of
critical nesting count
- Hence usage of both OSAL APIs and FreeRTOS portable layer functions together
will result in wrong behavior related to critical nesting count