mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Add portMEMORY_BARRIER defination to fix over-optimization in xTaskResumeAll.
This commit is contained in:
parent
da3c35aa48
commit
a4b47aa025
1
portable/ThirdParty/XCC/Xtensa/portmacro.h
vendored
1
portable/ThirdParty/XCC/Xtensa/portmacro.h
vendored
|
@ -114,6 +114,7 @@ static inline unsigned portENTER_CRITICAL_NESTED() { unsigned state = XTOS_SET_I
|
||||||
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
|
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
|
||||||
#define portBYTE_ALIGNMENT 4
|
#define portBYTE_ALIGNMENT 4
|
||||||
#define portNOP() XT_NOP()
|
#define portNOP() XT_NOP()
|
||||||
|
#define portMEMORY_BARRIER() XT_MEMW()
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/* Fine resolution time */
|
/* Fine resolution time */
|
||||||
|
|
Loading…
Reference in a new issue