interrupt_cpu io_memory
API Reference Manual  /  4 Model-to-Model Interfaces  / 

interrupt_subscriber

Description
The target is typically a CPU that reacts to the interrupt.

The function notify notifies when an interrupt has occurred.

The function reset is run when the interrupt notifier source is reset.

#define INTERRUPT_SUBSCRIBER_INTERFACE "interrupt_subscriber"
SIM_INTERFACE(interrupt_subscriber) {
        void (*notify)(
                conf_object_t *NOTNULL obj,
                apic_delivery_mode_t delivery_mode,
                bool level_assert,
                apic_trigger_mode_t trigger_mode,
                uint8 vector,
                interrupt_source_t source);
        void (*reset)(conf_object_t *NOTNULL obj);
};

Execution Context
Threaded Context for all methods.

interrupt_cpu io_memory