|
PatchworkOS
|
#include <kernel/acpi/aml/object.h>Go to the source code of this file.
Functions | |
| uint64_t | aml_concat (aml_state_t *state, aml_object_t *source1, aml_object_t *source2, aml_object_t *result) |
| Concatenates two objects according to the rules in section 19.6.12 of the ACPI specification. | |
| uint64_t aml_concat | ( | aml_state_t * | state, |
| aml_object_t * | source1, | ||
| aml_object_t * | source2, | ||
| aml_object_t * | result | ||
| ) |
Concatenates two objects according to the rules in section 19.6.12 of the ACPI specification.
| state | Pointer to the current AML state. |
| source1 | Pointer to the first source object to concatenate, can be AML_UNINITIALIZED. |
| source2 | Pointer to the second source object to concatenate. Can be AML_UNINITIALIZED. |
| result | Pointer to the object where the result will be stored. |
0. On failure, ERR and errno is set. Definition at line 283 of file concat.c.
References AML_BUFFER, aml_concat_buffer(), aml_concat_integer(), aml_concat_other_types(), aml_concat_string(), AML_INTEGER, AML_STRING, AML_UNINITIALIZED, EINVAL, ERR, errno, and NULL.
Referenced by aml_def_concat_read().