Commit f00fc47c15d1a88c1422973d2ac10c87f7af07cb
1 parent
ee0ea1d0
moved PCI init to BIOS
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2175 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
3 additions
and
2 deletions
vl.h
| @@ -787,9 +787,10 @@ PCIBus *pci_apb_init(target_ulong special_base, target_ulong mem_base, | @@ -787,9 +787,10 @@ PCIBus *pci_apb_init(target_ulong special_base, target_ulong mem_base, | ||
| 787 | PCIBus *pci_vpb_init(void *pic, int irq, int realview); | 787 | PCIBus *pci_vpb_init(void *pic, int irq, int realview); |
| 788 | 788 | ||
| 789 | /* piix_pci.c */ | 789 | /* piix_pci.c */ |
| 790 | -PCIBus *i440fx_init(void); | 790 | +PCIBus *i440fx_init(PCIDevice **pi440fx_state); |
| 791 | +void i440fx_set_smm(PCIDevice *d, int val); | ||
| 791 | int piix3_init(PCIBus *bus); | 792 | int piix3_init(PCIBus *bus); |
| 792 | -void pci_bios_init(void); | 793 | +void i440fx_init_memory_mappings(PCIDevice *d); |
| 793 | 794 | ||
| 794 | /* openpic.c */ | 795 | /* openpic.c */ |
| 795 | typedef struct openpic_t openpic_t; | 796 | typedef struct openpic_t openpic_t; |