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
commit0a3bacf34cc3255d8845e0d5360bb2e080b062df (patch)
treec87a5c2401fdd1b5f36133dc39937788013afd4b /hw/pc.h
parent15dc11286f9772088a736fffd2978b7f49d88120 (diff)
downloadqemu-0a3bacf34cc3255d8845e0d5360bb2e080b062df.tar.gz
qemu-0a3bacf34cc3255d8845e0d5360bb2e080b062df.tar.bz2
qemu-0a3bacf34cc3255d8845e0d5360bb2e080b062df.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;