diff options
author | 2009-12-09 14:31:57 +0000 | |
---|---|---|
committer | 2009-12-09 14:31:57 +0000 | |
commit | 2bd69a474ae174189986d3bd033f841e70a22064 (patch) | |
tree | 8e2731ac2813ee996f41c4c132c855c38756c406 /sys/dev | |
parent | add cpufunc functions for the clflush instruction and the mfence (diff) | |
download | wireguard-openbsd-2bd69a474ae174189986d3bd033f841e70a22064.tar.xz wireguard-openbsd-2bd69a474ae174189986d3bd033f841e70a22064.zip |
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/dev')
0 files changed, 0 insertions, 0 deletions