mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
libqos: fix spapr qpci_map()
Signed-off-by: Laurent Vivier <lvivier@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
f38a0b2fd7
commit
b84541693b
1 changed files with 2 additions and 2 deletions
|
@ -193,8 +193,8 @@ QPCIBus *qpci_init_spapr(QGuestAllocator *alloc)
|
|||
ret->pio.size = SPAPR_PCI_IO_WIN_SIZE;
|
||||
|
||||
/* 32-bit portion of the MMIO window is at PCI address 2..4 GiB */
|
||||
ret->mmio32_cpu_base = SPAPR_PCI_BASE + SPAPR_PCI_MMIO32_WIN_SIZE;
|
||||
ret->mmio32.pci_base = 0x80000000; /* 2 GiB */
|
||||
ret->mmio32_cpu_base = SPAPR_PCI_BASE;
|
||||
ret->mmio32.pci_base = SPAPR_PCI_MMIO32_WIN_SIZE;
|
||||
ret->mmio32.size = SPAPR_PCI_MMIO32_WIN_SIZE;
|
||||
|
||||
ret->bus.pio_alloc_ptr = 0xc000;
|
||||
|
|
Loading…
Reference in a new issue