From owner-cvs-src-old@FreeBSD.ORG Wed Oct 27 16:46:53 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5A5A1065675 for ; Wed, 27 Oct 2010 16:46:53 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D36668FC0C for ; Wed, 27 Oct 2010 16:46:53 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o9RGkr3s074154 for ; Wed, 27 Oct 2010 16:46:53 GMT (envelope-from alc@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o9RGkrca074153 for cvs-src-old@freebsd.org; Wed, 27 Oct 2010 16:46:53 GMT (envelope-from alc@repoman.freebsd.org) Message-Id: <201010271646.o9RGkrca074153@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to alc@repoman.freebsd.org using -f From: Alan Cox Date: Wed, 27 Oct 2010 16:46:37 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/amd64 amd64_mem.c pmap.c src/sys/amd64/include pmap.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2010 16:46:54 -0000 alc 2010-10-27 16:46:37 UTC FreeBSD src repository Modified files: sys/amd64/amd64 amd64_mem.c pmap.c sys/amd64/include pmap.h Log: SVN rev 214425 on 2010-10-27 16:46:37Z by alc [1] According to the x86 architectural specifications, no virtual-to- physical page mapping should span two or more MTRRs of different types. Add a pmap function, pmap_demote_DMAP(), by which the MTRR module can ensure that the direct map region doesn't have such a mapping. [2] Fix a couple of nearby style errors in amd64_mrset(). [3] Re-enable the use of 1GB page mappings for implementing the direct map. (See also r197580 and r213897.) Tested by: kib@ on a Westmere-family processor [3] MFC after: 3 weeks Revision Changes Path 1.34 +36 -2 src/sys/amd64/amd64/amd64_mem.c 1.713 +53 -4 src/sys/amd64/amd64/pmap.c 1.155 +1 -0 src/sys/amd64/include/pmap.h