cvs commit: src/sys/amd64/acpica madt.c src/sys/amd64/amd64
pmap.c
src/sys/amd64/include pmap.h src/sys/dev/acpica/Osd OsdMemory.c
src/sys/i386/acpica acpi_machdep.c madt.c src/sys/i386/i386 pmap.c
src/sys/i386/include pmap.h src/sys/ia64/include pmap.h
Maxim Sobolev
sobomax at FreeBSD.org
Sat Aug 12 00:46:56 UTC 2006
Excellent, thanks!
-Maxim
John Baldwin wrote:
> jhb 2006-08-11 19:22:57 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/amd64/acpica madt.c
> sys/amd64/amd64 pmap.c
> sys/amd64/include pmap.h
> sys/dev/acpica/Osd OsdMemory.c
> sys/i386/acpica acpi_machdep.c madt.c
> sys/i386/i386 pmap.c
> sys/i386/include pmap.h
> sys/ia64/include pmap.h
> Log:
> First pass at allowing memory to be mapped using cache modes other than
> WB (write-back) on x86 via control bits in PTEs and PDEs (including making
> use of the PAT MSR). Changes include:
> - A new pmap_mapdev_attr() function for amd64 and i386 which takes an
> additional parameter (relative to pmap_mapdev()) specifying the cache
> mode for this mapping. Note that on amd64 only WB mappings are done with
> the direct map, all other modes result in a private mapping.
> - pmap_mapdev() on i386 and amd64 now defaults to using UC (uncached)
> mappings rather than WB. Previously we relied on the BIOS setting up
> MTRR's to enforce memio regions being treated as UC. This might make
> hw.cbb_start_memory unnecessary in some cases now for example.
> - A new pmap_mapbios()/pmap_unmapbios() API has been added to allow places
> that used pmap_mapdev() to map non-device memory (such as ACPI tables)
> to do so using WB as before.
> - A new pmap_change_attr() function for amd64 and i386 that changes the
> caching mode for a range of KVA.
>
> Reviewed by: alc
>
> Revision Changes Path
> 1.21 +5 -5 src/sys/amd64/acpica/madt.c
> 1.570 +220 -4 src/sys/amd64/amd64/pmap.c
> 1.134 +5 -0 src/sys/amd64/include/pmap.h
> 1.14 +2 -2 src/sys/dev/acpica/Osd/OsdMemory.c
> 1.33 +2 -2 src/sys/i386/acpica/acpi_machdep.c
> 1.24 +5 -5 src/sys/i386/acpica/madt.c
> 1.574 +169 -2 src/sys/i386/i386/pmap.c
> 1.122 +5 -0 src/sys/i386/include/pmap.h
> 1.27 +2 -0 src/sys/ia64/include/pmap.h
>
>
More information about the cvs-src
mailing list