72 LOG_ERR(
"illegal store of object %s with flags '0x%x' to destination object of type '%s' with flags '0x%x'\n",
uint64_t aml_convert(aml_state_t *state, aml_object_t *src, aml_object_t *dest, aml_type_t allowedTypes)
Converts the data in the source object to a allowed type and stores it in the destination object.
uint64_t aml_convert_result(aml_state_t *state, aml_object_t *result, aml_object_t *target)
Performs a "Implicit Result Object Conversion" acording to the rules in section 19....
uint64_t aml_copy_data_and_type(aml_object_t *src, aml_object_t *dest)
Copies the data and type from the source object to the destination object, completly overwriting it.
uint64_t aml_copy_object(aml_state_t *state, aml_object_t *src, aml_object_t *dest)
Copies the data from the source object to the destination object.
aml_object_t * aml_object_new(void)
Allocate a new ACPI object.
@ AML_ARG
Not in the spec, used internally to represent method arguments.
@ AML_LOCAL
Not in the spec, used internally to represent method local variables.
@ AML_OBJECT_NAMED
Appears in the namespace tree. Will be set in aml_object_add().
uint64_t aml_store(aml_state_t *state, aml_object_t *src, aml_object_t *dest)
Store the value from the source object into the target object.
const char * aml_type_to_string(aml_type_t type)
Convert an aml data type to a string.
const char * aml_object_to_string(aml_object_t *object)
Convert an aml object to a string.
#define LOG_ERR(format,...)
#define EINVAL
Invalid argument.
#define errno
Error number variable.
#define NULL
Pointer error value.
#define ERR
Integer error value.
aml_object_t * value
The object that was passed as the argument.
aml_object_t * value
The value of the local variable.
aml_object_reference_obj_t objectReference