qemu-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]