x86_exception_query
interface is used to query information
about an exception for the x86 architecture and should be used from a
cpu_exception_cb_t callback.
SIM_INTERFACE(x86_exception_query) { uint8 (*vector)( conf_object_t *cpu, exception_handle_t *handle); x86_exception_source_t (*source)( conf_object_t *cpu, exception_handle_t *handle); uint32 (*error_code)( conf_object_t *cpu, exception_handle_t *handle); }; #define X86_EXCEPTION_QUERY_INTERFACE "x86_exception_query"
The vector method is used to get the exception vector. The source method is used to get the source of the exception and the error_code method is used to get the error code of the exception.
exception_handle_t
.