cpu_exception_query
interface is used to query information
about an exception for the a generic cpu architecture and should be used from
a cpu_exception_cb_t callback.
SIM_INTERFACE(cpu_exception_query) { int (*exception_number)(conf_object_t *cpu, exception_handle_t *handle); logical_address_t (*fault_pc)(conf_object_t *cpu, exception_handle_t *handle); }; #define CPU_EXCEPTION_QUERY_INTERFACE "cpu_exception_query"
exception_number is used to get the vector for the exception.
exception_handle_t
.