lkml.org 
[lkml]   [2000]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Fixed addresses for various architectures
"H. Peter Anvin" wrote:
> I would like to have suggestions for a fixed memory address into which
> a large object can (usually) be mmap(MAP_FIXED)'d safely on various
> architectures.
>
> On i386 I'm using 0x60000000, which is (by and large) safely out of
> the way of libraries (grow up from 0x40000000) and the stack (grows
> down from 0xc0000000 or 0x80000000 depending on version and compile
> options).
>
> So, what are good values to use for other architectures?

I don't have an answer for you, but rather a related question... is
there an explaination somewhere of all of the fixed memory locations the
kernel is expecting, what they are used for, and what #defines are
related to each? I've learned some, but not all of them.

I have a Gnome Dia document in which I've tried to lay out the fixed
memory locations for arm-linux and the mapping of
ioremap<->virt<->phys<->bus. It's not perfect, but if you want a copy,
email me.

Eli
--------------------. "To the systems programmer, users and applications
Eli Carter | serve only to provide a test load."
eli.carter@inet.com `---------------------------------- (random fortune)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.042 / U:0.100 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site