Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/hyperv/include/hyperv_busdma.h
Show All 38 Lines | struct hyperv_dma { | ||||
bus_dmamap_t hv_dmap; | bus_dmamap_t hv_dmap; | ||||
}; | }; | ||||
void hyperv_dma_map_paddr(void *arg, bus_dma_segment_t *segs, | void hyperv_dma_map_paddr(void *arg, bus_dma_segment_t *segs, | ||||
int nseg, int error); | int nseg, int error); | ||||
void *hyperv_dmamem_alloc(bus_dma_tag_t parent_dtag, | void *hyperv_dmamem_alloc(bus_dma_tag_t parent_dtag, | ||||
bus_size_t alignment, bus_addr_t boundary, bus_size_t size, | bus_size_t alignment, bus_addr_t boundary, bus_size_t size, | ||||
struct hyperv_dma *dma, int flags); | struct hyperv_dma *dma, int flags); | ||||
void hyperv_dmamem_free(struct hyperv_dma *dma, void *ptr); | |||||
#endif /* !_HYPERV_BUSDMA_H_ */ | #endif /* !_HYPERV_BUSDMA_H_ */ |