grub-devel
[Top][All Lists]
Advanced

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

[PATCH] efika memory issues


From: Robert Millan
Subject: [PATCH] efika memory issues
Date: Mon, 30 Jul 2007 22:11:38 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Sun, Jul 29, 2007 at 09:30:11PM +0200, Robert Millan wrote:
> 
> Hi Sven,
> 
> I have a pair of questions about the memory issue..
> 
> [...]

Ok, after some discussion on IRC, and invaluable help by Sven in documenting
smartfirmware behaviour, I came up with this patch.

Please let me know what you think.  If there are no objections I'll check it
in in a few days.

2007-07-30  Robert Millan  <address@hidden>

        * include/grub/ieee1275/ieee1275.h (grub_ieee1275_flag): Add
        GRUB_IEEE1275_FLAG_EFIKA_SECRET_AVAILABLE_REGION flag.
        * kern/powerpc/ieee1275/cmain.c (grub_ieee1275_find_options): Set
        GRUB_IEEE1275_FLAG_EFIKA_SECRET_AVAILABLE_REGION flag when running
        on an Efika (SmartFirmware).
        * kern/powerpc/ieee1275/init.c (grub_claim_heap): Fail gracefuly when
        addr > heaplimit.
        Use grub_printf instead of grub_error for error reporting, since
        grub_error doesn't work at this point of execution.
        When GRUB_IEEE1275_FLAG_EFIKA_SECRET_AVAILABLE_REGION was set,
        release hardcoded 0x4000:0xffc000 region.

-- 
Robert Millan

My spam trap is address@hidden  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.

Attachment: efika.diff
Description: Text Data


reply via email to

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