[<prev] [next>] [day] [month] [year] [list]
Message-ID: <257438.40011.qm@web39802.mail.mud.yahoo.com>
Date: Wed, 25 Feb 2009 13:34:52 -0800 (PST)
From: Vinay Venkataraghavan <raghavanvinay@...oo.com>
To: linux kernel <linux-kernel@...r.kernel.org>
Subject: Page protection flags in linux on an x86 platform
Folks,
I am trying to port some PPC code to x86 based linux. My question is that I am need to create some page mappings using remap_pfn_range. In the code for the PPC,
the protection flags being specified are:
__pgprot(_PAGE_NO_CACHE | _PAGE_GUARDED);
But it looks like these do not exist when linux is compiled for the x86 architecture.
What are the relevant protection flags to achieve the same for the x86 architecture.
Thanks for any help.
- Vinay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists