j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
PCI devices having memory BARs are now accessed at the right address. This at least fixes the QEMU video card, which is now able to display the OpenBIOS prompt.
Signed-off-by: Hervé Poussineau hpoussin@reactos.org --- arch/ppc/qemu/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/ppc/qemu/init.c b/arch/ppc/qemu/init.c index f370514..cbed740 100644 --- a/arch/ppc/qemu/init.c +++ b/arch/ppc/qemu/init.c @@ -99,8 +99,8 @@ static const pci_arch_t known_arch[] = { .cfg_data = 0x80000cfc, .cfg_base = 0x80000000, .cfg_len = 0x00100000, - .host_pci_base = 0x0, - .pci_mem_base = 0xf0000000, + .host_mem_base = 0xc0000000, + .pci_mem_base = 0x100000, /* avoid VGA at 0xa0000 */ .mem_len = 0x10000000, .io_base = 0x80000000, .io_len = 0x00010000,
On 13/09/13 10:54, Hervé Poussineau wrote:
PCI devices having memory BARs are now accessed at the right address. This at least fixes the QEMU video card, which is now able to display the OpenBIOS prompt.
Signed-off-by: Hervé Poussineauhpoussin@reactos.org
arch/ppc/qemu/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/ppc/qemu/init.c b/arch/ppc/qemu/init.c index f370514..cbed740 100644 --- a/arch/ppc/qemu/init.c +++ b/arch/ppc/qemu/init.c @@ -99,8 +99,8 @@ static const pci_arch_t known_arch[] = { .cfg_data = 0x80000cfc, .cfg_base = 0x80000000, .cfg_len = 0x00100000,
.host_pci_base = 0x0,
.pci_mem_base = 0xf0000000,
Have you checked this against SVN trunk? host_mem_base is now called host_pci_base to better explain its purpose :)
.host_mem_base = 0xc0000000,
.pci_mem_base = 0x100000, /* avoid VGA at 0xa0000 */ .mem_len = 0x10000000, .io_base = 0x80000000, .io_len = 0x00010000,
ATB,
Mark.