All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yoshinori K. Okuji" <okuji@enbug.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: multiboot2: variable data size
Date: Sat, 25 Nov 2006 05:36:24 +0100	[thread overview]
Message-ID: <200611250536.24471.okuji@enbug.org> (raw)
In-Reply-To: <1164427712.3827.33.camel@diesel>

On Saturday 25 November 2006 05:08, Hollis Blanchard wrote:
> OK, I don't have a problem with this. We should clarify the spec.
> It will limit e.g. module sizes and addresses to less than 4GB, but
> practically speaking I don't think that is too big a deal.

I agree, although I don't know what will happen in the future. ;)

> However, there are 32-bit architectures that support 36-bit addressing
> (PowerPC is one of them). In some cases, physical IO is above 4GB, so
> some other data structure would be required to identify those devices.
> So we must remember that multiboot will not be adequate to describe an
> entire system like the Open Firmware device tree does.

I am afraid that you misunderstand the meaning of the addressing size in the 
Multiboot Spec. It only means how a boot loader should inspect memory-related 
values. For instance, the addresses in a Multiboot header. You can still pass 
arbitrary size of values in Multiboot information, regardless of 32-bit or 
64-bit.

> Do we really need x86_64-pc's "bit 17", which specifies that 64-bit
> addresses are required?

I don't know, for x86_64. The idea is to pass something "natural". My 
assumption was that, if an image is ELF64, the user wants to use 64-bit 
pointers, even if real addresses never be over 4GB. Someone who has 
experience should tell us.

Okuji



  reply	other threads:[~2006-11-25  4:36 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <iss.8f960c3c.4ebf.45648480.44026.78@relay0i.sun.com>
2006-11-22 20:55 ` Grub-devel Digest, Vol 33, Issue 19 Joe Bonasera
2006-11-25  2:09   ` multiboot2: variable data size Hollis Blanchard
2006-11-25  3:10     ` Yoshinori K. Okuji
2006-11-25  3:33       ` Hollis Blanchard
2006-11-25  3:46         ` Yoshinori K. Okuji
2006-11-25  4:08           ` Hollis Blanchard
2006-11-25  4:36             ` Yoshinori K. Okuji [this message]
2006-11-25  5:01               ` Hollis Blanchard
2006-11-28  9:29           ` Johan Rydberg
2006-11-28 11:35             ` Yoshinori K. Okuji
2006-11-28 12:46               ` bibo,mao
2006-11-28 23:29                 ` Yoshinori K. Okuji
2006-11-29  1:55                   ` bibo,mao
2006-11-29  2:37                     ` Andrei E. Warkentin
2006-11-29  0:22                 ` Johan Rydberg
2006-11-29  2:13                   ` bibo,mao
2006-11-28 12:50               ` tgingold

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=200611250536.24471.okuji@enbug.org \
    --to=okuji@enbug.org \
    --cc=grub-devel@gnu.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.