Re: How to change interrupt priority

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thanks guys

Time to check out my old intel 8259 manual.

I've located the PIC initialisation 'x86InitPICs' and interrupt entry
'PeRPISR' in the VIA platform source code. It strikes me that for this
particular application, I could hardcode our ISR directly into the platform
'PeRPISR' and avoid 'troubling' the rest of the system. I may have a play
with this and see how it works out wrt latencies and so on.

Alternatively, it looks pretty simple to use the 'set priority' command of
OCW2 (on both 8259s I guess) to give us the highest priority IRQ which should
permit nesting but prevent us from being interrupted.

Sean


.