Modules/ISADMA - Removed commented out cli/sti
authorJohn Hodge <[email protected]>
Sun, 9 Oct 2011 04:19:40 +0000 (12:19 +0800)
committerJohn Hodge <[email protected]>
Sun, 9 Oct 2011 04:19:40 +0000 (12:19 +0800)
Modules/x86/ISADMA/dma.c

index 7b388a7..732a93c 100644 (file)
@@ -77,7 +77,6 @@ void DMA_SetChannel(int Channel, int length, int read)
        read = !!read;\r
        if(length > DMA_SIZE)   length = DMA_SIZE;\r
        length --;      //Adjust for DMA\r
-       //__asm__ __volatile__ ("cli");\r
        outb( cMASKPORT[chan], 0x04 | (chan & 0x3) );           // mask channel\r
        outb( cCLEARPORT[chan], 0x00 );\r
        outb( cMODEPORT[chan], (0x44 + (!read)*4) | (chan & 0x3) );\r
@@ -89,7 +88,6 @@ void DMA_SetChannel(int Channel, int length, int read)
        outb( cMASKPORT[chan], chan & 0x3 );              // unmask channel\r
        dma_addresses[chan] = (char*)DMA_ADDRESS(chan);\r
        dma_addresses[chan] += KERNEL_BASE;\r
-       //__asm__ __volatile__ ("sti");\r
 }\r
 \r
 /**\r

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