GRUB on OLPC / XO
Robert Millan
rmh at aybabtu.com
Mon Jan 21 06:33:11 EST 2008
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 /.)
More information about the Devel
mailing list