PatchworkOS
Loading...
Searching...
No Matches
concat.h File Reference

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.
 

Function Documentation

◆ aml_concat()

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.

Parameters
statePointer to the current AML state.
source1Pointer to the first source object to concatenate, can be AML_UNINITIALIZED.
source2Pointer to the second source object to concatenate. Can be AML_UNINITIALIZED.
resultPointer to the object where the result will be stored.
Returns
On success, 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().