target/avr: CPU class: Add interrupt handling support
commit7ccda78ff3a1c4d7005eb211207ca11ed719cc11
authorMichael Rolnik <mrolnik@gmail.com>
Thu, 6 Feb 2020 23:20:49 +0000 (7 00:20 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 10 Jul 2020 15:58:32 +0000 (10 17:58 +0200)
tree5dee97144b63086715a83de740ec0f9387955390
parentf1c671f96cb34deb28418c1b856f4132a752e87d
target/avr: CPU class: Add interrupt handling support

This patch introduces functions avr_cpu_do_interrupt() and
avr_cpu_exec_interrupt() that are part of AVR CPU class object.

[AM: Split a larger AVR introduction patch into logical units]
Suggested-by: Aleksandar Markovic <aleksandar.m.mail@gmail.com>
Co-developed-by: Michael Rolnik <mrolnik@gmail.com>
Co-developed-by: Sarah Harris <S.E.Harris@kent.ac.uk>
Signed-off-by: Michael Rolnik <mrolnik@gmail.com>
Signed-off-by: Sarah Harris <S.E.Harris@kent.ac.uk>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Aleksandar Markovic <aleksandar.m.mail@gmail.com>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Thomas Huth <huth@tuxfamily.org>
Message-Id: <20200705140315.260514-4-huth@tuxfamily.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
target/avr/cpu.c
target/avr/helper.c [new file with mode: 0644]