All of lore.kernel.org
 help / color / mirror / Atom feed
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: Thu, 26 Feb 2009 11:36:57 -0800 (PST)	[thread overview]
Message-ID: <356809.23263.qm@web39808.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 your help.

- Vinay


      

             reply	other threads:[~2009-02-26 19:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-26 19:36 Vinay Venkataraghavan [this message]
2009-02-26 19:54 ` Page protection flags in linux on an x86 platform Arnd Bergmann
  -- strict thread matches above, loose matches on Subject: below --
2009-02-25 21:34 Vinay Venkataraghavan

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=356809.23263.qm@web39808.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.