[coreboot] r802 - coreboot-v3/northbridge/intel/i440bxemulation

svn at coreboot.org svn at coreboot.org
Fri Aug 22 13:29:30 CEST 2008


Author: hailfinger
Date: 2008-08-22 13:29:30 +0200 (Fri, 22 Aug 2008)
New Revision: 802

Modified:
   coreboot-v3/northbridge/intel/i440bxemulation/i440bx.c
Log:
i440bxemulation is missing the hole between 640k and 768k for VGA
(0xA0000-0xAFFFF) and text mode (0xB8000-0xBFFFF).

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Acked-by: Ronald G. Minnich <rminnich at gmail.com>


Modified: coreboot-v3/northbridge/intel/i440bxemulation/i440bx.c
===================================================================
--- coreboot-v3/northbridge/intel/i440bxemulation/i440bx.c	2008-08-22 11:10:04 UTC (rev 801)
+++ coreboot-v3/northbridge/intel/i440bxemulation/i440bx.c	2008-08-22 11:29:30 UTC (rev 802)
@@ -61,8 +61,12 @@
 	mc_dev = dev->link[0].children;
 	if (mc_dev) {
 		idx = 10;
-#warning FIXME: We have no memory hole between 640 and 768 kB
-		ram_resource(dev, idx++, 0, tolmk);
+		/* 0 .. 640 kB */
+		ram_resource(dev, idx++, 0, 640);
+		/* Hole for VGA (0xA0000-0xAFFFF) graphics and text mode
+		 * graphics (0xB8000-0xBFFFF) */
+		/* 768 kB .. Systop (in KB) */
+		ram_resource(dev, idx++, 768, tolmk - 768);
 	}
 	phase4_assign_resources(&dev->link[0]);
 }





More information about the coreboot mailing list