Blame 0001-Go-back-to-using-0xf0000000-for-PCI-memory-start.patch

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