[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 02/11] isa: move ISABus structure definition to head
From: |
Hervé Poussineau |
Subject: |
[Qemu-devel] [PATCH 02/11] isa: move ISABus structure definition to header file |
Date: |
Thu, 15 Dec 2011 00:02:34 +0100 |
Signed-off-by: Hervé Poussineau <address@hidden>
---
hw/isa-bus.c | 5 -----
hw/isa.h | 6 ++++++
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/hw/isa-bus.c b/hw/isa-bus.c
index dcbb134..7c94f0b 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;
diff --git a/hw/isa.h b/hw/isa.h
index 4b58e37..0462521 100644
--- a/hw/isa.h
+++ b/hw/isa.h
@@ -13,6 +13,12 @@ typedef struct ISABus ISABus;
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];
--
1.7.7.3
- [Qemu-devel] [PATCH v2 00/11] isa: preliminary work for multiple buses, Hervé Poussineau, 2011/12/14
- [Qemu-devel] [PATCH 02/11] isa: move ISABus structure definition to header file,
Hervé Poussineau <=
- [Qemu-devel] [PATCH 01/11] isa: give ISABus/ISADevice to isa_create(), isa_bus_irqs() and isa_get_irq() functions, Hervé Poussineau, 2011/12/14
- [Qemu-devel] [PATCH 03/11] i8259: give ISA device to isa_register_ioport(), Hervé Poussineau, 2011/12/14
- [Qemu-devel] [PATCH 08/11] malta: give ISA bus to ISA methods, Hervé Poussineau, 2011/12/14
- [Qemu-devel] [PATCH 09/11] isa: always use provided ISA bus when creating an isa device, Hervé Poussineau, 2011/12/14
- [Qemu-devel] [PATCH 10/11] isa: always use provided ISA bus in isa_bus_irqs(), Hervé Poussineau, 2011/12/14
- [Qemu-devel] [PATCH 11/11] audio: remove unused parameter isa_pic, Hervé Poussineau, 2011/12/14
- [Qemu-devel] [PATCH 05/11] alpha: give ISA bus to ISA methods, Hervé Poussineau, 2011/12/14
- [Qemu-devel] [PATCH 04/11] pc: give ISA bus to ISA methods, Hervé Poussineau, 2011/12/14
- [Qemu-devel] [PATCH 07/11] fulong2e: give ISA bus to ISA methods, Hervé Poussineau, 2011/12/14
- [Qemu-devel] [PATCH 06/11] sun4u: give ISA bus to ISA methods, Hervé Poussineau, 2011/12/14