summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/include/pte.h5
-rw-r--r--sys/arch/i386/include/pte.h5
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/amd64/include/pte.h b/sys/arch/amd64/include/pte.h
index c14138a7e45..16d51cf4fce 100644
--- a/sys/arch/amd64/include/pte.h
+++ b/sys/arch/amd64/include/pte.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pte.h,v 1.5 2006/10/16 15:51:26 tom Exp $ */
+/* $OpenBSD: pte.h,v 1.6 2010/04/20 19:22:06 oga Exp $ */
/* $NetBSD: pte.h,v 1.1 2003/04/26 18:39:47 fvdl Exp $ */
/*
@@ -106,7 +106,8 @@ typedef u_int64_t pt_entry_t; /* PTE */
#define PG_RW 0x0000000000000002UL /* read-write */
#define PG_u 0x0000000000000004UL /* user accessible */
#define PG_PROT 0x0000000000000006UL
-#define PG_N 0x0000000000000018UL /* non-cacheable */
+#define PG_WT 0x0000000000000008UL /* write through */
+#define PG_N 0x0000000000000010UL /* non-cacheable */
#define PG_U 0x0000000000000020UL /* used */
#define PG_M 0x0000000000000040UL /* modified */
#define PG_PS 0x0000000000000080UL /* 2MB page size */
diff --git a/sys/arch/i386/include/pte.h b/sys/arch/i386/include/pte.h
index a3b3542824d..4b0594b1da3 100644
--- a/sys/arch/i386/include/pte.h
+++ b/sys/arch/i386/include/pte.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pte.h,v 1.9 2007/02/20 21:15:01 tom Exp $ */
+/* $OpenBSD: pte.h,v 1.10 2010/04/20 19:22:06 oga Exp $ */
/* $NetBSD: pte.h,v 1.11 1998/02/06 21:58:05 thorpej Exp $ */
/*
@@ -165,7 +165,8 @@ typedef u_int32_t pt_entry_t; /* PTE */
#define PG_RW 0x00000002 /* read-write page */
#define PG_u 0x00000004 /* user accessible page */
#define PG_PROT 0x00000806 /* all protection bits */
-#define PG_N 0x00000018 /* non-cacheable */
+#define PG_WT 0x00000008 /* write through */
+#define PG_N 0x00000010 /* non-cacheable */
#define PG_U 0x00000020 /* has been used */
#define PG_M 0x00000040 /* has been modified */
#define PG_PS 0x00000080 /* 4MB page size */