Catch a hardware interrupt

481 views Asked by At

I am writing a device driver (kernel level). I am new to kernel space and would like some help in understanding hardware interrupts.

I am writing driver for a new hardware for windows 7

I have already written the Interrupt service routine for all software interrupts.

My question is how do i proceed with writing Interrupt handler which would catch hardware interrupt.

Continuous polling is a bad idea so could any one suggest me some other idea to proceed with

Thanks in advance

1

There are 1 answers

3
ChrisW On

Perhaps you should read the documentation and some sample code for how to Register an ISR.

See also Getting Started on Driver Development.