]> begriffs open source - freertos/commit
Fix portSET_INTERRUPT_MASK_FROM_ISR definition for atomic operation (#940)
authorchinglee-iot <61685396+chinglee-iot@users.noreply.github.com>
Wed, 3 Jan 2024 07:47:05 +0000 (15:47 +0800)
committerGitHub <noreply@github.com>
Wed, 3 Jan 2024 07:47:05 +0000 (15:47 +0800)
commitbe880a1fc8ed4e9bc8110e85bbc827952a13a087
tree9568b6edfe0bdcc6f155910a421be410448ed626
parent75c4044b7e58853065106078b5a1c46df8bef2a6
Fix portSET_INTERRUPT_MASK_FROM_ISR definition for atomic operation (#940)

* Introduce portHAS_NESTED_INTERRUPTS to identify if port has nested interrupt or not.
* Update atomic.h to use portHAS_NESTED_INTERRUPTS instead of portSET_INTERRUPT_MASK_FROM_ISR definition.

---------

Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: ActoryOu <jay2002824@gmail.com>
.github/.cSpellWords.txt
include/FreeRTOS.h
include/atomic.h
portable/GCC/RISC-V/portmacro.h
portable/IAR/RISC-V/portmacro.h
portable/ThirdParty/xClang/XCOREAI/portmacro.h