From: Vinay Venkataraghavan <raghavanvinay@yahoo.com>
To: linux kernel <linux-kernel@vger.kernel.org>
Subject: Page protection flags in linux on an x86 platform
Date: Wed, 25 Feb 2009 13:34:52 -0800 (PST) [thread overview]
Message-ID: <257438.40011.qm@web39802.mail.mud.yahoo.com> (raw)
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
next reply other threads:[~2009-02-25 21:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-25 21:34 Vinay Venkataraghavan [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-02-26 19:36 Page protection flags in linux on an x86 platform Vinay Venkataraghavan
2009-02-26 19:54 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=257438.40011.qm@web39802.mail.mud.yahoo.com \
--to=raghavanvinay@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.