qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 24/29] ide: qidl_declare ISAIDEState


From: Michael Roth
Subject: [Qemu-devel] [PATCH 24/29] ide: qidl_declare ISAIDEState
Date: Thu, 1 Nov 2012 08:04:26 -0500

Signed-off-by: Michael Roth <address@hidden>
---
 hw/ide/isa.c |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/hw/ide/isa.c b/hw/ide/isa.c
index 8ab2718..992c553 100644
--- a/hw/ide/isa.c
+++ b/hw/ide/isa.c
@@ -27,20 +27,23 @@
 #include <hw/isa.h>
 #include "block.h"
 #include "dma.h"
+#include "qidl.h"
 
 #include <hw/ide/internal.h>
 
 /***********************************************************/
 /* ISA IDE definitions */
 
-typedef struct ISAIDEState {
+typedef struct ISAIDEState ISAIDEState;
+
+QIDL_DECLARE(ISAIDEState) {
     ISADevice dev;
     IDEBus    bus;
     uint32_t  iobase;
     uint32_t  iobase2;
     uint32_t  isairq;
     qemu_irq  irq;
-} ISAIDEState;
+};
 
 static void isa_ide_reset(DeviceState *d)
 {
-- 
1.7.9.5




reply via email to

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