Commit 9136ba8378b2fe0238670181787a9e9898be8e93
authorMichel Pollet <buserror@gmail.com>
Wed, 10 Jun 2015 20:05:50 +0000 (21:05 +0100)
committerMichel Pollet <buserror@gmail.com>
Wed, 10 Jun 2015 20:05:50 +0000 (21:05 +0100)
tree02be2443cf156c1b5e386ea89196517d5c914e84
parente03651d035934b2617fa7b1ef490fd4380f5d9cb
Message:
interrupts: Now track pending and running states

Introduced two new IRQs  per vector; one to track pending, and one to
track running state. So you can see any latency issues.
Also introduced a global pending/running IRQ, so you can track issues if
your interrupts overrun etc.

It is reasonably transparent, and seems to have had little impact on the
rest of the code... Hooray for nice clean APIs!

Signed-off-by: Michel Pollet <buserror@gmail.com>
4 files changed:
simavr/sim/avr_watchdog.c
simavr/sim/sim_core.c
simavr/sim/sim_interrupts.c
simavr/sim/sim_interrupts.h