Date: Thu, 12 Aug 2010 23:04:09 GMT From: Jakub Wojciech Klama <jceel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 182336 for review Message-ID: <201008122304.o7CN497c051811@skunkworks.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@182336?ac=10 Change 182336 by jceel@jceel on 2010/08/12 23:03:40 Add dma_memcpy() and bindings for _arm_memcpy on ARM. Affected files ... .. //depot/projects/soc2010/jceel_dma/sys/conf/files#5 edit .. //depot/projects/soc2010/jceel_dma/sys/dev/gpdma/gpdma_utils.c#1 add .. //depot/projects/soc2010/jceel_dma/sys/sys/systm.h#3 edit Differences ... ==== //depot/projects/soc2010/jceel_dma/sys/conf/files#5 (text+ko) ==== @@ -857,9 +857,10 @@ dev/digi/digi.c optional digi dev/digi/digi_isa.c optional digi isa dev/digi/digi_pci.c optional digi pci -dev/gpdma/gpdma.c optional dmae -dev/gpdma/gpdma_cdev.c optional dmae -dev/gpdma/gpdma_if.m optional dmae +dev/gpdma/gpdma.c optional gpdma +dev/gpdma/gpdma_cdev.c optional gpdma +dev/gpdma/gpdma_utils.c optional gpdma +dev/gpdma/gpdma_if.m optional gpdma dev/dpt/dpt_eisa.c optional dpt eisa dev/dpt/dpt_pci.c optional dpt pci dev/dpt/dpt_scsi.c optional dpt ==== //depot/projects/soc2010/jceel_dma/sys/sys/systm.h#3 (text+ko) ==== @@ -208,6 +208,10 @@ void *memcpy(void *to, const void *from, size_t len) __nonnull(1) __nonnull(2); void *memmove(void *dest, const void *src, size_t n) __nonnull(1) __nonnull(2); +/* DMA operations */ +int dma_memcpy(void *to, void *from, int len, int flags); +int dma_bzero(void *buf, int len, int flags); + int copystr(const void * __restrict kfaddr, void * __restrict kdaddr, size_t len, size_t * __restrict lencopied) __nonnull(1) __nonnull(2);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008122304.o7CN497c051811>