mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
hw: replace hw/i386/pc.h with a header just for the i8259
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>
This commit is contained in:
parent
b54f33c4e0
commit
852c27e2ba
27 changed files with 37 additions and 26 deletions
|
@ -134,14 +134,6 @@ typedef struct PCMachineClass {
|
|||
#define PC_MACHINE_CLASS(klass) \
|
||||
OBJECT_CLASS_CHECK(PCMachineClass, (klass), TYPE_PC_MACHINE)
|
||||
|
||||
/* 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_read_irq(DeviceState *d);
|
||||
int pic_get_output(DeviceState *d);
|
||||
|
||||
/* ioapic.c */
|
||||
|
||||
/* Global System Interrupts */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue