Re: [PATCH] efika memory issues

2007-08-01 Thread Robert Millan
On Wed, Aug 01, 2007 at 12:34:21PM -0500, Hollis Blanchard wrote: > > Yup, it's a pain. Here's one idea: set a "GET_HEAP_FROM_WHEREVER" > flag, then later do Why a flag? Don't we want to do this unconditionally? MIN_HEAP_SIZE already determines wether it's appropiate or not. > We could try doi

Re: [PATCH] efika memory issues

2007-08-01 Thread Hollis Blanchard
On 7/31/07, Robert Millan <[EMAIL PROTECTED]> wrote: > On Tue, Jul 31, 2007 at 10:55:09AM -0500, Hollis Blanchard wrote: > > I think the simplest solution will be to allocate Efika's heap high, > > as we talked about earlier. If the first "available" region is above > > 4MB, just reserve 4MB and do

Re: [PATCH] efika memory issues

2007-07-31 Thread Robert Millan
On Tue, Jul 31, 2007 at 10:55:09AM -0500, Hollis Blanchard wrote: > On 7/31/07, Robert Millan <[EMAIL PROTECTED]> wrote: > > On Mon, Jul 30, 2007 at 05:35:28PM -0500, Hollis Blanchard wrote: > > > > When GRUB_IEEE1275_FLAG_EFIKA_SECRET_AVAILABLE_REGION was set, > > > > release hardc

Re: [PATCH] efika memory issues

2007-07-31 Thread Hollis Blanchard
On 7/31/07, Robert Millan <[EMAIL PROTECTED]> wrote: > On Mon, Jul 30, 2007 at 05:35:28PM -0500, Hollis Blanchard wrote: > > > When GRUB_IEEE1275_FLAG_EFIKA_SECRET_AVAILABLE_REGION was set, > > > release hardcoded 0x4000:0xffc000 region. > > > > Hmm, does this actually work? Since G

Re: [PATCH] efika memory issues

2007-07-31 Thread Robert Millan
On Mon, Jul 30, 2007 at 05:35:28PM -0500, Hollis Blanchard wrote: > > When GRUB_IEEE1275_FLAG_EFIKA_SECRET_AVAILABLE_REGION was set, > > release hardcoded 0x4000:0xffc000 region. > > Hmm, does this actually work? Since GRUB itself falls within that > regions, the grub_ieee1275_rele

Re: [PATCH] efika memory issues

2007-07-30 Thread Hollis Blanchard
On 7/30/07, Robert Millan <[EMAIL PROTECTED]> wrote: > 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 > smartfi