4 ms·
Windows does not really have interrupt priorities IIRC. It kind of sort of have some, but the applicative code (device driver included) can't chose at which lev
by xorblurb 9y ago
Windows does not really have interrupt priorities IIRC. It kind of sort of have some, but the applicative code (device driver included) can't chose at which level they run their ISR, so its quite random whether or not the ISR you prefer should preempt others.
Plus typically general purpose OSes don't map hw interrupt priorities mechanisms to their own priorities (and very soon the hw interrupt controllers do not even know whether an ISR is running or not). I believe neither Linux nor Windows can benefit from hw assistance for interrupt priorities (and they mainly don't care at sw level anyway)
- barrkel 9y agoWindows interrupt priorities are called IRQLs, see https://blogs.msdn.microsoft.com/doronh/2010/02/02/what-is-irql/ https://blogs.msdn.microsoft.com/doronh/2010/02/02/what-is-i... for a discussion. Mostly PnP decides the levels, unless you have multiple IRQs and you need to specify the priority.
- xorblurb 9y agoThat very page makes me think device drivers don't choose their DIRQL. Any more precise pointer to how they can do that?