summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci
diff options
context:
space:
mode:
authoroga <oga@openbsd.org>2009-12-09 14:31:57 +0000
committeroga <oga@openbsd.org>2009-12-09 14:31:57 +0000
commit2bd69a474ae174189986d3bd033f841e70a22064 (patch)
tree8e2731ac2813ee996f41c4c132c855c38756c406 /sys/dev/pci
parentadd cpufunc functions for the clflush instruction and the mfence (diff)
downloadwireguard-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/pci')
0 files changed, 0 insertions, 0 deletions