[Top] [All Lists]

Re: Question about mmap()

To: Sugi <>
Subject: Re: Question about mmap()
From: "Maciej W. Rozycki" <>
Date: Wed, 5 Sep 2001 13:50:11 +0200 (MET DST)
Cc: "" <>
In-reply-to: <>
Organization: Technical University of Gdansk
On Tue, 4 Sep 2001, Sugi wrote:

> Could you tell me how to get a non_cached address?

 See pgprot_noncached() in drivers/char/mem.c and how that's used for
mmap()ping /dev/mem.  Note that pgprot_noncached() should probably moved
to include/asm/pgtable.h as the comment suggests, so you'd better move the
relevant (MIPS) part there instead of duplicating the code.  This is
already done for ia64. 

+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+        e-mail:, PGP key available        +

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