PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
concat.c File Reference
Include dependency graph for concat.c:

Go to the source code of this file.

Functions

static uint64_t aml_concat_resolve_to_integer (aml_state_t *state, aml_object_t *source, aml_uint_t *out)
 
static uint64_t aml_concat_resolve_to_string (aml_state_t *state, aml_object_t *source, const char **outStr, aml_object_t **outTemp)
 
static uint64_t aml_concat_resolve_to_buffer (aml_state_t *state, aml_object_t *source, uint8_t **outBuf, uint64_t *outLen, aml_object_t **outTemp)
 
static uint64_t aml_concat_integer (aml_state_t *state, aml_object_t *source1, aml_object_t *source2, aml_object_t *result)
 
static uint64_t aml_concat_string (aml_state_t *state, aml_object_t *source1, aml_object_t *source2, aml_object_t *result)
 
static uint64_t aml_concat_buffer (aml_state_t *state, aml_object_t *source1, aml_object_t *source2, aml_object_t *result)
 
static uint64_t aml_concat_other_types (aml_state_t *state, aml_object_t *source1, aml_object_t *source2, aml_object_t *result)
 
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_resolve_to_integer()

static uint64_t aml_concat_resolve_to_integer ( aml_state_t state,
aml_object_t source,
aml_uint_t out 
)
static

Definition at line 8 of file concat.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ aml_concat_resolve_to_string()

static uint64_t aml_concat_resolve_to_string ( aml_state_t state,
aml_object_t source,
const char **  outStr,
aml_object_t **  outTemp 
)
static

Definition at line 34 of file concat.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ aml_concat_resolve_to_buffer()

static uint64_t aml_concat_resolve_to_buffer ( aml_state_t state,
aml_object_t source,
uint8_t **  outBuf,
uint64_t outLen,
aml_object_t **  outTemp 
)
static

Definition at line 140 of file concat.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ aml_concat_integer()

static uint64_t aml_concat_integer ( aml_state_t state,
aml_object_t source1,
aml_object_t source2,
aml_object_t result 
)
static

Definition at line 179 of file concat.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ aml_concat_string()

static uint64_t aml_concat_string ( aml_state_t state,
aml_object_t source1,
aml_object_t source2,
aml_object_t result 
)
static

Definition at line 200 of file concat.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ aml_concat_buffer()

static uint64_t aml_concat_buffer ( aml_state_t state,
aml_object_t source1,
aml_object_t source2,
aml_object_t result 
)
static

Definition at line 226 of file concat.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ aml_concat_other_types()

static uint64_t aml_concat_other_types ( aml_state_t state,
aml_object_t source1,
aml_object_t source2,
aml_object_t result 
)
static

Definition at line 251 of file concat.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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.

Here is the call graph for this function:
Here is the caller graph for this function: