X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fdma.h;h=93cfa5dc60762688a58a50a8e23eb49e1ad59df7;hb=07c19444f4f2a55abf97d181ab62aeaa51033c62;hp=ca12ad13ebbd8501db017c5bc48ef072e18a9af0;hpb=6d4de53a835a8258ba05c83a2af38f27a0e92d21;p=dos_sbtest 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_ */