PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
concat.h
Go to the documentation of this file.
1#pragma once
2
4
5/**
6 * @brief Object Concatenation
7 * @defgroup modules_acpi_aml_runtime_concat Concat
8 * @ingroup modules_acpi_aml
9 */
10
11/**
12 * @brief Concatenates two objects according to the rules in section 19.6.12 of the ACPI specification.
13 *
14 * @param state Pointer to the current AML state.
15 * @param source1 Pointer to the first source object to concatenate, can be `AML_UNINITIALIZED`.
16 * @param source2 Pointer to the second source object to concatenate. Can be `AML_UNINITIALIZED`.
17 * @param result Pointer to the object where the result will be stored.
18 * @return On success, `0`. On failure, `ERR` and `errno` is set.
19 */
20uint64_t aml_concat(aml_state_t* state, aml_object_t* source1, aml_object_t* source2, aml_object_t* result);
21
22/** @} */
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.
Definition concat.c:283
__UINT64_TYPE__ uint64_t
Definition stdint.h:17
ACPI object.
Definition object.h:447
AML State.
Definition state.h:25