interrupts: Mark interupts as pending even if not enabled...
authorMichel Pollet <buserror@gmail.com>
Tue, 11 May 2010 11:34:35 +0000 (12:34 +0100)
committerMichel Pollet <buserror@gmail.com>
Tue, 11 May 2010 11:34:35 +0000 (12:34 +0100)
commit1b82822bf8b61bd4aa84882112f9f4690e865e15
tree15cfa38ca577a066e2c7290a6bbd9464d1010d3e
parentd22d7636f84b511ef601bdd87d76dff6d5bdca2a
interrupts: Mark interupts as pending even if not enabled...

.. Then trigger them as soon as they are enabled again

There is a bit of performance hit on this, since the bitmask
array used before can now be full of pending bits that won't
ever be cleared..

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