summaryrefslogtreecommitdiff
path: root/hw/pc.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-28 15:28:15 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-04 09:37:23 -0500
commitbf0c0626536ffd8407cc5e32f5223d71637d35ad (patch)
treec87a5c2401fdd1b5f36133dc39937788013afd4b /hw/pc.h
parent14fa238468eb751d1de7ad5535795e9f27db9979 (diff)
downloadqemu-bf0c0626536ffd8407cc5e32f5223d71637d35ad.tar.gz
qemu-bf0c0626536ffd8407cc5e32f5223d71637d35ad.tar.bz2
qemu-bf0c0626536ffd8407cc5e32f5223d71637d35ad.zip
Use PCII440FXState instead of generic PCIDevice
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pc.h')
-rw-r--r--hw/pc.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/hw/pc.h b/hw/pc.h
index 3c46290afb..3572165f29 100644
--- a/hw/pc.h
+++ b/hw/pc.h
@@ -117,10 +117,13 @@ void pcspk_init(PITState *);
int pcspk_audio_init(qemu_irq *pic);
/* piix_pci.c */
-PCIBus *i440fx_init(PCIDevice **pi440fx_state, qemu_irq *pic);
-void i440fx_set_smm(PCIDevice *d, int val);
+struct PCII440FXState;
+typedef struct PCII440FXState PCII440FXState;
+
+PCIBus *i440fx_init(PCII440FXState **pi440fx_state, qemu_irq *pic);
+void i440fx_set_smm(PCII440FXState *d, int val);
int piix3_init(PCIBus *bus, int devfn);
-void i440fx_init_memory_mappings(PCIDevice *d);
+void i440fx_init_memory_mappings(PCII440FXState *d);
/* piix4.c */
extern PCIDevice *piix4_dev;