Native interrupts (usually) are handled by any thread that had a processor that received the interrupt, but at ring 0 and at another level of protection. This limits some of the actions that the interrupt handler can take because most of the time the current thread will not be associated with a thread that is waiting for an event that indicates an interrupt.
The kernel itself is closed source and is only documented through its internal API. This API is provided to device driver authors and is described in driver development kits.
Some resources to get started:
Any version of Microsoft Windows Internals Solomon and Russinovich. This appears to be the fourth edition, but even the old edition will help.
Windows DDK, now renamed to WDK . Its documentation is available online . Be sure to read the Kernel Mode Design Guide ...
Sysinternals contains tools and articles for researching and explaining kernel behavior. It used to be an independent site, until Microsoft got tired of Mark Russinovich, it seems to learn more about how the kernel works than they do .; -)
Note that the source code for many common device drivers is included in the DDK in the samples. Although production versions are almost certainly different, reading driver examples may answer some questions, even if you don't want to implement the driver yourself.
RBerteig
source share