On Sat, Apr 07, 2007 at 02:59:15PM -0700, h h wrote:
> I have a very basic question -- When describing physical memory to the kernel
> in prom_init(), should we describe the physical memory region where kernel is
> loaded or leave it out? We are using add_memory_region() call to describe
> physical memory to the kernel. If we do describe the memory region where
> kernel is loaded, how will kernel know not to use these pages for User
The kernel does this automatically.
Sorry I don't quite understand -- What does kernel do
How does kernel automatically know how much RAM is
If you mean kernel automatically reserves
it is loaded in, my question is where is this being
done? I am expecting calls to alloc_bootmem or
reserve_bootmem with addresses for text/data/stack
regions of kernel, but I don't see them.
Any pointers would be appreciated.
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.