CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2009/12/09 07:31:57
Modified files:
sys/arch/amd64/amd64: pmap.c
sys/arch/amd64/include: pmap.h
sys/arch/i386/i386: pmap.c
sys/arch/i386/include: pmap.h
Log message:
add two new MD only pmap apis to amd64 and i386 (not to be used in MI
code):
pmap_flush_cache(vaddr_t, vsize_t) and pmap_flush_page(paddr_t) to flush
the cache for virtual addresses and physical pages respectively using
the clflush instruction. These apis will shortly be used by the agp
bus_dma functions to avoid doing a wbinvd on each dmamap_sync.
ok kettenis@, some comments from miod@