arm arm_coprocessor
API Reference Manual  /  4 Model-to-Model Interfaces  / 

arm_avic

Description
The ARM AVIC interface makes it possible for an ARM processor to get the interrupt vector address from an AVIC device connected to the processor core. Both processor and AVIC must enable the AVIC interface to support this feature.

The processor calls get_interrupt_address function to get the interrupt vector address. The AVIC returns an arm_avic_t struct with a valid field and an address field, the address field is only valid when the valid is not 0.

typedef struct arm_avic {
        int valid;
        uint32 address;
} arm_avic_t;

SIM_INTERFACE(arm_avic) {
        arm_avic_t (*get_interrupt_address)(conf_object_t *obj);
};

#define ARM_AVIC_INTERFACE "arm_avic"

Execution Context
Cell Context for all methods.

arm arm_coprocessor