grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Running GRUB under qemu on PowerPC


From: Robert Millan
Subject: Re: [PATCH] Running GRUB under qemu on PowerPC
Date: Wed, 16 Jan 2008 20:33:44 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

On Wed, Jan 16, 2008 at 01:22:48PM -0500, Pavel Roskin wrote:
> 
> On Wed, 2008-01-16 at 11:40 +0100, Robert Millan wrote:
> > On Wed, Jan 16, 2008 at 03:19:49AM -0500, Pavel Roskin wrote:
> > > 
> > > The unresolved problem is that the "/memory/available" property is not  
> > > available.  I get the "grub rescue" prompt, but all commands fail with  
> > > "out of memory".
> > 
> > Does this mean all memory is ours to deal with as pleased?  :-)
> > 
> > I suggest you try poking it by trying to read all existing memory in your
> > address space.
> 
> I guess the simplest approach would be to assume that we have a certain
> amount of memory that would be enough for GRUB.

What a mess.  What does Linux do?  They have to support callbacks to get the
memory map, so it can't just claim everything.

In any case, if you have to make this assumption, considering reusing the
HEAP_MIN_SIZE macro, which has the same meaning.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]