Date: Wed, 27 Oct 2010 16:46:37 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/amd64 amd64_mem.c pmap.c src/sys/amd64/include pmap.h Message-ID: <201010271646.o9RGkrca074153@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010271646.o9RGkrca074153>
