-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Interrupts are mistakenly enabled within vTaskSwitchContext when configCHECK_FOR_STACK_OVERFLOW is enabled and configNUMBER_OF_CORES > 1 as described in the following discussion: https://forums.freertos.org/t/cortex-a9-port-disable-interrupts-before-writing-to-icc-pmr/22952
Target
FreeRTOS ports that support SMP and, like the Cortex-A9 port in ulPortSetInterruptMask and vPortClearInterruptMask, disable and enable interrupts regardless of the current processor state.
Expected behavior
The interrupts should stay disabled in specific sections (e.g. FreeRTOS_SWI_Handler in the Cortex-A9 port).
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working