linux-mips
[Top] [All Lists]

Re: how to use memory before kernel load address?

To: ths@networkno.de
Subject: Re: how to use memory before kernel load address?
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Tue, 20 Nov 2007 22:44:57 +0900 (JST)
Cc: zzh.hust@gmail.com, linux-mips@linux-mips.org
In-reply-to: <20071120130451.GI11996@networkno.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <50c9a2250711191706g40744ab2w2027124c4bc8dbbb@mail.gmail.com> <20071120130451.GI11996@networkno.de>
Sender: linux-mips-bounce@linux-mips.org
On Tue, 20 Nov 2007 13:04:51 +0000, Thiemo Seufer <ths@networkno.de> wrote:
> >          i have try to pass param as mem=1M@1M mem=16M@16M  to the kernel,
> > it seems only take the 0x8000000 ~ kernel_end as reserved.
> >          is there any other options to set the memory useable? ( my kernel
> > version is 2.6.14)
> >          thanks for any hints
> 
> AFAIR the kernel assumes to occupy the lowest addresses of the usable RAM.

You can use prom_free_prom_memory() to give some low pages back to kernel.

---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>