[Top] [All Lists]

Re: CCA4 mapping

To: Hauke Goos-Habermann <>
Subject: Re: CCA4 mapping
From: Dan Malek <>
Date: Thu, 26 May 2005 15:39:49 -0400
In-reply-to: <>
Original-recipient: rfc822;
References: <>

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.


        -- Dan

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