| To: | Hauke Goos-Habermann <haukeh@pc-kiel.de> |
|---|---|
| Subject: | Re: CCA4 mapping |
| From: | Dan Malek <dan@embeddedalley.com> |
| Date: | Thu, 26 May 2005 15:39:49 -0400 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <200505261520.34985.haukeh@pc-kiel.de> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <200505261520.34985.haukeh@pc-kiel.de> |
| Sender: | linux-mips-bounce@linux-mips.org |
On May 26, 2005, at 9:20 AM, Hauke Goos-Habermann wrote: Does anybody have an idea how to make the CCA4 mapping?
In the mmap() entry for the driver:
pgprot_val(vma->vm_page_prot) |= (4 << 9); /* CCA4 */
or, whatever is appropriate. This will only work from a user
application (like X-Windows) that mmaps() the driver, you
aren't going to get a kernel mapped space this way without
some special VM space hacking.
Thanks.
-- Dan
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: glibc-2.3.4 mips64 compilation failure, Maciej W. Rozycki |
|---|---|
| Next by Date: | Re: glibc-2.3.4 mips64 compilation failure, Daniel Jacobowitz |
| Previous by Thread: | CCA4 mapping, Hauke Goos-Habermann |
| Next by Thread: | Re: CCA4 mapping, Hauke Goos-Habermann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |