qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 15/29] i440fx: qidl_declare PCII440FXState


From: Michael Roth
Subject: [Qemu-devel] [PATCH 15/29] i440fx: qidl_declare PCII440FXState
Date: Thu, 1 Nov 2012 08:04:17 -0500

Signed-off-by: Michael Roth <address@hidden>
---
 hw/piix_pci.c |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/hw/piix_pci.c b/hw/piix_pci.c
index 9af5847..a4c32aa 100644
--- a/hw/piix_pci.c
+++ b/hw/piix_pci.c
@@ -30,6 +30,7 @@
 #include "sysbus.h"
 #include "range.h"
 #include "xen.h"
+#include "qidl.h"
 
 /*
  * I440FX chipset data sheet.
@@ -68,12 +69,14 @@ typedef struct PIIX3State {
     int32_t pci_irq_levels_vmstate[PIIX_NUM_PIRQS];
 } PIIX3State;
 
-typedef struct PAMMemoryRegion {
+typedef struct PAMMemoryRegion PAMMemoryRegion;
+
+QIDL_DECLARE(PAMMemoryRegion) {
     MemoryRegion alias[4];  /* index = PAM value */
     unsigned current;
-} PAMMemoryRegion;
+};
 
-struct PCII440FXState {
+QIDL_DECLARE(PCII440FXState) {
     PCIDevice dev;
     MemoryRegion *system_memory;
     MemoryRegion *pci_address_space;
-- 
1.7.9.5




reply via email to

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