PSD_IRQ_MASK
PSD_IRQ_MASK keywords Optional, Default, Can't Block
Description Mask/Unmask IRQ levels
This function allows masking (disabling), or un-masking (enabling) of IRQ levels. When this function is invoked it should save the state of the interrupt flag, and disable interrupts before performing the mask operation . It should then restore the state of the interrupt flag.
Mode Called in Kernel, and Interrupt Mode.
Entry Pointer to PSD_IRQ structure.
Exit
NO_ERROR operation completed successfully.
-1 operation failed.
Structures
typedef struct psd_irq_s {
ulong_t flags; (Input)
ulong_t data; (Input/Output)
ulong_t procnum; (Input)
} PSD_IRQ;
Notes If this function is omitted, OS/2 will perform all mask operations for an 8259 Master/Slave based PIC system. The requests will be sent to CPU0 depending on the state of the INIT_GLOBAL_IRQ_ACCESS flag.
There are no comments on this page. [Add comment]