typedef struct _IRQ_SHARE_REC {
UCHAR ShareIrq; // 1 - Irq must be shared, 0 - not
UCHAR TypeOfRegister; // 0 - memory-mapped register, 1 - port
UCHAR WideOfRegister; // wide of register: 1-Byte,2-Word,4-Double Word
UCHAR Reserved; // reserved
ULONG RegBaseAddress; // register base address
ULONG RegOffset; // register offset
ULONG MaskValue; // bitmap mask to make AND operation
ULONG ResultMask; // what should be in result if it is our interruption
} IRQ_SHARE_REC, * PIRQ_SHARE_REC;
|