mirror of
				https://github.com/FreeRTOS/FreeRTOS-Kernel.git
				synced 2025-10-24 21:57:46 -04:00 
			
		
		
		
	Added portMEMORY_BARRIER() implemented as __asm volatile( "" ::: "memory" ) into ARM Cortex-M33 ports to assist with link time optimisation.
This commit is contained in:
		
							parent
							
								
									84377442fc
								
							
						
					
					
						commit
						27ca5c8341
					
				
					 3 changed files with 6 additions and 0 deletions
				
			
		|  | @ -289,6 +289,8 @@ typedef struct MPU_SETTINGS | |||
| #endif /* configENABLE_MPU */ | ||||
| /*-----------------------------------------------------------*/ | ||||
| 
 | ||||
| #define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" ) | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| } | ||||
| #endif | ||||
|  |  | |||
|  | @ -289,6 +289,8 @@ typedef struct MPU_SETTINGS | |||
| #endif /* configENABLE_MPU */ | ||||
| /*-----------------------------------------------------------*/ | ||||
| 
 | ||||
| #define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" ) | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| } | ||||
| #endif | ||||
|  |  | |||
|  | @ -289,6 +289,8 @@ typedef struct MPU_SETTINGS | |||
| #endif /* configENABLE_MPU */ | ||||
| /*-----------------------------------------------------------*/ | ||||
| 
 | ||||
| #define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" ) | ||||
| 
 | ||||
| #ifdef __cplusplus | ||||
| } | ||||
| #endif | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue