qemu-e2k/hw/xtensa
Max Filippov a7d479ee51 target/xtensa: implement NMI support
When NMI is configured it is taken regardless of INTENABLE SR contents,
PS.INTLEVEL or PS.EXCM. It is cleared automatically once it's taken.

Add nmi_level to XtensaConfig, puth there NMI level from the overlay or
XCHAL_NUM_INTLEVELS + 1 when NMI is not configured. Add NMI mask to
INTENABLE SR and limit CINTLEVEL to nmi_level - 1 when determining
pending IRQ level in check_interrupt(). Always take and clear pending
interrupt at nmi_level in the handle_interrupt().

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2020-08-21 12:48:14 -07:00
..
bootparam.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
Kconfig hw/xtensa: add virt machine 2019-10-18 20:38:10 -07:00
meson.build meson: convert hw/arch* 2020-08-21 06:30:33 -04:00
mx_pic.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
pic_cpu.c target/xtensa: implement NMI support 2020-08-21 12:48:14 -07:00
sim.c hw/core/loader: Let load_elf() populate a field with CPU-specific flags 2020-01-29 19:28:52 +01:00
virt.c sysbus: Convert to sysbus_realize() etc. with Coccinelle 2020-06-15 22:05:28 +02:00
xtensa_memory.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
xtensa_memory.h Include exec/memory.h slightly less 2019-08-16 13:31:52 +02:00
xtensa_sim.h hw/xtensa: add virt machine 2019-10-18 20:38:10 -07:00
xtfpga.c qdev: Make qdev_prop_set_drive() match the other helpers 2020-06-23 16:07:07 +02:00