Create helper-gen-common.h without the target specific portion. Use that in tcg-op-common.h. Reorg headers in target/arm to ensure that helper-gen.h is included before helper-info.c.inc. All other targets are already correct in this regard. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
		
			
				
	
	
		
			19 lines
		
	
	
		
			446 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			446 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: GPL-2.0-or-later */
 | 
						|
/*
 | 
						|
 * Helper file for declaring TCG helper functions.
 | 
						|
 * This one expands generation functions for tcg opcodes.
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef HELPER_GEN_COMMON_H
 | 
						|
#define HELPER_GEN_COMMON_H
 | 
						|
 | 
						|
#define HELPER_H "accel/tcg/tcg-runtime.h"
 | 
						|
#include "exec/helper-gen.h.inc"
 | 
						|
#undef  HELPER_H
 | 
						|
 | 
						|
#define HELPER_H "accel/tcg/plugin-helpers.h"
 | 
						|
#include "exec/helper-gen.h.inc"
 | 
						|
#undef  HELPER_H
 | 
						|
 | 
						|
#endif /* HELPER_GEN_COMMON_H */
 |