projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c3271c
)
Fix APB by reverting 16eaedf2668e9b347a59d73346fcc4c764c58348 partially
author
Blue Swirl
<blauwirbel@gmail.com>
Sat, 11 Jul 2009 08:20:24 +0000
(08:20 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sat, 11 Jul 2009 08:20:24 +0000
(08:20 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/pci.c
patch
|
blob
|
history
diff --git
a/hw/pci.c
b/hw/pci.c
index 71d9227a2e62b5fcc34577e08ee8f3b04043d32a..f592925d0662ae2060dd953aab2f590e94336783 100644
(file)
--- a/
hw/pci.c
+++ b/
hw/pci.c
@@
-135,7
+135,7
@@
static PCIBus *pci_register_secondary_bus(PCIDevice *dev, pci_map_irq_fn map_irq
{
PCIBus *bus;
- bus =
FROM_QBUS(PCIBus, qbus_create(&pci_bus_info, &dev->qdev, NULL
));
+ bus =
qemu_mallocz(sizeof(PCIBus
));
bus->map_irq = map_irq;
bus->parent_dev = dev;
bus->next = dev->bus->next;