bd366ea
From 6d75be2d038aa97a1ce52088c6f09d9829e5a39a Mon Sep 17 00:00:00 2001
bd366ea
From: Kevin O'Connor <kevin@koconnor.net>
bd366ea
Date: Thu, 28 Jan 2010 20:33:20 -0500
bd366ea
Subject: [PATCH] Go back to using 0xf0000000 for PCI memory start.
bd366ea
bd366ea
Qemu/Kvm still has some dependencies on 0xe0000000, so go back until
bd366ea
they are ready.
bd366ea
---
bd366ea
 src/config.h  |    1 +
bd366ea
 src/pciinit.c |    2 +-
bd366ea
 2 files changed, 2 insertions(+), 1 deletions(-)
bd366ea
bd366ea
diff --git a/src/config.h b/src/config.h
bd366ea
index 58c0ffc..6297a48 100644
bd366ea
--- a/src/config.h
bd366ea
+++ b/src/config.h
bd366ea
@@ -143,6 +143,7 @@
bd366ea
 // 32KB for shadow ram copying (works around emulator deficiencies)
bd366ea
 #define BUILD_BIOS_TMP_ADDR       0x30000
bd366ea
 #define BUILD_MAX_HIGHMEM         0xe0000000
bd366ea
+#define BUILD_PCIMEM_START        0xf0000000
bd366ea
bd366ea
 #define BUILD_APIC_ADDR           0xfee00000
bd366ea
 #define BUILD_IOAPIC_ADDR         0xfec00000
bd366ea
diff --git a/src/pciinit.c b/src/pciinit.c
bd366ea
index a6070e7..0556ee2 100644
bd366ea
--- a/src/pciinit.c
bd366ea
+++ b/src/pciinit.c
bd366ea
@@ -194,7 +194,7 @@ pci_setup(void)
bd366ea
     dprintf(3, "pci setup\n");
bd366ea
bd366ea
     pci_bios_io_addr = 0xc000;
bd366ea
-    pci_bios_mem_addr = BUILD_MAX_HIGHMEM;
bd366ea
+    pci_bios_mem_addr = BUILD_PCIMEM_START;
bd366ea
bd366ea
     int bdf, max;
bd366ea
     foreachpci(bdf, max) {
bd366ea
-- 
bd366ea
1.6.6.1
bd366ea