All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Idea: Move kernel to upper memory
Date: Thu, 4 Sep 2008 21:19:32 +0200	[thread overview]
Message-ID: <20080904191932.GA9133@thorin> (raw)
In-Reply-To: <48BE6ACD.7090607@symantec.com>

On Wed, Sep 03, 2008 at 04:15:33PM +0530, BVK Chaitanya wrote:
> Hi,
> 
> 
> What is the conclusion of this thread?  is this idea still explored?
> 
> 
> Robert Millan wrote:
> >
> >The first concern that comes to mind is how would GRUB coexist with the
> >payload area which precisely starts at 0x100000.  But I expect we'd face
> >many unexpected issues.
> >
> 
> Does this mean, GRUB needs to fit within 1MB limit when all its modules 
> are loaded?  More clearly, are there any limits on where (and how many) 
> grub modules can be dynamically loaded currently?
> 
> Since payload(s) needs to be present at their precise positions only 
> after the boot command, we can always deterministically /schedule/ 
> memmove operation to be executed as part of boot command.
> 
> Since boot command is the last command executed by GRUB (correct me if 
> not), we can overwrite any GRUB code/data at that point.  This also 
> needs boot command to exist in low memory.

This is already done.  See grub_multiboot_{forward,backward}_relocator
variables and how they're used in the multiboot loader.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."



  reply	other threads:[~2008-09-04 19:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-29 11:15 Idea: Move kernel to upper memory Bean
2008-08-30 12:40 ` Robert Millan
2008-08-30 15:15   ` Bean
2008-08-31 13:28     ` Robert Millan
2008-08-31 13:30     ` Robert Millan
2008-08-31 13:55       ` Bean
2008-09-03 10:45   ` BVK Chaitanya
2008-09-04 19:19     ` Robert Millan [this message]
2008-09-06 14:14       ` BVK
2009-04-19 15:45 ` Vladimir Serbinenko

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=20080904191932.GA9133@thorin \
    --to=rmh@aybabtu.com \
    --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.