diff options
author | tmm <tmm@FreeBSD.org> | 2003-06-11 20:30:52 +0000 |
---|---|---|
committer | tmm <tmm@FreeBSD.org> | 2003-06-11 20:30:52 +0000 |
commit | 682044b335894ad828ffbceb6b47aebcae62d667 (patch) | |
tree | 7df3fefaf1586f28b46347a654168e0afa6e4a75 /sys/sparc64/include/iommuvar.h | |
parent | 87b6b51235f73d1a422fbc9521b668670ff171c1 (diff) | |
download | FreeBSD-src-682044b335894ad828ffbceb6b47aebcae62d667.zip FreeBSD-src-682044b335894ad828ffbceb6b47aebcae62d667.tar.gz |
Remove the psycho and sbus iommu function stubs, and put the pointer
to the iommu_state structure directly into dt_cookie. The stubs have
not been needed for a long time now.
Diffstat (limited to 'sys/sparc64/include/iommuvar.h')
-rw-r--r-- | sys/sparc64/include/iommuvar.h | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/sys/sparc64/include/iommuvar.h b/sys/sparc64/include/iommuvar.h index 5337d14..493dee8 100644 --- a/sys/sparc64/include/iommuvar.h +++ b/sys/sparc64/include/iommuvar.h @@ -81,23 +81,18 @@ void iommu_enter(struct iommu_state *, vm_offset_t, vm_paddr_t, int); void iommu_remove(struct iommu_state *, vm_offset_t, size_t); void iommu_decode_fault(struct iommu_state *, vm_offset_t); -int iommu_dvmamap_create(bus_dma_tag_t, bus_dma_tag_t, struct iommu_state *, - int, bus_dmamap_t *); -int iommu_dvmamap_destroy(bus_dma_tag_t, bus_dma_tag_t, struct iommu_state *, - bus_dmamap_t); -int iommu_dvmamap_load(bus_dma_tag_t, bus_dma_tag_t, struct iommu_state *, - bus_dmamap_t, void *, bus_size_t, bus_dmamap_callback_t *, void *, int); -int iommu_dvmamap_load_mbuf(bus_dma_tag_t, bus_dma_tag_t, struct iommu_state *, - bus_dmamap_t, struct mbuf *, bus_dmamap_callback2_t *, void *, int); -int iommu_dvmamap_load_uio(bus_dma_tag_t, bus_dma_tag_t, struct iommu_state *, - bus_dmamap_t, struct uio *, bus_dmamap_callback2_t *, void *, int); -void iommu_dvmamap_unload(bus_dma_tag_t, bus_dma_tag_t, struct iommu_state *, - bus_dmamap_t); -void iommu_dvmamap_sync(bus_dma_tag_t, bus_dma_tag_t, struct iommu_state *, - bus_dmamap_t, int); -int iommu_dvmamem_alloc(bus_dma_tag_t, bus_dma_tag_t, struct iommu_state *, - void **, int, bus_dmamap_t *); -void iommu_dvmamem_free(bus_dma_tag_t, bus_dma_tag_t, struct iommu_state *, - void *, bus_dmamap_t); +int iommu_dvmamap_create(bus_dma_tag_t, bus_dma_tag_t, int, bus_dmamap_t *); +int iommu_dvmamap_destroy(bus_dma_tag_t, bus_dma_tag_t, bus_dmamap_t); +int iommu_dvmamap_load(bus_dma_tag_t, bus_dma_tag_t, bus_dmamap_t, void *, + bus_size_t, bus_dmamap_callback_t *, void *, int); +int iommu_dvmamap_load_mbuf(bus_dma_tag_t, bus_dma_tag_t, bus_dmamap_t, + struct mbuf *, bus_dmamap_callback2_t *, void *, int); +int iommu_dvmamap_load_uio(bus_dma_tag_t, bus_dma_tag_t, bus_dmamap_t, + struct uio *, bus_dmamap_callback2_t *, void *, int); +void iommu_dvmamap_unload(bus_dma_tag_t, bus_dma_tag_t, bus_dmamap_t); +void iommu_dvmamap_sync(bus_dma_tag_t, bus_dma_tag_t, bus_dmamap_t, int); +int iommu_dvmamem_alloc(bus_dma_tag_t, bus_dma_tag_t, void **, int, + bus_dmamap_t *); +void iommu_dvmamem_free(bus_dma_tag_t, bus_dma_tag_t, void *, bus_dmamap_t); #endif /* !_MACHINE_IOMMUVAR_H_ */ |