Patchwork [5/5] Set the PCI base address to 0xf0000000.

login
register
mail settings
Submitter Gleb Natapov
Date Oct. 11, 2009, 6:59 p.m.
Message ID <1255287547-28329-5-git-send-email-gleb@redhat.com>
Download mbox | patch
Permalink /patch/35718/
State Not Applicable
Headers show

Comments

Gleb Natapov - Oct. 11, 2009, 6:59 p.m.
Qemu starts PCI hole at 0xe0000000, but lets set it to the same value as
pcbios uses for now.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
---
 src/pciinit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Kevin O'Connor - Oct. 12, 2009, 2:24 p.m.
On Sun, Oct 11, 2009 at 08:59:07PM +0200, Gleb Natapov wrote:
> Qemu starts PCI hole at 0xe0000000, but lets set it to the same value as
> pcbios uses for now.
> 
> Signed-off-by: Gleb Natapov <gleb@redhat.com>

I committed patch 1,2,5.  I await consensus on patch 3,4.

-Kevin

Patch

diff --git a/src/pciinit.c b/src/pciinit.c
index 53fbfcf..67d6a26 100644
--- a/src/pciinit.c
+++ b/src/pciinit.c
@@ -202,7 +202,7 @@  pci_setup(void)
     dprintf(3, "pci setup\n");
 
     pci_bios_io_addr = 0xc000;
-    pci_bios_mem_addr = 0xc0000000;
+    pci_bios_mem_addr = 0xf0000000;
     pci_bios_bigmem_addr = RamSize;
     if (pci_bios_bigmem_addr < 0x90000000)
         pci_bios_bigmem_addr = 0x90000000;