From 88c17277221898382afd4eeaa7b5ff1ea59377b2 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Fri, 22 Aug 2008 11:29:30 +0000 Subject: [PATCH] i440bxemulation is missing the hole between 640k and 768k for VGA (0xA0000-0xAFFFF) and text mode (0xB8000-0xBFFFF). Signed-off-by: Carl-Daniel Hailfinger Acked-by: Ronald G. Minnich git-svn-id: svn://coreboot.org/repository/coreboot-v3@802 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- northbridge/intel/i440bxemulation/i440bx.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/northbridge/intel/i440bxemulation/i440bx.c b/northbridge/intel/i440bxemulation/i440bx.c index 041469a67d..5f5119ea42 100644 --- a/northbridge/intel/i440bxemulation/i440bx.c +++ b/northbridge/intel/i440bxemulation/i440bx.c @@ -61,8 +61,12 @@ static void pci_domain_set_resources(struct device *dev) 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]); }