mips_eic mips_ite
API Reference Manual  /  4 Model-to-Model Interfaces  / 

mips_exception_query

Description
Used to query information of an exception from a cpu_exception_cb_t callback.
SIM_INTERFACE(mips_exception_query) {
        logical_address_t (*return_pc)(conf_object_t *cpu,
                                       exception_handle_t *handle);
};

#define MIPS_EXCEPTION_QUERY_INTERFACE "mips_exception_query"

pc is used to get the address of the faulting instruction. return_pc is used to get the return address for the exception. number is used to get the exception number.

Execution Context
Cell Context for all methods.

mips_eic mips_ite