diff options
author | Hervé Poussineau <hpoussin@reactos.org> | 2011-12-15 22:09:52 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-12-20 15:44:30 -0600 |
commit | d1a1be180c0e0299d7b7c1e3e6ed3b7002bdf8e0 (patch) | |
tree | 2dafa29c511d6037e57d3407a4c90729dfcdc5ef /hw | |
parent | 48a18b3c698295e4d891f34e919615e84e20f027 (diff) | |
download | qemu-d1a1be180c0e0299d7b7c1e3e6ed3b7002bdf8e0.zip |
isa: move ISABus structure definition to header file
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/isa-bus.c | 5 | ||||
-rw-r--r-- | hw/isa.h | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/hw/isa-bus.c b/hw/isa-bus.c index dcbb1348f3..7c94f0b7ba 100644 --- a/hw/isa-bus.c +++ b/hw/isa-bus.c @@ -22,11 +22,6 @@ #include "isa.h" #include "exec-memory.h" -struct ISABus { - BusState qbus; - MemoryRegion *address_space_io; - qemu_irq *irqs; -}; static ISABus *isabus; target_phys_addr_t isa_mem_base = 0; @@ -12,6 +12,12 @@ typedef struct ISADevice ISADevice; typedef struct ISADeviceInfo ISADeviceInfo; +struct ISABus { + BusState qbus; + MemoryRegion *address_space_io; + qemu_irq *irqs; +}; + struct ISADevice { DeviceState qdev; uint32_t isairq[2]; |