diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
commit | 8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch) | |
tree | ac9a52bace179e17769651fb9f805070d78abe5f /sys/arch/sparc64/dev/iommuvar.h | |
parent | 7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff) |
First round of __P removal in sys
Diffstat (limited to 'sys/arch/sparc64/dev/iommuvar.h')
-rw-r--r-- | sys/arch/sparc64/dev/iommuvar.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/sys/arch/sparc64/dev/iommuvar.h b/sys/arch/sparc64/dev/iommuvar.h index 8a0fee9e08c..22933f7dccf 100644 --- a/sys/arch/sparc64/dev/iommuvar.h +++ b/sys/arch/sparc64/dev/iommuvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: iommuvar.h,v 1.5 2002/02/22 16:11:59 jason Exp $ */ +/* $OpenBSD: iommuvar.h,v 1.6 2002/03/14 01:26:44 millert Exp $ */ /* $NetBSD: iommuvar.h,v 1.9 2001/10/07 20:30:41 eeh Exp $ */ /* @@ -55,28 +55,28 @@ struct iommu_state { }; /* interfaces for PCI/SBUS code */ -void iommu_init __P((char *, struct iommu_state *, int, u_int32_t)); -void iommu_reset __P((struct iommu_state *)); -void iommu_enter __P((struct iommu_state *, vaddr_t, int64_t, int)); -void iommu_remove __P((struct iommu_state *, vaddr_t, size_t)); -paddr_t iommu_extract __P((struct iommu_state *, vaddr_t)); +void iommu_init(char *, struct iommu_state *, int, u_int32_t); +void iommu_reset(struct iommu_state *); +void iommu_enter(struct iommu_state *, vaddr_t, int64_t, int); +void iommu_remove(struct iommu_state *, vaddr_t, size_t); +paddr_t iommu_extract(struct iommu_state *, vaddr_t); -int iommu_dvmamap_load __P((bus_dma_tag_t, struct iommu_state *, - bus_dmamap_t, void *, bus_size_t, struct proc *, int)); -void iommu_dvmamap_unload __P((bus_dma_tag_t, struct iommu_state *, - bus_dmamap_t)); -int iommu_dvmamap_load_raw __P((bus_dma_tag_t, struct iommu_state *, - bus_dmamap_t, bus_dma_segment_t *, int, int, bus_size_t)); -void iommu_dvmamap_sync __P((bus_dma_tag_t, struct iommu_state *, - bus_dmamap_t, bus_addr_t, bus_size_t, int)); -int iommu_dvmamem_alloc __P((bus_dma_tag_t, struct iommu_state *, +int iommu_dvmamap_load(bus_dma_tag_t, struct iommu_state *, + bus_dmamap_t, void *, bus_size_t, struct proc *, int); +void iommu_dvmamap_unload(bus_dma_tag_t, struct iommu_state *, + bus_dmamap_t); +int iommu_dvmamap_load_raw(bus_dma_tag_t, struct iommu_state *, + bus_dmamap_t, bus_dma_segment_t *, int, int, bus_size_t); +void iommu_dvmamap_sync(bus_dma_tag_t, struct iommu_state *, + bus_dmamap_t, bus_addr_t, bus_size_t, int); +int iommu_dvmamem_alloc(bus_dma_tag_t, struct iommu_state *, bus_size_t, bus_size_t, bus_size_t, bus_dma_segment_t *, - int, int *, int)); -void iommu_dvmamem_free __P((bus_dma_tag_t, struct iommu_state *, - bus_dma_segment_t *, int)); -int iommu_dvmamem_map __P((bus_dma_tag_t, struct iommu_state *, - bus_dma_segment_t *, int, size_t, caddr_t *, int)); -void iommu_dvmamem_unmap __P((bus_dma_tag_t, struct iommu_state *, - caddr_t, size_t)); + int, int *, int); +void iommu_dvmamem_free(bus_dma_tag_t, struct iommu_state *, + bus_dma_segment_t *, int); +int iommu_dvmamem_map(bus_dma_tag_t, struct iommu_state *, + bus_dma_segment_t *, int, size_t, caddr_t *, int); +void iommu_dvmamem_unmap(bus_dma_tag_t, struct iommu_state *, + caddr_t, size_t); #endif /* _SPARC64_DEV_IOMMUVAR_H_ */ |