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:
parent
48a18b3c69
commit
d1a1be180c
@ -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;
|
||||||
|
|
||||||
|
6
hw/isa.h
6
hw/isa.h
@ -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];
|
||||||
|
Loading…
Reference in New Issue
Block a user