]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/GCC/ARM_CA9/portmacro.h
Added portMEMORY_BARRIER() implemented as __asm volatile( "" ::: "memory" ) into...
[freertos] / FreeRTOS / Source / portable / GCC / ARM_CA9 / portmacro.h
index a8be773520636a227b5c0d2d954e66e93e57fb65..a47387720eae9848e893abcdf44cb002072e130f 100644 (file)
@@ -202,5 +202,7 @@ number of bits implemented by the interrupt controller. */
 #define portICCBPR_BINARY_POINT_REGISTER                                       ( *( ( const volatile uint32_t * ) ( portINTERRUPT_CONTROLLER_CPU_INTERFACE_ADDRESS + portICCBPR_BINARY_POINT_OFFSET ) ) )\r
 #define portICCRPR_RUNNING_PRIORITY_REGISTER                           ( *( ( const volatile uint32_t * ) ( portINTERRUPT_CONTROLLER_CPU_INTERFACE_ADDRESS + portICCRPR_RUNNING_PRIORITY_OFFSET ) ) )\r
 \r
+#define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" )\r
+\r
 #endif /* PORTMACRO_H */\r
 \r