mirror of
				https://github.com/FreeRTOS/FreeRTOS-Kernel.git
				synced 2025-11-04 02:59:01 +01:00 
			
		
		
		
	Add portMEMORY_BARRIER defination to fix over-optimization in xTaskResumeAll. (#1116)
Co-authored-by: owen <owen@freqchip.com>
This commit is contained in:
		
							parent
							
								
									da3c35aa48
								
							
						
					
					
						commit
						190906aeaf
					
				
							
								
								
									
										1
									
								
								portable/ThirdParty/XCC/Xtensa/portmacro.h
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								portable/ThirdParty/XCC/Xtensa/portmacro.h
									
									
									
									
										vendored
									
									
								
							@ -114,6 +114,7 @@ static inline unsigned portENTER_CRITICAL_NESTED() { unsigned state = XTOS_SET_I
 | 
			
		||||
#define portTICK_PERIOD_MS          ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
 | 
			
		||||
#define portBYTE_ALIGNMENT          4
 | 
			
		||||
#define portNOP()                   XT_NOP()
 | 
			
		||||
#define portMEMORY_BARRIER()        XT_MEMW()
 | 
			
		||||
/*-----------------------------------------------------------*/
 | 
			
		||||
 | 
			
		||||
/* Fine resolution time */
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user