]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/GCC/ARM_CA53_64_BIT/portmacro.h
Added portMEMORY_BARRIER() implemented as __asm volatile( "" ::: "memory" ) into...
[freertos] / FreeRTOS / Source / portable / GCC / ARM_CA53_64_BIT / portmacro.h
index 15ca36b945901d9973efc8d6c87eed7b316b08e0..9825cbcdab2896e2eedd194640451a1f51a55f64 100644 (file)
@@ -205,5 +205,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