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: [PATCH] ELF64 and changelog and 4Gb
Date: Wed, 20 Jul 2005 22:50:32 +0200	[thread overview]
Message-ID: <200507202250.33112.okuji@enbug.org> (raw)
In-Reply-To: <20050719230122.F19A64BEAD@ws1-1.us4.outblaze.com>

On Wednesday 20 July 2005 01:01, Ruslan Nikolaev wrote:
> > I agree. This is more readable.
>
> I can change it of course... But it is not so bad:

Well, I think the problem is that there is no meaning to use a union here, and 
it makes the function too long.

> Ok... But first I have a question about grub2. Does it really provide
> "mmap" information for OS as multiboot defined or memory size only?

As this is written in the comment, this is not implemented yet.

> As for 4Gb limit:
>
> 1. Memory size variable is a 32-bit. It measures in bytes => max 4Gb.
> When it passes to OS it converts to KB measuring but it's still truncated
> to 4Gb.

But this itself is not a bug really. Because mem_upper is the size of a 
contiguous region starting from 1MB, and every BIOS has one or more memory 
holes before 4GB.

Well, there is a 4GB limit. We must implement memory map passing.

> 2005-07-17 Ruslan Nikolaev <nruslan@mail.com>
>
> * multiboot.c (grub_rescue_cmd_multiboot): using ELF64 loading code if
> ELF CLASS is a 64-bit and CPU CLASS is X86_64

Please look at the examples carefully. The rule is the same as C comments:

Also, please write complete sentences and capitalize the first word. If a 
lower-case identifier comes at the beginning of a sentence, don't capitalize 
it! Changing the spelling makes it a different identifier. If you don't like 
starting a sentence with a lower case letter, write the sentence differently 
(e.g., “The identifier lower-case is ...”).

Okuji



  reply	other threads:[~2005-07-20 20:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-19 23:01 [PATCH] ELF64 and changelog and 4Gb Ruslan Nikolaev
2005-07-20 20:50 ` Yoshinori K. Okuji [this message]
2005-07-21 21:51 ` Marco Gerards

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=200507202250.33112.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.