mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 04:06:46 +00:00 
			
		
		
		
	 121c8dd69d
			
		
	
	
		121c8dd69d
		
	
	
	
	
		
			
			Move the various open_cpuinfo functions into new files. Move the m68k open_hardware function as well. All other guest architectures get a boilerplate empty file. Tested-by: Helge Deller <deller@gmx.de> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
		
			
				
	
	
		
			17 lines
		
	
	
		
			338 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			338 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * M68K specific proc functions for linux-user
 | |
|  *
 | |
|  * SPDX-License-Identifier: GPL-2.0-or-later
 | |
|  */
 | |
| #ifndef M68K_TARGET_PROC_H
 | |
| #define M68K_TARGET_PROC_H
 | |
| 
 | |
| static int open_hardware(CPUArchState *cpu_env, int fd)
 | |
| {
 | |
|     dprintf(fd, "Model:\t\tqemu-m68k\n");
 | |
|     return 0;
 | |
| }
 | |
| #define HAVE_ARCH_PROC_HARDWARE
 | |
| 
 | |
| #endif /* M68K_TARGET_PROC_H */
 |