Commit e4b36b58d22d22da62a0bcd95755f7454df411cb
authorMichel Pollet <buserror@gmail.com>
Wed, 10 Jun 2015 20:05:50 +0000 (21:05 +0100)
committerMichel Pollet <buserror@gmail.com>
Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)
tree8ce6c6dc8a7885d5e2931fb011b8da9e201f5fa9
parent02257499e62b4b5b5eb7a1652489910caf166e7b
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