diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-02-09 11:59:43 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-02-27 22:29:01 +0100 |
commit | 88b5877734886e9aa9331447888ec54e75f8f6aa (patch) | |
tree | da118b72c026f35a884784553739e8fbfa5ea674 /include | |
parent | 97cfb5e430f95b58c09a9da21b60196f32475beb (diff) | |
download | qemu-88b5877734886e9aa9331447888ec54e75f8f6aa.zip qemu-88b5877734886e9aa9331447888ec54e75f8f6aa.tar.gz qemu-88b5877734886e9aa9331447888ec54e75f8f6aa.tar.bz2 |
hw/isa: Reorder to separate ISABus* vs ISADevice* functions
Separate functions taking an ISABus* argument versus
functions taking a ISADevice* one.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230210163744.32182-8-philmd@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/isa/isa.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/hw/isa/isa.h b/include/hw/isa/isa.h index 7195bfb..34fa897 100644 --- a/include/hw/isa/isa.h +++ b/include/hw/isa/isa.h @@ -70,12 +70,8 @@ struct ISADevice { ISABus *isa_bus_new(DeviceState *dev, MemoryRegion *address_space, MemoryRegion *address_space_io, Error **errp); void isa_bus_irqs(ISABus *bus, qemu_irq *irqs); -qemu_irq isa_get_irq(ISADevice *dev, unsigned isairq); -void isa_connect_gpio_out(ISADevice *isadev, int gpioirq, unsigned isairq); void isa_bus_dma(ISABus *bus, IsaDma *dma8, IsaDma *dma16); IsaDma *isa_get_dma(ISABus *bus, int nchan); -MemoryRegion *isa_address_space(ISADevice *dev); -MemoryRegion *isa_address_space_io(ISADevice *dev); ISADevice *isa_new(const char *name); ISADevice *isa_try_new(const char *name); bool isa_realize_and_unref(ISADevice *dev, ISABus *bus, Error **errp); @@ -83,6 +79,11 @@ ISADevice *isa_create_simple(ISABus *bus, const char *name); ISADevice *isa_vga_init(ISABus *bus); +qemu_irq isa_get_irq(ISADevice *dev, unsigned isairq); +void isa_connect_gpio_out(ISADevice *isadev, int gpioirq, unsigned isairq); +MemoryRegion *isa_address_space(ISADevice *dev); +MemoryRegion *isa_address_space_io(ISADevice *dev); + /** * isa_register_ioport: Install an I/O port region on the ISA bus. * |