public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* reserve memory in low physical address - possible?
@ 2006-10-31  7:22 Jun Sun
  2006-10-31  8:12 ` Paul Mundt
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jun Sun @ 2006-10-31  7:22 UTC (permalink / raw)
  To: linux-kernel


This question is specific to i386 architecture.  While I am fairly 
comfortable with Linux kernel, I am not familiar with i386 arch. 

My objective is to reserve, or hide from kernel, some memory space in low
physical address range starting from 0.  The memory amount is in the order
of 100MB to 200MB.  The total memory is assumed to be around 512MB.

Is this possible?

I understand it is possible to reserve some memory at the end by
specifying "mem=xxxM" option in kernel command line.  I looked into
"memmap=xxxM" option but it appears not helpful for what I want.

While searching on the web I also found things like DMA zone and loaders
etc that all seem to assume the existence low-addressed physical
memory.  True?

I can certainly workaround the loader issue.  I can also re-code the real-mode
part of kernel code to migrate to higher addresses.  The DMA zone might be
a thorny one.  Any clues?  Are modern PCs still subject to
the 16MB DMA zone restriction?

Am I too far off from what I want to do?

Thanks.

Jun

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-11-02 18:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-31  7:22 reserve memory in low physical address - possible? Jun Sun
2006-10-31  8:12 ` Paul Mundt
2006-10-31 15:06   ` Jun Sun
2006-11-02 18:40     ` Jun Sun
2006-10-31 12:32 ` Richard B. Johnson
2006-10-31 15:40   ` Jun Sun
2006-10-31 16:01     ` Alan Cox
2006-10-31 12:45 ` Mark Hounschell
2006-10-31 15:14   ` Jun Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox