mirror of
				https://github.com/FreeRTOS/FreeRTOS-Kernel.git
				synced 2025-11-04 11:09:01 +01:00 
			
		
		
		
	Xtensa_ESP32: Add definition for portMEMORY_BARRIER (#395)
This fixes crash observed in Amazon FreeRTOS when optimisations are enabled
This commit is contained in:
		
							parent
							
								
									1b86b39940
								
							
						
					
					
						commit
						741185f1d0
					
				@ -554,6 +554,10 @@
 | 
			
		||||
        #define configASSERT( x )    if( !( x ) ) { porttracePrint( -1 ); printf( "\nAssertion failed in %s:%d\n", __FILE__, __LINE__ ); exit( -1 ); }
 | 
			
		||||
    #endif
 | 
			
		||||
 | 
			
		||||
/* Barriers */
 | 
			
		||||
    #define portMEMORY_BARRIER()    __asm volatile ( "" ::: "memory" )
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#endif // __ASSEMBLER__
 | 
			
		||||
 | 
			
		||||
/* *INDENT-OFF* */
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user