From: Marco Gerards <metgerards@student.han.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [ppc patch] heap memory allocation
Date: Thu, 14 Oct 2004 11:23:33 +0000 [thread overview]
Message-ID: <87acupk0ga.fsf@marco.marco-g.com> (raw)
In-Reply-To: <20041014033756.GA6157@miracle> (Hollis Blanchard's message of "Wed, 13 Oct 2004 22:37:56 -0500")
Hollis Blanchard <hollis@penguinppc.org> writes:
> Ok, this is much simpler than the last patch; it just changes which
> hardcoded region of memory we use. These are the areas I think we
> need to watch out for (from memory, so not authoritative):
>
> 0-16 KB exception handlers
> 4-5 MB Old World Mac firmware
> 8-? MB some older RS/6000
> 12-20 MB newer RS/6000 / pSeries
> 20+-32 MB other bits on pSeries, like NVRAM
>
> Our link base was chosen at 2MB, which is working fine. This patch uses
> all the memory from the exception handlers (which may or may not be
> claimed by firmware) to the link base. That should give us plenty of
> room for the GRUB heap, while also leaving as much as possible open for
> the OSs to be loaded at.
This is better then what is done now.
> * kern/powerpc/ieee1275/init.c (grub_machine_init): Call
> grub_console_init first.
> Change the memory range used for grub_ieee1275_claim and
> grub_mm_init_region.
> Print an error message if the claim fails.
You forgot to mention that grub/misc.h is included. Can you add
"Include <grub/misc.h>." here?
If you make the change that Johan mentioned, it can go in as far as I
am concerned.
Thanks,
Marco
prev parent reply other threads:[~2004-10-14 11:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-14 3:37 [ppc patch] heap memory allocation Hollis Blanchard
2004-10-14 10:10 ` Johan Rydberg
2004-10-14 11:23 ` Marco Gerards [this message]
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=87acupk0ga.fsf@marco.marco-g.com \
--to=metgerards@student.han.nl \
--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.