[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 03/29] isa: qidl_declare ISADevice
From: |
Michael Roth |
Subject: |
[Qemu-devel] [PATCH 03/29] isa: qidl_declare ISADevice |
Date: |
Thu, 1 Nov 2012 08:04:05 -0500 |
Signed-off-by: Michael Roth <address@hidden>
---
hw/isa-bus.c | 4 ++++
hw/isa.h | 3 ++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/hw/isa-bus.c b/hw/isa-bus.c
index 685fdc0..821a16c 100644
--- a/hw/isa-bus.c
+++ b/hw/isa-bus.c
@@ -22,6 +22,10 @@
#include "sysemu.h"
#include "isa.h"
#include "exec-memory.h"
+#include "qidl.h"
+
+QIDL_ENABLE()
+QIDL_IMPLEMENT_PUBLIC(ISADevice)
static ISABus *isabus;
hwaddr isa_mem_base = 0;
diff --git a/hw/isa.h b/hw/isa.h
index f9382e8..8f8e6c2 100644
--- a/hw/isa.h
+++ b/hw/isa.h
@@ -6,6 +6,7 @@
#include "ioport.h"
#include "memory.h"
#include "qdev.h"
+#include "qidl.h"
#define ISA_NUM_IRQS 16
@@ -31,7 +32,7 @@ struct ISABus {
qemu_irq *irqs;
};
-struct ISADevice {
+QIDL_DECLARE_PUBLIC(ISADevice) {
DeviceState qdev;
uint32_t isairq[2];
int nirqs;
--
1.7.9.5
- [Qemu-devel] [PATCH 25/29] ide: add qom property for isa-ide state, (continued)
- [Qemu-devel] [PATCH 25/29] ide: add qom property for isa-ide state, Michael Roth, 2012/11/01
- [Qemu-devel] [PATCH 18/29] piix3: add qom property for PIIX3 state, Michael Roth, 2012/11/01
- [Qemu-devel] [PATCH 19/29] shpc: qidl_declare SHPCDevice, Michael Roth, 2012/11/01
- [Qemu-devel] [PATCH 26/29] ide: qidl_declare BMDMAState + PCIIDEState, Michael Roth, 2012/11/01
- [Qemu-devel] [PATCH 24/29] ide: qidl_declare ISAIDEState, Michael Roth, 2012/11/01
- [Qemu-devel] [PATCH 16/29] i440fx: a qom property for i440FX state, Michael Roth, 2012/11/01
- [Qemu-devel] [PATCH 12/29] cirrus: add qom property for cirrus-vga state, Michael Roth, 2012/11/01
- [Qemu-devel] [PATCH 20/29] pci_bridge: qidl_declare PCIBridge, Michael Roth, 2012/11/01
- [Qemu-devel] [PATCH 11/29] cirrus: qidl_declare PCICirrusVGAState + CirrusVGAState, Michael Roth, 2012/11/01
- [Qemu-devel] [PATCH 28/29] hpet: qidl_declare HPETState + HPETTimer, Michael Roth, 2012/11/01
- [Qemu-devel] [PATCH 03/29] isa: qidl_declare ISADevice,
Michael Roth <=
- [Qemu-devel] [PATCH 08/29] pci: use qidl_declare'd properties for TYPE_PCI_DEVICE, Michael Roth, 2012/11/01