[PATCH] Update 32 bit boot protocol

Bernhard Walle bwalle at suse.de
Fri May 9 12:43:55 EDT 2008


This patch updates the boot protocol to match with the kernel. See
Documentation/i386/zero-page.txt in kernel.

The number of E820 map entries have been increased from 32 to 128. The update
is necessary for the next patch that implements EDD support for kexec.
when using the default 32 bit mode.


Signed-off-by: Bernhard Walle <bwalle at suse.de>

---
 doc/linux-i386-zero-page.txt |    3 +--
 include/x86/x86-linux.h      |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

--- a/doc/linux-i386-zero-page.txt
+++ b/doc/linux-i386-zero-page.txt
@@ -75,5 +75,4 @@ Offset	Type		Description
 0x224	unsigned short	setup.S heap end pointer
 0x290 - 0x2cf		EDD_MBR_SIG_BUFFER (edd.S)
 0x2d0 - 0x600		E820MAP
-0x600 - 0x7ff		EDDBUF (edd.S) for disk signature read sector
-0x600 - 0x7eb		EDDBUF (edd.S) for edd data
+0xd00 - 0xeec		EDDBUF (edd.S) for edd data
--- a/include/x86/x86-linux.h
+++ b/include/x86/x86-linux.h
@@ -4,7 +4,7 @@
 #define TENATIVE 0 /* Code that is tenatively correct but hasn't yet been officially accepted */
 
 #define E820MAP	0x2d0		/* our map */
-#define E820MAX	32		/* number of entries in E820MAP */
+#define E820MAX	128		/* number of entries in E820MAP */
 #define E820NR	0x1e8		/* # entries in E820MAP */
 
 #ifndef ASSEMBLY



More information about the kexec mailing list