|
@@ -27,7 +27,6 @@
|
|
#include "hw/pci/pci.h"
|
|
#include "hw/pci/pci.h"
|
|
#include "hw/pci/pci_host.h"
|
|
#include "hw/pci/pci_host.h"
|
|
#include "hw/pci-host/i440fx.h"
|
|
#include "hw/pci-host/i440fx.h"
|
|
-#include "hw/southbridge/piix.h"
|
|
|
|
#include "hw/qdev-properties.h"
|
|
#include "hw/qdev-properties.h"
|
|
#include "hw/sysbus.h"
|
|
#include "hw/sysbus.h"
|
|
#include "qapi/error.h"
|
|
#include "qapi/error.h"
|
|
@@ -272,8 +271,6 @@ static void i440fx_realize(PCIDevice *dev, Error **errp)
|
|
|
|
|
|
PCIBus *i440fx_init(const char *host_type, const char *pci_type,
|
|
PCIBus *i440fx_init(const char *host_type, const char *pci_type,
|
|
PCII440FXState **pi440fx_state,
|
|
PCII440FXState **pi440fx_state,
|
|
- int *piix3_devfn,
|
|
|
|
- ISABus **isa_bus, qemu_irq *pic,
|
|
|
|
MemoryRegion *address_space_mem,
|
|
MemoryRegion *address_space_mem,
|
|
MemoryRegion *address_space_io,
|
|
MemoryRegion *address_space_io,
|
|
ram_addr_t ram_size,
|
|
ram_addr_t ram_size,
|
|
@@ -286,7 +283,6 @@ PCIBus *i440fx_init(const char *host_type, const char *pci_type,
|
|
PCIBus *b;
|
|
PCIBus *b;
|
|
PCIDevice *d;
|
|
PCIDevice *d;
|
|
PCIHostState *s;
|
|
PCIHostState *s;
|
|
- PIIX3State *piix3;
|
|
|
|
PCII440FXState *f;
|
|
PCII440FXState *f;
|
|
unsigned i;
|
|
unsigned i;
|
|
I440FXState *i440fx;
|
|
I440FXState *i440fx;
|
|
@@ -339,10 +335,6 @@ PCIBus *i440fx_init(const char *host_type, const char *pci_type,
|
|
PAM_EXPAN_SIZE);
|
|
PAM_EXPAN_SIZE);
|
|
}
|
|
}
|
|
|
|
|
|
- piix3 = piix3_create(b, isa_bus);
|
|
|
|
- piix3->pic = pic;
|
|
|
|
- *piix3_devfn = piix3->dev.devfn;
|
|
|
|
-
|
|
|
|
ram_size = ram_size / 8 / 1024 / 1024;
|
|
ram_size = ram_size / 8 / 1024 / 1024;
|
|
if (ram_size > 255) {
|
|
if (ram_size > 255) {
|
|
ram_size = 255;
|
|
ram_size = 255;
|