This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Stackless NMI handler

Hi!

Is it possible to make reenterable NMI handler which only will correct IER, not consume stack (even if NMI happens again) and not broke interrupted tasks?

I have protoboard which eventually generates a lot of NMI and at such moments, if task logic is deep, "regular"  NMI handler might take all tasks stack ((

Thanks!