#define EINVAL
Invalid argument.
#define errno
Error number variable.
#define NULL
Pointer error value.
#define ERR
Integer error value.
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.
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_t objectReference