mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 12:07:31 +00:00 
			
		
		
		
	 852c27e2ba
			
		
	
	
		852c27e2ba
		
	
	
	
	
		
			
			Remove the need to include i386/pc.h to get to the i8259 functions. This is enough to remove the inclusion of hw/i386/pc.h from all non-x86 files. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			256 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			256 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef HW_I8259_H
 | |
| #define HW_I8259_H
 | |
| 
 | |
| /* i8259.c */
 | |
| 
 | |
| extern DeviceState *isa_pic;
 | |
| qemu_irq *i8259_init(ISABus *bus, qemu_irq parent_irq);
 | |
| qemu_irq *kvm_i8259_init(ISABus *bus);
 | |
| int pic_get_output(DeviceState *d);
 | |
| int pic_read_irq(DeviceState *d);
 | |
| 
 | |
| #endif
 |