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>
This commit is contained in:
Hervé Poussineau 2011-12-15 22:09:52 +01:00 committed by Anthony Liguori
parent 48a18b3c69
commit d1a1be180c
2 changed files with 6 additions and 5 deletions

View File

@ -22,11 +22,6 @@
#include "isa.h" #include "isa.h"
#include "exec-memory.h" #include "exec-memory.h"
struct ISABus {
BusState qbus;
MemoryRegion *address_space_io;
qemu_irq *irqs;
};
static ISABus *isabus; static ISABus *isabus;
target_phys_addr_t isa_mem_base = 0; target_phys_addr_t isa_mem_base = 0;

View File

@ -12,6 +12,12 @@
typedef struct ISADevice ISADevice; typedef struct ISADevice ISADevice;
typedef struct ISADeviceInfo ISADeviceInfo; typedef struct ISADeviceInfo ISADeviceInfo;
struct ISABus {
BusState qbus;
MemoryRegion *address_space_io;
qemu_irq *irqs;
};
struct ISADevice { struct ISADevice {
DeviceState qdev; DeviceState qdev;
uint32_t isairq[2]; uint32_t isairq[2];