[coreboot] [PATCH] v3: missing 640k-1024k mem hole for i440bxemulation

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Thu Mar 20 03:39:59 CET 2008


i440bxemulation is missing the 640k-1024k mem hole.
geodelx has the hole.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>

Index: LinuxBIOSv3-stuff/northbridge/intel/i440bxemulation/i440bx.c
===================================================================
--- LinuxBIOSv3-stuff/northbridge/intel/i440bxemulation/i440bx.c	(Revision 644)
+++ LinuxBIOSv3-stuff/northbridge/intel/i440bxemulation/i440bx.c	(Arbeitskopie)
@@ -59,7 +59,10 @@
 	mc_dev = dev->link[0].children;
 	if (mc_dev) {
 		idx = 10;
-		ram_resource(dev, idx++, 0, tolmk);
+		/* 0 .. 640 KB */
+		ram_resource(dev, idx++, 0, 640);
+		/* 1 MB .. (Systop - 1 MB) (in KB) */
+		ram_resource(dev, idx++, 1024, tolmk - 1024);
 	}
 	phase4_assign_resources(&dev->link[0]);
 }


-- 
http://www.hailfinger.org/





More information about the coreboot mailing list