lkml.org 
[lkml]   [2004]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subject[PATCH 2.6.10-rc3-mm1] m32r: PAGE_NONE support (0/3)
From
Hello,

This patchset updates page flags for m32r.

* Support PAGE_NONE
- Support PAGE_NONE attribute for memory protection.
- Add _PAGE_PROTNONE bit to pte.
On the m32r, the _PAGE_PROTNONE bit is a software bit.

* Remove PAGE_USER
- Remove _PAGE_USER bit from pte, because the m32r doesn't support it
by hardware. (cf. mips)

In my understanding, the _PAGE_PRONONE bit is used to show explicitly that
no physical memory is mapped and the mapped page is not accessible, right?
If a page marked with PAGE_NONE is accessed, an access error should
be happened.

Tested on M3T-M32700UT and M3A-ZA36 eva boards, and it looks working.
Please apply.

Thank you.

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
---

[PATCH 2.6.10-rc3-mm1] m32r: Support PAGE_NONE (1/3)
- Support PAGE_NONE attribute for memory protection.
- Add _PAGE_PROTNONE bit to pte (software bit).

[PATCH 2.6.10-rc3-mm1] m32r: Remove PAGE_USER (2/3)
- Remove _PAGE_USER bit from pte.
- The m32r doesn't support _PAGE_USER bit by hardware.

[PATCH 2.6.10-rc3-mm1] m32r: Clean up include/asm-m32r/pgtable-2level.h (3/3)
- Add #ifdef __KERNEL__
- Change __inline__ to inline for __KERNEL__ portion.
- Remove RCS ID string.

--
Hirokazu Takata <takata@linux-m32r.org>
Linux/M32R Project: http://www.linux-m32r.org/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.040 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site