freebsd-skq/sys/amd64
Konstantin Belousov 3136faa59d Make pmap_invalidate_cache_range() available for consumption on amd64.
Add pmap_invalidate_cache_pages() method on x86. It flushes the CPU
cache for the set of pages, which are not neccessary mapped. Since its
supposed use is to prepare the move of the pages ownership to a device
that does not snoop all CPU accesses to the main memory (read GPU in
GMCH), do not rely on CPU self-snoop feature.

amd64 implementation takes advantage of the direct map. On i386,
extract the helper pmap_flush_page() from pmap_page_set_memattr(), and
use it to make a temporary mapping of the flushed page.

Reviewed by:	alc
Sponsored by:	The FreeBSD Foundation
MFC after:	3 weeks
2011-04-18 21:24:42 +00:00
..
acpica sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly. 2011-01-12 19:54:19 +00:00
amd64 Make pmap_invalidate_cache_range() available for consumption on amd64. 2011-04-18 21:24:42 +00:00
compile
conf Break out the ath PCI logic into a separate device/module. 2011-03-31 08:07:13 +00:00
ia32 Catch up to PCB_FULL_IRET becoming a pcb flag rather than a full field. 2011-04-08 13:30:48 +00:00
include Make pmap_invalidate_cache_range() available for consumption on amd64. 2011-04-18 21:24:42 +00:00
linux32 Revert r220032:linux compat: add SO_PASSCRED option with basic handling 2011-03-31 08:14:51 +00:00
pci number of cleanups in i386 and amd64 pci md code 2009-09-24 07:11:23 +00:00
Makefile Adjustments to make a tags file a bit more suitable to amd64. 2008-12-01 14:15:10 +00:00