freebsd-nq/sys/dev/acpica/Osd
John Baldwin 7e9f73f3ed 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
2006-08-11 19:22:57 +00:00
..
OsdDebug.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
OsdHardware.c Fix an off-by-one error in the port range detection. Cleanup some old 2006-04-04 02:22:38 +00:00
OsdInterrupt.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
OsdMemory.c First pass at allowing memory to be mapped using cache modes other than 2006-08-11 19:22:57 +00:00
OsdSchedule.c Since DELAY() was moved, most <machine/clock.h> #includes have been 2006-05-16 14:37:58 +00:00
OsdStream.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
OsdSynch.c Make tv_sec a time_t on all platforms but alpha. Brings us more in line with 2005-12-24 22:22:17 +00:00
OsdTable.c Catch up with ACPI-CA 20051021 import 2005-11-01 22:44:08 +00:00