aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2009-09-02 16:47:10 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2009-09-02 16:47:10 +0000
commitc8e648e16768bdba73b8cc4b957907e2ac5fdc7c (patch)
tree5b92d5e2e857401b6d93a856667467c1501b12e6 /sys
parentc9e881790201d01428ad2d6e5ae2d0659bfc778b (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/pmap.c4
-rw-r--r--sys/i386/i386/pmap.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 368513b687e36..4febfb3b88665 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -628,9 +628,9 @@ pmap_init_pat(void)
if (pat_works) {
/*
- * Leave the indices 0-3 at the default of WB, WT, UC, and UC-.
+ * Leave the indices 0-3 at the default of WB, WT, UC-, and UC.
* Program 4 and 5 as WP and WC.
- * Leave 6 and 7 as UC and UC-.
+ * Leave 6 and 7 as UC- and UC.
*/
pat_msr &= ~(PAT_MASK(4) | PAT_MASK(5));
pat_msr |= PAT_VALUE(4, PAT_WRITE_PROTECTED) |
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c
index 1648126233e51..9b832aefc953d 100644
--- a/sys/i386/i386/pmap.c
+++ b/sys/i386/i386/pmap.c
@@ -528,9 +528,9 @@ pmap_init_pat(void)
if (pat_works) {
/*
- * Leave the indices 0-3 at the default of WB, WT, UC, and UC-.
+ * Leave the indices 0-3 at the default of WB, WT, UC-, and UC.
* Program 4 and 5 as WP and WC.
- * Leave 6 and 7 as UC and UC-.
+ * Leave 6 and 7 as UC- and UC.
*/
pat_msr &= ~(PAT_MASK(4) | PAT_MASK(5));
pat_msr |= PAT_VALUE(4, PAT_WRITE_PROTECTED) |