freebsd-skq/sys/i386/xen
marcel 51bb720939 o Introduce vm_sync_icache() for making the I-cache coherent with
the memory or D-cache, depending on the semantics of the platform.
    vm_sync_icache() is basically a wrapper around pmap_sync_icache(),
    that translates the vm_map_t argumument to pmap_t.
o   Introduce pmap_sync_icache() to all PMAP implementation. For powerpc
    it replaces the pmap_page_executable() function, added to solve
    the I-cache problem in uiomove_fromphys().
o   In proc_rwmem() call vm_sync_icache() when writing to a page that
    has execute permissions. This assures that when breakpoints are
    written, the I-cache will be coherent and the process will actually
    hit the breakpoint.
o   This also fixes the Book-E PMAP implementation that was missing
    necessary locking while trying to deal with the I-cache coherency
    in pmap_enter() (read: mmu_booke_enter_locked).

The key property of this change is that the I-cache is made coherent
*after* writes have been done. Doing it in the PMAP layer when adding
or changing a mapping means that the I-cache is made coherent *before*
any writes happen. The difference is key when the I-cache prefetches.
2009-10-21 18:38:02 +00:00
..
clock.c Fix the Xen TOD update when the hypervisor wall clock is nudged. 2009-05-29 13:43:21 +00:00
exception.s Fix IPI support 2008-10-23 07:20:43 +00:00
locore.s fix UP compilation 2009-09-11 23:41:11 +00:00
mp_machdep.c Port recent IPI enhachements to en: 2009-08-15 18:37:06 +00:00
mptable.c merge 186535, 186537, and 186538 from releng_7_xen 2008-12-29 06:31:03 +00:00
pmap.c o Introduce vm_sync_icache() for making the I-cache coherent with 2009-10-21 18:38:02 +00:00
xen_clock_util.c Migrate the Xen hypervisor clock reading routines into something 2009-05-29 13:36:06 +00:00
xen_machdep.c make read_eflags and write_eflags accomplish the same effect on PVM as native, 2009-10-01 22:05:38 +00:00
xen_rtc.c Migrate the Xen hypervisor clock reading routines into something 2009-05-29 13:36:06 +00:00