77 dest->name = src->name;
87 dest->flags &= ~AML_OBJECT_EXCEPTION_ON_USE;
119 if (newValue ==
NULL)
uint64_t aml_buffer_field_store(aml_buffer_field_obj_t *bufferField, aml_object_t *in)
Write a value to a BufferField.
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.
uint64_t aml_field_unit_store(aml_state_t *state, aml_field_unit_obj_t *fieldUnit, aml_object_t *in)
Write a value to a FieldUnit. FieldUnits include Fields, IndexFields and BankFields.
uint64_t aml_object_reference_set(aml_object_t *object, aml_object_t *target)
Set a object as an ObjectReference to the given target object.
uint64_t aml_package_set(aml_object_t *object, uint64_t length)
Set a object as a package with the given number of elements.
uint64_t aml_integer_set(aml_object_t *object, aml_integer_t value)
Set a object as an integer with the given value and bit width.
aml_object_t * aml_object_new(void)
Allocate a new ACPI object.
uint64_t aml_string_set(aml_object_t *object, const char *str)
Set a object as a string with the given value.
void aml_object_clear(aml_object_t *object)
Clear the data of a object, setting its type to AML_UNINITIALIZED.
uint64_t aml_buffer_set(aml_object_t *object, const uint8_t *buffer, uint64_t bytesToCopy, uint64_t length)
Set a object as a buffer with the given content.
@ 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_EXCEPTION_ON_USE
@ AML_OBJECT_NAMED
Appears in the namespace tree. Will be set in aml_object_add().
const char * aml_type_to_string(aml_type_t type)
Convert an aml data type to a string.
#define LOG_ERR(format,...)
#define EINVAL
Invalid argument.
#define ENOSYS
Function not implemented.
#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_buffer_field_obj_t bufferField
aml_object_reference_obj_t objectReference
aml_integer_obj_t integer
aml_field_unit_obj_t fieldUnit
aml_package_obj_t package