grub-devel
[Top][All Lists]
Advanced

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

Re: GRUB on OLPC / XO


From: Robert Millan
Subject: Re: GRUB on OLPC / XO
Date: Mon, 21 Jan 2008 12:33:11 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

On Mon, Jan 21, 2008 at 11:24:52AM +0100, Marco Gerards wrote:
> >
> > _start: 0x10000, _end: 0x1f804
> > Using memory for heap: addr=0x100000, end=0x400000
> > Using memory for heap: addr=0x2000, end=0x9ffff
> > Welcome to GRUB!
> >
> > See how our core image and the second heap chunk overlap.  I'm not sure if 
> > this
> > is a bug in OFW's /memory/available, but in any case it doesn't hurt to add 
> > a
> > generic sanity check in our memory manager to avoid this sort of breakage.
> >
> > It's also be useful to protect our own stack, etc..
> >
> > What do you think?
> 
> At least some kind of check should be available.  It could also be in
> init.c.

Yep.

I concluded that there's nothing usefuly portable about having this in kern/,
and proposed:

  [PATCH] safety check in claim_heap()

see my other mail below.

-- 
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]