X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dos_sbtest;a=blobdiff_plain;f=src%2Fdma.h;fp=src%2Fdma.h;h=93cfa5dc60762688a58a50a8e23eb49e1ad59df7;hp=ca12ad13ebbd8501db017c5bc48ef072e18a9af0;hb=07c19444f4f2a55abf97d181ab62aeaa51033c62;hpb=01a545fde6dc446fe626382f8bba50b9b7c1a35b diff --git a/src/dma.h b/src/dma.h index ca12ad1..93cfa5d 100644 --- a/src/dma.h +++ b/src/dma.h @@ -1,17 +1,17 @@ -#ifndef DMA_H_ -#define DMA_H_ - -#include - -enum { - DMA_SINGLE = 0x01, - DMA_BLOCK = 0x02, - DMA_CASCADE = DMA_SINGLE | DMA_BLOCK, - DMA_DECR = 0x08, - DMA_AUTO = 0x10 -}; - -void dma_out(int chan, uint32_t phyaddr, int size, unsigned int flags); -void dma_in(int chan, uint32_t phyaddr, int size, unsigned int flags); - -#endif /* DMA_H_ */ +#ifndef DMA_H_ +#define DMA_H_ + +#include + +enum { + DMA_SINGLE = 0x01, + DMA_BLOCK = 0x02, + DMA_CASCADE = DMA_SINGLE | DMA_BLOCK, + DMA_DECR = 0x08, + DMA_AUTO = 0x10 +}; + +void dma_out(int chan, uint32_t phyaddr, int size, unsigned int flags); +void dma_in(int chan, uint32_t phyaddr, int size, unsigned int flags); + +#endif /* DMA_H_ */