diff --git a/qemu/target/arm/cpu.h b/qemu/target/arm/cpu.h index 3250c0e6..9261982b 100644 --- a/qemu/target/arm/cpu.h +++ b/qemu/target/arm/cpu.h @@ -1954,6 +1954,21 @@ void armv7m_nvic_set_pending(void *opaque, int irq, bool secure); * a different exception). */ void armv7m_nvic_set_pending_derived(void *opaque, int irq, bool secure); +/** + * armv7m_nvic_set_pending_lazyfp: mark this lazy FP exception as pending + * @opaque: the NVIC + * @irq: the exception number to mark pending + * @secure: false for non-banked exceptions or for the nonsecure + * version of a banked exception, true for the secure version of a banked + * exception. + * + * Similar to armv7m_nvic_set_pending(), but specifically for exceptions + * generated in the course of lazy stacking of FP registers. + */ +static inline void armv7m_nvic_set_pending_lazyfp(void *opaque, int irq, bool secure) +{ + // Unicorn: Currently, do nothing. +} /** * armv7m_nvic_get_pending_irq_info: return highest priority pending * exception, and whether it targets Secure state