projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf61680
)
Sparc64: move APB PCI memory base to correct location
author
Blue Swirl
<blauwirbel@gmail.com>
Sun, 27 Dec 2009 20:52:39 +0000
(20:52 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sun, 27 Dec 2009 20:52:39 +0000
(20:52 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/apb_pci.c
patch
|
blob
|
history
diff --git
a/hw/apb_pci.c
b/hw/apb_pci.c
index fe8faa6d05c31805409faa6eaeb772883d8cd3de..f05308b92b170bcc3180d026b075980bae84d38e 100644
(file)
--- a/
hw/apb_pci.c
+++ b/
hw/apb_pci.c
@@
-225,6
+225,8
@@
PCIBus *pci_apb_init(target_phys_addr_t special_base,
d->host_state.bus = pci_register_bus(&d->busdev.qdev, "pci",
pci_apb_set_irq, pci_pbm_map_irq, pic,
0, 32);
+ pci_bus_set_mem_base(d->host_state.bus, mem_base);
+
pci_create_simple(d->host_state.bus, 0, "pbm");
/* APB secondary busses */
*bus2 = pci_bridge_init(d->host_state.bus, PCI_DEVFN(1, 0),