simple_dispatcher smm_instrumentation_subscribe
API Reference Manual  /  4 Model-to-Model Interfaces  / 

simple_interrupt

Description
A device calls interrupt() to logically raise an interrupt and interrupt_clear() to lower an interrupt.

The first argument is the object to interrupt, usually a cpu. The integer argument to both functions may indicate an interrupt level or interrupt pin depending on the receiving device.

On ARM the integer argument indicates whether the interrupt is normal or fast, by being either ARM_INT_IRQ or ARM_INT_FIQ defined by the ARM API (by including <simics/arch/arm.h>).

Note: Obsoleted by the signal interface.
SIM_INTERFACE(simple_interrupt) {
        void (*interrupt)(conf_object_t *NOTNULL obj, int value);
        void (*interrupt_clear)(conf_object_t *NOTNULL obj, int value);
};

#define SIMPLE_INTERRUPT_INTERFACE "simple_interrupt"

Execution Context
Cell Context for all methods.

simple_dispatcher smm_instrumentation_subscribe