From: John Hodge Date: Sun, 9 Oct 2011 04:19:40 +0000 (+0800) Subject: Modules/ISADMA - Removed commented out cli/sti X-Git-Tag: rel0.11~5 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=7b8c541cd83b70296325dbbf047d682fd7b03c22;p=tpg%2Facess2.git Modules/ISADMA - Removed commented out cli/sti --- diff --git a/Modules/x86/ISADMA/dma.c b/Modules/x86/ISADMA/dma.c index 7b388a72..732a93c3 100644 --- a/Modules/x86/ISADMA/dma.c +++ b/Modules/x86/ISADMA/dma.c @@ -77,7 +77,6 @@ void DMA_SetChannel(int Channel, int length, int read) read = !!read; if(length > DMA_SIZE) length = DMA_SIZE; length --; //Adjust for DMA - //__asm__ __volatile__ ("cli"); outb( cMASKPORT[chan], 0x04 | (chan & 0x3) ); // mask channel outb( cCLEARPORT[chan], 0x00 ); outb( cMODEPORT[chan], (0x44 + (!read)*4) | (chan & 0x3) ); @@ -89,7 +88,6 @@ void DMA_SetChannel(int Channel, int length, int read) outb( cMASKPORT[chan], chan & 0x3 ); // unmask channel dma_addresses[chan] = (char*)DMA_ADDRESS(chan); dma_addresses[chan] += KERNEL_BASE; - //__asm__ __volatile__ ("sti"); } /**