Move ioport.h out of cpu-all.h
Only include ioport.h where it is actually needed. Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
		
							parent
							
								
									a68fe89caf
								
							
						
					
					
						commit
						35bed8ee91
					
				| 
						 | 
				
			
			@ -840,9 +840,6 @@ void cpu_set_log(int log_flags);
 | 
			
		|||
void cpu_set_log_filename(const char *filename);
 | 
			
		||||
int cpu_str_to_log_mask(const char *str);
 | 
			
		||||
 | 
			
		||||
/* IO ports API */
 | 
			
		||||
#include "ioport.h"
 | 
			
		||||
 | 
			
		||||
/* memory API */
 | 
			
		||||
 | 
			
		||||
extern int phys_ram_fd;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								hw/pc.h
								
								
								
								
							
							
						
						
									
										1
									
								
								hw/pc.h
								
								
								
								
							| 
						 | 
				
			
			@ -2,6 +2,7 @@
 | 
			
		|||
#define HW_PC_H
 | 
			
		||||
 | 
			
		||||
#include "qemu-common.h"
 | 
			
		||||
#include "ioport.h"
 | 
			
		||||
 | 
			
		||||
/* PC-style peripherals (also used by other machines).  */
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,6 +25,7 @@
 | 
			
		|||
#include "gdbstub.h"
 | 
			
		||||
#include "host-utils.h"
 | 
			
		||||
#include "hw/pc.h"
 | 
			
		||||
#include "ioport.h"
 | 
			
		||||
 | 
			
		||||
#ifdef CONFIG_KVM_PARA
 | 
			
		||||
#include <linux/kvm_para.h>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,6 +20,7 @@
 | 
			
		|||
#include "exec.h"
 | 
			
		||||
#include "exec-all.h"
 | 
			
		||||
#include "host-utils.h"
 | 
			
		||||
#include "ioport.h"
 | 
			
		||||
 | 
			
		||||
//#define DEBUG_PCALL
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue