[OpenBIOS] [PATCH v2] prep: fix start address of PCI memory region
Mark Cave-Ayland
mark.cave-ayland at ilande.co.uk
Fri Sep 13 14:02:50 CEST 2013
On 13/09/13 12:26, 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é Poussineau<hpoussin at reactos.org>
> ---
>
> Changes v1->v2:
> - rebased on r1228
>
> 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..1124c6f 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_pci_base = 0xc0000000,
> + .pci_mem_base = 0x100000, /* avoid VGA at 0xa0000 */
> .mem_len = 0x10000000,
> .io_base = 0x80000000,
> .io_len = 0x00010000,
Acked-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
Andreas, as PReP maintainer do you want to apply?
ATB,
Mark.
More information about the OpenBIOS
mailing list