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.