113#define AML_EXCEPTION_RAISE(state, code) aml_exception_raise(state, code, __func__)
void(* aml_exception_handler_t)(aml_state_t *state, aml_exception_t code)
AML exception handler function type.
void aml_exception_raise(aml_state_t *state, aml_exception_t code, const char *function)
Raises an AML exception.
const char * aml_exception_to_string(aml_exception_t code)
Converts an AML exception code to a string.
void aml_exception_unregister(aml_exception_handler_t handler)
Unregisters an AML exception handler.
uint64_t aml_exception_register(aml_exception_handler_t handler)
Registers an AML exception handler.
aml_exception_t
AML exception codes.
@ AML_UNINITIALIZED_ELEMENT
@ AML_UNINITIALIZED_LOCAL
@ AML_INVALID_RESOURCE_TYPE
@ AML_NO_RESOURCE_END_TAG