Commit 38ac00f21dc17f175ddde4266ca2a21cb506b1c5
authorga <ga@oldell.fish>
Mon, 11 Apr 2022 10:06:35 +0000 (11:06 +0100)
committerga <ga@oldell.fish>
Mon, 11 Apr 2022 10:06:35 +0000 (11:06 +0100)
treeeb6b360526ad3fac28754d1c511b3db12eb98c1b
parent7c4afd1bf574fb914f1dcc193d28e90cf6ccb375
Message:
Cherry-pick 8fa3b206d917609ae696e4e9d89cfbec211113ff onto upstream.
Make the global interrupt pending IRQ behave consistently, so that the
value is always a vector number.  Make the floating flag more useful;
when set it indicates the next interrupt expected.  Remove a call
that added no information.  Add a test.
3 files changed:
simavr/sim/sim_interrupts.c
tests/attiny44_interrupt_irq_test.c [new file with mode: 0644]
tests/test_attiny44_interrupt_irq_test.c [new file with mode: 0644]