IPStack - Firewall cleanups and speedups (now shoudl at least work)
[tpg/acess2.git] / Kernel / drv / dma.c
index 798a3e4..dd8e88f 100644 (file)
@@ -23,6 +23,7 @@ typedef struct
  int   DMA_Install(char **Arguments);\r
 void   DMA_SetChannel(int Channel, int length, int read);\r
  int   DMA_ReadData(int channel, int count, void *buffer);\r
+ int   DMA_WriteData(int channel, int count, const void *buffer);\r
 \r
 // === CONSTANTS ===\r
 const Uint8 cMASKPORT [8] = { 0x0A, 0x0A, 0x0A, 0x0A, 0xD4, 0xD4, 0xD4, 0xD4 };\r
@@ -110,7 +111,7 @@ int DMA_ReadData(int channel, int count, void *buffer)
  * \fn void DMA_WriteData(int channel, int count, void *buffer)\r
  * \brief Write data to a DMA buffer\r
  */\r
-int DMA_WriteData(int channel, int count, void *buffer)\r
+int DMA_WriteData(int channel, int count, const void *buffer)\r
 {\r
        if(channel < 0 || channel > 7)\r
                return -1;\r

UCC git Repository :: git.ucc.asn.au