improved the soundblaster code, but still doesn't work on the real
[dos_sbtest] / src / dma.h
index ca12ad1..93cfa5d 100644 (file)
--- a/src/dma.h
+++ b/src/dma.h
@@ -1,17 +1,17 @@
-#ifndef DMA_H_
-#define DMA_H_
-
-#include <inttypes.h>
-
-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_\r
+#define DMA_H_\r
+\r
+#include <inttypes.h>\r
+\r
+enum {\r
+       DMA_SINGLE      = 0x01,\r
+       DMA_BLOCK       = 0x02,\r
+       DMA_CASCADE = DMA_SINGLE | DMA_BLOCK,\r
+       DMA_DECR        = 0x08,\r
+       DMA_AUTO        = 0x10\r
+};\r
+\r
+void dma_out(int chan, uint32_t phyaddr, int size, unsigned int flags);\r
+void dma_in(int chan, uint32_t phyaddr, int size, unsigned int flags);\r
+\r
+#endif /* DMA_H_ */\r