diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-12-09 14:31:58 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-12-09 14:31:58 +0000 |
commit | 9542e90dfa3fb5369646f600c21d3c2863e6dd69 (patch) | |
tree | c86b4e53eaae863027ab437c751c813cf63bcf62 /sys/arch/i386/include/endian.h | |
parent | 580e00e95ea51b295ec9285aca0df412609003ac (diff) |
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@
Diffstat (limited to 'sys/arch/i386/include/endian.h')
0 files changed, 0 insertions, 0 deletions