According to this , the way to use the function is to "register" it with the kernel. That is, there is a function, such as InstallIntHdlr , that you call and pass a pointer to your handler. Then the kernel can use this pointer to call the function itself.
My assumption, although I'm not sure about this, is that static used as a way to ensure proper use of the interrupt handler. That is, since static functions cannot be called from other files, this forces you to pass a pointer to it, rather than calling it directly.
source share