VIRTUTECH CONFIDENTIAL    Previous - Up - Next

interrupt_ack

Implemented By
CY82C693_0, GT64120, SIO82378ZB, apic-bus, open-pic, x86-486sx, x86-hammer, x86-p2, x86-p4
Description
The interrupt_ack_fn_t function is called by an interrupt target to ack an interrupt. Returns the interrupt vector.
typedef int (*interrupt_ack_fn_t)(conf_object_t *NOTNULL);
Interface for acked interrupts. The target is typically a cpu that later calls the supplied ack function when the interrupt is actually taken.

typedef struct interrupt_ack_interface {
        void (*raise_interrupt)(conf_object_t *NOTNULL obj,
                                interrupt_ack_fn_t, 
                                conf_object_t *);
        void (*lower_interrupt)(conf_object_t *NOTNULL obj,
                                interrupt_ack_fn_t);
} interrupt_ack_interface_t;

#define INTERRUPT_ACK_INTERFACE "interrupt_ack"

VIRTUTECH CONFIDENTIAL    Previous - Up - Next