Re: CCA4 mapping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux