From owner-svn-src-head@FreeBSD.ORG Wed Sep 2 16:47:11 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29529106568D; Wed, 2 Sep 2009 16:47:11 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 17F498FC1C; Wed, 2 Sep 2009 16:47:11 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n82GlA9S001797; Wed, 2 Sep 2009 16:47:10 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n82GlAeA001794; Wed, 2 Sep 2009 16:47:10 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <200909021647.n82GlAeA001794@svn.freebsd.org> From: Jung-uk Kim Date: Wed, 2 Sep 2009 16:47:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r196771 - in head/sys: amd64/amd64 i386/i386 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 16:47:11 -0000 Author: jkim Date: Wed Sep 2 16:47:10 2009 New Revision: 196771 URL: http://svn.freebsd.org/changeset/base/196771 Log: Fix confusing comments about default PAT entries. Modified: head/sys/amd64/amd64/pmap.c head/sys/i386/i386/pmap.c Modified: head/sys/amd64/amd64/pmap.c ============================================================================== --- head/sys/amd64/amd64/pmap.c Wed Sep 2 16:35:57 2009 (r196770) +++ head/sys/amd64/amd64/pmap.c Wed Sep 2 16:47:10 2009 (r196771) @@ -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) | Modified: head/sys/i386/i386/pmap.c ============================================================================== --- head/sys/i386/i386/pmap.c Wed Sep 2 16:35:57 2009 (r196770) +++ head/sys/i386/i386/pmap.c Wed Sep 2 16:47:10 2009 (r196771) @@ -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) |