PSD_IRQ_REG
PSD_IRQ_REG keywords
Optional, Default, Can't
Block
Description
Mode
Called in Kernel, and Interrupt
Mode.
Entry
Pointer to PSD_IRQ structure.
Exit
NO_ERROR
operation completed successfully.
-1
Structures
typedef struct psd_irq_s{
ulong_t flags; (Input)
ulong_t data; (Input/Output)
ulong_t procnum; (Input)
} PSD_IRQ;
flags
indicate which type
of operation is to be performed.
IRQ_READ_IRR
read
the interrupt request register.
IRQ_READ_ISR
read the in service register.
data
contains the data read from a read request,
or the data to write if a write request.
procnum
is the processor number of where the
operation should take place.
Notes
If this function is omitted, OS/2
will perform all register 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.
[Back: PSD_IRQ_MASK]
[Next: PSD_IRQ_EOI]