DevHlp_GetIRQMask
Appearance
Retrieve the mask state of an IRQ level
This function reads the current IRQ mask state for the specified IRQ.
Parameters
Specified IRQ level.
Exit
- EAX=0, mask disabled (IRQ enabled).
- EAX=1, mask enabled (IRQ disabled)
Assembly language
; dh_GetIRQMask - Retrieve a specified IRQ mask state
;
; This function reads the current IRQ mask state for the specified IRQ.
;
; ENTRY AL = IRQ
;
; EXIT-SUCCESS
; EAX - 0 = mask disabled (IRQ enabled)
; - 1 = mask enabled (IRQ disabled)
;
; EXIT-FAILURE
; NONE
;
MOV AL,IRQ whose mask state is to be retrieved
MOV DL,DevHlp_GetIRQMask
CALL DevHlp
JC Error