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