From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Daniel Kiper <daniel.kiper@oracle.com>
Cc: <grub-devel@gnu.org>, <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH v2] multiboot2: clarify usage of the address tag
Date: Fri, 8 Jun 2018 12:08:22 +0200 [thread overview]
Message-ID: <20180608100822.ignnluc6ampugw6z@mac> (raw)
In-Reply-To: <20180608093552.GA20016@olila.local.net-space.pl>
On Fri, Jun 08, 2018 at 11:35:52AM +0200, Daniel Kiper wrote:
> On Thu, Jun 07, 2018 at 05:59:06PM +0200, Roger Pau Monne wrote:
> > Add a note to spell out that if the address tag is not present the
> > file should be loaded using the elf header.
> >
> > Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
> > ---
> > Cc: Daniel Kiper <daniel.kiper@oracle.com>
> > Cc: xen-devel@lists.xenproject.org
> > ---
> > Changes since v1:
> > - s/elf/@sc{elf}/
> > - s/Multiboot/Multiboot2/
> > ---
> > doc/multiboot.texi | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > diff --git a/doc/multiboot.texi b/doc/multiboot.texi
> > index 2e2d7e74a..3c797787c 100644
> > --- a/doc/multiboot.texi
> > +++ b/doc/multiboot.texi
> > @@ -509,6 +509,12 @@ assumes that no bss segment is present.
> >
> > @end table
> >
> > +Note: This information does not need to be provided if the kernel image
> > +is in @sc{elf} format, but it must be provided if the image is in a.out
> > +format or in some other format. Compliant boot loaders must be able to
> > +load images that are either in @sc{elf} format or contain the address
> > +tag embedded in the Multiboot2 header.
> > +
>
> Now it is better. However, there is a lack of information that this tag
> should be preferred over the relevant data provided in the ELF header if
> both are available in the image. This have to be clear like it is in
> Multiboot spec.
Would you be OK with adding the following sentence at the end:
"When the address tag is present it must be used in order to load the
image, regardless of whether an @sc{elf} header is also present."
Roger.
next prev parent reply other threads:[~2018-06-08 10:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-07 15:59 [PATCH v2] multiboot2: clarify usage of the address tag Roger Pau Monne
2018-06-07 15:59 ` Roger Pau Monne
2018-06-08 9:35 ` Daniel Kiper
2018-06-08 10:08 ` Roger Pau Monné
2018-06-08 10:08 ` Roger Pau Monné [this message]
2018-06-08 10:39 ` Daniel Kiper
2018-06-08 10:39 ` Daniel Kiper
2018-06-11 9:30 ` Roger Pau Monné
2018-06-11 9:30 ` Roger Pau Monné
2018-06-11 11:16 ` Daniel Kiper
2018-06-11 11:16 ` Daniel Kiper
2018-06-08 9:35 ` Daniel Kiper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180608100822.ignnluc6ampugw6z@mac \
--to=roger.pau@citrix.com \
--cc=daniel.kiper@oracle.com \
--cc=grub-devel@gnu.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.