|
@@ -67,7 +67,8 @@
|
|
* These bits overlap with the hardware bits but the naming is preserved for
|
|
* These bits overlap with the hardware bits but the naming is preserved for
|
|
* consistency with the classic page table format.
|
|
* consistency with the classic page table format.
|
|
*/
|
|
*/
|
|
-#define L_PTE_PRESENT (_AT(pteval_t, 3) << 0) /* Valid */
|
|
|
|
|
|
+#define L_PTE_VALID (_AT(pteval_t, 1) << 0) /* Valid */
|
|
|
|
+#define L_PTE_PRESENT (_AT(pteval_t, 3) << 0) /* Present */
|
|
#define L_PTE_FILE (_AT(pteval_t, 1) << 2) /* only when !PRESENT */
|
|
#define L_PTE_FILE (_AT(pteval_t, 1) << 2) /* only when !PRESENT */
|
|
#define L_PTE_USER (_AT(pteval_t, 1) << 6) /* AP[1] */
|
|
#define L_PTE_USER (_AT(pteval_t, 1) << 6) /* AP[1] */
|
|
#define L_PTE_RDONLY (_AT(pteval_t, 1) << 7) /* AP[2] */
|
|
#define L_PTE_RDONLY (_AT(pteval_t, 1) << 7) /* AP[2] */
|