]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/GCC/ARM_CM4F/portmacro.h
Added portMEMORY_BARRIER() implemented as __asm volatile( "" ::: "memory" ) into...
[freertos] / FreeRTOS / Source / portable / GCC / ARM_CM4F / portmacro.h
index 85c718c8be8f484473808ac039329a0abed846c5..261c5ae6c5eca71276201d6779863453c3114a4e 100644 (file)
@@ -233,6 +233,7 @@ portFORCE_INLINE static void vPortSetBASEPRI( uint32_t ulNewMaskValue )
 }\r
 /*-----------------------------------------------------------*/\r
 \r
+#define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" )\r
 \r
 #ifdef __cplusplus\r
 }\r