summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2013-03-17 21:49:01 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2013-03-17 21:49:01 +0000
commitc0468ed3299fbaf7d9a8297819aa20988df0c046 (patch)
tree9b6e563b8c337d107cb75b3dc598763f8008903c /sys/arch/i386/include
parent3d248ffcc532f23446d733f35b96ea1fcf0fadb3 (diff)
Add an interface to rebind AGP DMA mappings. To be used by the upcoming KMS
support to reload bindings after suspend/resume and to update cachability flags in the address translation table entries.
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r--sys/arch/i386/include/bus.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/bus.h b/sys/arch/i386/include/bus.h
index a6b79e9333a..a0bfb337f98 100644
--- a/sys/arch/i386/include/bus.h
+++ b/sys/arch/i386/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.57 2013/01/29 01:15:57 dlg Exp $ */
+/* $OpenBSD: bus.h,v 1.58 2013/03/17 21:49:00 kettenis Exp $ */
/* $NetBSD: bus.h,v 1.6 1996/11/10 03:19:25 thorpej Exp $ */
/*-
@@ -693,8 +693,8 @@ int sg_dmamap_load_buffer(bus_dma_tag_t, bus_dmamap_t, void *, bus_size_t,
struct proc *, int, int *, int);
int sg_dmamap_load_physarray(bus_dma_tag_t, bus_dmamap_t, paddr_t *,
int, int, int *, int);
+void sg_dmamap_reload(bus_dma_tag_t, bus_dmamap_t, int);
int sg_dmamem_alloc(bus_dma_tag_t, bus_size_t, bus_size_t, bus_size_t,
bus_dma_segment_t *, int, int *, int);
-
#endif /* _MACHINE_BUS_H_ */