[En-Nut-Discussion] Cortex ih_xxx_interuptY code duplication, continued

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Thu Jul 26 22:40:05 CEST 2012

>>>>> "Ole" == Ole Reinhardt <ole.reinhardt at embedded-it.de> writes:

    Ole> What about the same approach Linux goes?

    Ole> You can register as much IRQ handlers to one IRQ as you like. Every
    Ole> handler now has to return if it handled the IRQ or not. As long as
    Ole> the IRQ was not handled the next handler will be called.

    Ole> This way we would have to handle a linked list of IRQ handlers for
    Ole> each IRQ. In most cases this will end up in just a single call
    Ole> which does not add (much) cycles to the IRQ handling at all.

Sounds good.

    Ole> Just an Idea. I'll try to setup a demo implementation tomorrow,
    Ole> which might make thinks a little clearer.

I am on vacation until mid of august. So expect no feedback for some time
from me.

Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

More information about the En-Nut-Discussion mailing list