|
@@ -14,10 +14,6 @@
|
|
*/
|
|
*/
|
|
#define _PAGE_BIT_SWAP_TYPE 0
|
|
#define _PAGE_BIT_SWAP_TYPE 0
|
|
|
|
|
|
-#define _PAGE_NA 0
|
|
|
|
-#define _PAGE_RO 0
|
|
|
|
-#define _PAGE_USER 0
|
|
|
|
-
|
|
|
|
#define _PAGE_EXEC 0x00001 /* execute permission */
|
|
#define _PAGE_EXEC 0x00001 /* execute permission */
|
|
#define _PAGE_WRITE 0x00002 /* write access allowed */
|
|
#define _PAGE_WRITE 0x00002 /* write access allowed */
|
|
#define _PAGE_READ 0x00004 /* read access allowed */
|
|
#define _PAGE_READ 0x00004 /* read access allowed */
|
|
@@ -122,10 +118,6 @@
|
|
#define _PAGE_KERNEL_RO (_PAGE_PRIVILEGED | _PAGE_READ)
|
|
#define _PAGE_KERNEL_RO (_PAGE_PRIVILEGED | _PAGE_READ)
|
|
#define _PAGE_KERNEL_RWX (_PAGE_PRIVILEGED | _PAGE_DIRTY | \
|
|
#define _PAGE_KERNEL_RWX (_PAGE_PRIVILEGED | _PAGE_DIRTY | \
|
|
_PAGE_RW | _PAGE_EXEC)
|
|
_PAGE_RW | _PAGE_EXEC)
|
|
-/*
|
|
|
|
- * No page size encoding in the linux PTE
|
|
|
|
- */
|
|
|
|
-#define _PAGE_PSIZE 0
|
|
|
|
/*
|
|
/*
|
|
* _PAGE_CHG_MASK masks of bits that are to be preserved across
|
|
* _PAGE_CHG_MASK masks of bits that are to be preserved across
|
|
* pgprot changes
|
|
* pgprot changes
|
|
@@ -149,7 +141,7 @@
|
|
* pages. We always set _PAGE_COHERENT when SMP is enabled or
|
|
* pages. We always set _PAGE_COHERENT when SMP is enabled or
|
|
* the processor might need it for DMA coherency.
|
|
* the processor might need it for DMA coherency.
|
|
*/
|
|
*/
|
|
-#define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_PSIZE)
|
|
|
|
|
|
+#define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED)
|
|
#define _PAGE_BASE (_PAGE_BASE_NC)
|
|
#define _PAGE_BASE (_PAGE_BASE_NC)
|
|
|
|
|
|
/* Permission masks used to generate the __P and __S table,
|
|
/* Permission masks used to generate the __P and __S table,
|