diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2019-10-18 15:59:09 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-10-24 14:24:54 +0200 |
commit | 4501d317b50e52de090192aab6244060fbe42da0 (patch) | |
tree | 4b938b99fc8523547b7304083a11d90fe5319bb3 /include | |
parent | b00c6f18a618f42f90e8608fbc4dbc6c133ad0e3 (diff) | |
download | qemu-4501d317b50e52de090192aab6244060fbe42da0.zip qemu-4501d317b50e52de090192aab6244060fbe42da0.tar.gz qemu-4501d317b50e52de090192aab6244060fbe42da0.tar.bz2 |
hw/i386/pc: Extract pc_i8259_create()
The i8259 creation code is common to all PC machines, extract the
common code.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191018135910.24286-5-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/i386/pc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index 8c5dc39..5923318 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -219,6 +219,7 @@ void pc_pci_device_init(PCIBus *pci_bus); typedef void (*cpu_set_smm_t)(int smm, void *arg); +void pc_i8259_create(ISABus *isa_bus, qemu_irq *i8259_irqs); void ioapic_init_gsi(GSIState *gsi_state, const char *parent_name); ISADevice *pc_find_fdc0(void); |