* Page protection flags in linux on an x86 platform
@ 2009-02-26 19:36 Vinay Venkataraghavan
2009-02-26 19:54 ` Arnd Bergmann
0 siblings, 1 reply; 3+ messages in thread
From: Vinay Venkataraghavan @ 2009-02-26 19:36 UTC (permalink / raw)
To: linux kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Page protection flags in linux on an x86 platform
@ 2009-02-25 21:34 Vinay Venkataraghavan
0 siblings, 0 replies; 3+ messages in thread
From: Vinay Venkataraghavan @ 2009-02-25 21:34 UTC (permalink / raw)
To: linux kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-02-26 19:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-26 19:36 Page protection flags in linux on an x86 platform Vinay Venkataraghavan
2009-02-26 19:54 ` Arnd Bergmann
-- strict thread matches above, loose matches on Subject: below --
2009-02-25 21:34 Vinay Venkataraghavan
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.