disabling interrupts?

Matthew Wilcox (willy@odie.barnet.ac.uk)
Thu, 21 May 1998 02:18:53 +0100 (BST)


Hi, for a new driver that I'm writing, I need to be able to disable
all interrupts _except_ one (Once that interrupt goes off, I should
then enable all IRQs again). I don't see a good way of doing this,
can someone tell me how to do it please?

I should give some more details here before everyone shouts at me. This
driver is /only/ for an x86 card that plugs into Acorn ARM-based systems.
It communicates with the host software on the Acorn side which handles
things like IO. So it's not like this driver should be portable to a
new architecture, or I think this is the best way to write the driver.
The specs say `on receipt of this instruction, you should disable other
IRQs and hlt.

-- 
Set Alias$Case Set Alias$[ |||| |MSet Alias$Otherwise Set Alias$[ \ Matthew
"" |MSet Alias$When If %0=%%0 Then Set Alias$[ "" ||MIf %0=%%0    \ Wilcox
Then Set Alias$Otherwise Set Alias$[ |||||||||||||||| ||MIf       \
%0=%%0 Then Set Alias$When Set Alias$[ ||||||||||||||||

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu