diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-28 15:28:15 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-09-04 09:37:23 -0500 |
commit | bf0c0626536ffd8407cc5e32f5223d71637d35ad (patch) | |
tree | c87a5c2401fdd1b5f36133dc39937788013afd4b /hw/pc.h | |
parent | 14fa238468eb751d1de7ad5535795e9f27db9979 (diff) | |
download | qemu-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.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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; |