From 7b8c541cd83b70296325dbbf047d682fd7b03c22 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 9 Oct 2011 12:19:40 +0800 Subject: [PATCH] Modules/ISADMA - Removed commented out cli/sti --- Modules/x86/ISADMA/dma.c | 2 -- 1 file changed, 2 deletions(-) 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"); } /** -- 2.20.1