From c0468ed3299fbaf7d9a8297819aa20988df0c046 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 17 Mar 2013 21:49:01 +0000 Subject: 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. --- sys/arch/i386/include/bus.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/i386/include') 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_ */ -- cgit v1.2.3