]> git.sur5r.net Git - freertos/commitdiff
Added portMEMORY_BARRIER() implemented as __asm volatile( "" ::: "memory" ) into...
authorrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 25 Apr 2019 19:49:50 +0000 (19:49 +0000)
committerrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 25 Apr 2019 19:49:50 +0000 (19:49 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2651 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

FreeRTOS/Source/portable/ARMv8M/non_secure/portmacro.h
FreeRTOS/Source/portable/GCC/ARM_CM33/non_secure/portmacro.h
FreeRTOS/Source/portable/GCC/ARM_CM33_NTZ/non_secure/portmacro.h

index 4dede1716519640059a21e4b8a5ca3a68954f3d2..3ab4ff7002ad5616621d76a2d7e7a1cf6fdd8750 100644 (file)
@@ -289,6 +289,8 @@ typedef struct MPU_SETTINGS
 #endif /* configENABLE_MPU */\r
 /*-----------------------------------------------------------*/\r
 \r
+#define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" )\r
+\r
 #ifdef __cplusplus\r
 }\r
 #endif\r
index 4dede1716519640059a21e4b8a5ca3a68954f3d2..3ab4ff7002ad5616621d76a2d7e7a1cf6fdd8750 100644 (file)
@@ -289,6 +289,8 @@ typedef struct MPU_SETTINGS
 #endif /* configENABLE_MPU */\r
 /*-----------------------------------------------------------*/\r
 \r
+#define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" )\r
+\r
 #ifdef __cplusplus\r
 }\r
 #endif\r
index 4dede1716519640059a21e4b8a5ca3a68954f3d2..3ab4ff7002ad5616621d76a2d7e7a1cf6fdd8750 100644 (file)
@@ -289,6 +289,8 @@ typedef struct MPU_SETTINGS
 #endif /* configENABLE_MPU */\r
 /*-----------------------------------------------------------*/\r
 \r
+#define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" )\r
+\r
 #ifdef __cplusplus\r
 }\r
 #endif\r