* [PATCH] Update 32 bit boot protocol
@ 2008-05-09 16:43 Bernhard Walle
2008-05-21 6:12 ` Simon Horman
0 siblings, 1 reply; 3+ messages in thread
From: Bernhard Walle @ 2008-05-09 16:43 UTC (permalink / raw)
To: kexec
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@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
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Update 32 bit boot protocol
2008-05-09 16:43 [PATCH] Update 32 bit boot protocol Bernhard Walle
@ 2008-05-21 6:12 ` Simon Horman
2008-05-21 11:29 ` Bernhard Walle
0 siblings, 1 reply; 3+ messages in thread
From: Simon Horman @ 2008-05-21 6:12 UTC (permalink / raw)
To: kexec
On Fri, May 09, 2008 at 06:43:55PM +0200, Bernhard Walle wrote:
> 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@suse.de>
Thanks, I have applied this change, though I
am a little confused about the relationship between
the information in (kernel/)Documentation/i386/zero-page.txt and
(kexec-tools-testing/)doc/linux-i386-zero-page.txt.
--
Horms
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Update 32 bit boot protocol
2008-05-21 6:12 ` Simon Horman
@ 2008-05-21 11:29 ` Bernhard Walle
0 siblings, 0 replies; 3+ messages in thread
From: Bernhard Walle @ 2008-05-21 11:29 UTC (permalink / raw)
To: Simon Horman; +Cc: kexec
* Simon Horman [2008-05-21 16:12]:
>
> On Fri, May 09, 2008 at 06:43:55PM +0200, Bernhard Walle wrote:
> > 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@suse.de>
>
> Thanks, I have applied this change, though I
> am a little confused about the relationship between
> the information in (kernel/)Documentation/i386/zero-page.txt and
> (kexec-tools-testing/)doc/linux-i386-zero-page.txt.
Well, it's supposed to contain the same information. I think the 32 bit
boot protocol, i.e. the communication between the "setup" part of
bzImage and the real Linux kernel, was "explored" and used by kexec
first and then "standardised" by Linux developers. Therefore, the
documentation appeared first in kexec-tools and then some kernel
developer put it into documentation tree of the kernel.
Maybe it would make also sense to remove that part of documentation
from kexec and just refer to the (more up to date) Linux documentation.
But I leave this up to your decision. I just discovered that mistake.
Bernhard
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-05-21 11:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-09 16:43 [PATCH] Update 32 bit boot protocol Bernhard Walle
2008-05-21 6:12 ` Simon Horman
2008-05-21 11:29 ` Bernhard Walle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox