typedef struct _IRQ_CLEAR_REC
{
UCHAR ClearIrq; // 1 - Irq must be cleared, 0 - not
UCHAR TypeOfRegister; // 0 - memory-mapped register, 1 - port
UCHAR WideOfRegister; // wide of register: 1-Byte,2-Word,4-Double Word
UCHAR ReadOrWrite; // 0 - read register to clear Irq, 1 - write
ULONG RegBaseAddress; // register base address
ULONG RegOffset; // register offset (in bytes)
ULONG ValueToWrite; // value to write (if ReadOrWrite=1)
} IRQ_CLEAR_REC, * PIRQ_CLEAR_REC;
|