freebsd-skq/sys/i386/i386
kib 01863c3790 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
..
apic_vector.s If an interrupt on an I/O APIC is moved to a different CPU after it has 2011-01-13 17:00:22 +00:00
atomic.c
atpic_vector.s Clear DF bit in eflags/rflags on the kernel entry. The i386 and amd64 2010-06-23 20:44:07 +00:00
autoconf.c
bios.c MFp4: 2008-11-02 18:48:54 +00:00
bioscall.s
bpf_jit_machdep.c If a conditional jump instruction has the same jt and jf, do not perform 2010-04-22 23:47:19 +00:00
bpf_jit_machdep.h If a conditional jump instruction has the same jt and jf, do not perform 2010-04-22 23:47:19 +00:00
db_disasm.c Decode some more "exotic" instructions including: fxsave, fxrstor, ldmxcsr, 2008-08-11 20:19:42 +00:00
db_interface.c
db_trace.c Frames created by the Xcpustop, Xrendezvous, Xipi_intr_bitmap_handler 2008-09-27 15:54:04 +00:00
elan-mmcr.c Use intr_disable() and intr_restore() instead of frobbing the flags register 2010-10-25 15:28:03 +00:00
elf_machdep.c Extend struct sysvec with new method sv_schedtail, which is used for an 2011-03-08 19:01:45 +00:00
exception.s Register an interrupt vector for DTrace return probes. There is some 2010-08-28 08:03:29 +00:00
gdb_machdep.c
genassym.c Move <machine/apicreg.h> to <x86/apicreg.h>. 2010-11-01 18:18:46 +00:00
geode.c Apply a patch that has been lingering in my inbox for far too long: 2010-05-15 10:31:11 +00:00
i686_mem.c Avoid preemption while manipulating CRs and MTRRs. 2011-01-17 17:30:35 +00:00
identcpu.c Probe capability to find effective frequency. When the TSC is P-state 2011-04-12 22:15:46 +00:00
in_cksum.c Trim comments about the MP-safety of various bits of the amd64/i386 2009-03-09 13:11:16 +00:00
initcpu.c Improve CPU identifications of various IDT/Centaur/VIA, Rise and Transmeta 2011-03-26 02:02:07 +00:00
intr_machdep.c Use 'PCPU_GET(apic_id)' to determine the BSP's APIC ID on a UP machine 2010-10-28 13:44:19 +00:00
io.c - Extract the IODEV_PIO interface from ia64 and make it MI. 2010-04-28 15:38:01 +00:00
k6_mem.c Initial suspend/resume support for amd64. 2009-03-17 00:48:11 +00:00
legacy.c Use atomic load & store for TSC frequency. It may be overkill for amd64 but 2011-04-07 23:28:28 +00:00
locore.s Initialize KPTmap in locore so that vm86.c can call vtophys() (or really 2010-10-05 17:06:51 +00:00
longrun.c Use intr_disable() and intr_restore() instead of frobbing the flags register 2010-10-25 15:28:03 +00:00
machdep.c Reduce errors in effective frequency calculation. 2011-04-12 23:49:07 +00:00
mem.c Add reader/writer lock around mem_range_attr_get() and mem_range_attr_set(). 2011-01-17 22:58:28 +00:00
minidump_machdep.c for PV XEN translate page table entries from machine (real) to physical (logical) addresses so that kgdb can 2009-12-10 07:48:47 +00:00
mp_clock.c
mp_machdep.c Sync the APIC startup sequence with amd64: 2010-11-08 20:35:09 +00:00
mp_watchdog.c Move <machine/apicreg.h> to <x86/apicreg.h>. 2010-11-01 18:18:46 +00:00
mpboot.s Move <machine/apicreg.h> to <x86/apicreg.h>. 2010-11-01 18:18:46 +00:00
perfmon.c Use atomic load & store for TSC frequency. It may be overkill for amd64 but 2011-04-07 23:28:28 +00:00
pmap.c Make pmap_invalidate_cache_range() available for consumption on amd64. 2011-04-18 21:24:42 +00:00
ptrace_machdep.c Introduce the x86 kernel interfaces to allow kernel code to use 2010-06-05 15:59:59 +00:00
stack_machdep.c Remove duplicate $FreeBSD$ tag. 2007-12-02 21:07:49 +00:00
support.s Remove kernel support for BB profiling, now that kernbb(8) is gone, too. 2010-11-26 08:11:43 +00:00
swtch.s MFamd64: r210615 2010-07-29 17:00:41 +00:00
symbols.raw
sys_machdep.c Continue to introduce Capsicum capability mode: 2011-03-01 13:35:48 +00:00
trap.c Add tunables that mirror the functionality of sysctls machdep.panic_on_nmi 2011-04-08 14:39:41 +00:00
uio_machdep.c Put the general logic for being a CPU hog into a new function 2011-02-02 16:35:10 +00:00
vm86.c Change the functions to ANSI in those cases where it breaks promotion 2009-02-24 18:09:31 +00:00
vm86bios.s Fix yet another fallout from r208833. VM86 BIOS call may cause page fault 2011-01-19 17:09:07 +00:00
vm_machdep.c For architectures not using direct map , and requiring real KVA page for 2011-01-18 21:57:02 +00:00