diff options
Diffstat (limited to 'hw/pci-host/prep.c')
| -rw-r--r-- | hw/pci-host/prep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/pci-host/prep.c b/hw/pci-host/prep.c index b41d5646cd..e120058511 100644 --- a/hw/pci-host/prep.c +++ b/hw/pci-host/prep.c @@ -119,6 +119,8 @@ static void raven_pcihost_realizefn(DeviceState *d, Error **errp) MemoryRegion *address_space_mem = get_system_memory(); int i; + isa_mem_base = 0xc0000000; + for (i = 0; i < 4; i++) { sysbus_init_irq(dev, &s->irq[i]); } @@ -210,6 +212,7 @@ static void raven_pcihost_class_init(ObjectClass *klass, void *data) { DeviceClass *dc = DEVICE_CLASS(klass); + set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories); dc->realize = raven_pcihost_realizefn; dc->fw_name = "pci"; dc->no_user = 1; |