mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-21 06:56:11 -04:00
087e4318a6
In IDF FreeRTOS, when building for SMP, there are numerous functions which require different critical sections when compared to single-core. This commit encapsulates those difference into a common set of macros whose behavior depends on "configNUM_CORES > 1". As such... - Vanilla behavior has been restored for some functions when building for single core (i.e., used to call taskENTER_CRITICAL, now disables interrupts mactching vanilla behavior). - Reduces number of "#ifdef (configNUM_CORES > 1)" in functions - Any SMP only critical sections are now wrapped by "#ifdef (configNUM_CORES > 1)" and properly documented via comments. |
||
---|---|---|
.. | ||
include/freertos | ||
port.c | ||
portasm.S | ||
readme_xtensa.txt | ||
xt_asm_utils.h | ||
xtensa_context.S | ||
xtensa_init.c | ||
xtensa_loadstore_handler.S | ||
xtensa_overlay_os_hook.c | ||
xtensa_vector_defaults.S | ||
xtensa_vectors.S |