An E820 patch for 2.3.28

H.J. Lu (hjl@valinux.com)
Wed, 17 Nov 1999 16:21:47 -0800 (PST)


Hi, Linus,

Type 4 from the E820 BIOS call is NVS. I saw this in Intel 450NX.

-- 
H.J. Lu (hjl@gnu.org)
--
Index: arch/i386/kernel/setup.c
===================================================================
RCS file: /cvsroot/nfs/kernel/linux-2.3/arch/i386/kernel/setup.c,v
retrieving revision 1.1.1.5
diff -u -p -r1.1.1.5 setup.c
--- arch/i386/kernel/setup.c	1999/11/14 17:52:48	1.1.1.5
+++ arch/i386/kernel/setup.c	1999/11/18 00:19:45
@@ -449,6 +449,9 @@ void __init setup_memory_region(void)
 			case E820_ACPI:
 					printk("(ACPI data)\n");
 					break;
+			case E820_NVS:
+					printk("(NVS data)\n");
+					break;
 			default:	printk("type %lu\n", e820.map[i].type);
 					break;
 			}
Index: include/asm-i386/e820.h
===================================================================
RCS file: /cvsroot/nfs/kernel/linux-2.3/include/asm-i386/e820.h,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 e820.h
--- include/asm-i386/e820.h	1999/10/15 21:24:07	1.1.1.1
+++ include/asm-i386/e820.h	1999/11/18 00:19:45
@@ -19,6 +19,7 @@
 #define E820_RAM	1
 #define E820_RESERVED	2
 #define E820_ACPI	3
+#define E820_NVS	4
 
 #define HIGH_MEMORY	(1024*1024)
 

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/