|
PatchworkOS
|
#include <kernel/acpi/aml/encoding/data.h>#include <kernel/acpi/aml/aml.h>#include <kernel/acpi/aml/debug.h>#include <kernel/acpi/aml/encoding/expression.h>#include <kernel/acpi/aml/encoding/name.h>#include <kernel/acpi/aml/encoding/package_length.h>#include <kernel/acpi/aml/patch_up.h>#include <kernel/acpi/aml/runtime/convert.h>#include <kernel/acpi/aml/token.h>#include <kernel/log/log.h>#include <errno.h>#include <stdint.h>Go to the source code of this file.
Functions | |
| uint64_t | aml_byte_data_read (aml_term_list_ctx_t *ctx, uint8_t *out) |
| Read a ByteData structure from the AML stream. | |
| uint64_t | aml_word_data_read (aml_term_list_ctx_t *ctx, uint16_t *out) |
| Read a WordData structure from the AML stream. | |
| uint64_t | aml_dword_data_read (aml_term_list_ctx_t *ctx, uint32_t *out) |
| Read a DWordData structure from the AML stream. | |
| uint64_t | aml_qword_data_read (aml_term_list_ctx_t *ctx, uint64_t *out) |
| Read a QWordData structure from the AML stream. | |
| uint64_t | aml_byte_const_read (aml_term_list_ctx_t *ctx, uint8_t *out) |
| Read a ByteConst structure from the AML stream. | |
| uint64_t | aml_word_const_read (aml_term_list_ctx_t *ctx, uint16_t *out) |
| Read a WordConst structure from the AML stream. | |
| uint64_t | aml_dword_const_read (aml_term_list_ctx_t *ctx, uint32_t *out) |
| Read a DWordConst structure from the AML stream. | |
| uint64_t | aml_qword_const_read (aml_term_list_ctx_t *ctx, uint64_t *out) |
| Read a QWordConst structure from the AML stream. | |
| uint64_t | aml_const_obj_read (aml_term_list_ctx_t *ctx, aml_object_t *out) |
| Read a ConstObj structure from the AML stream. | |
| uint64_t | aml_string_read (aml_term_list_ctx_t *ctx, aml_object_t *out) |
| Read a String structure from the AML stream. | |
| uint64_t | aml_revision_op_read (aml_term_list_ctx_t *ctx, aml_object_t *out) |
| Read a RevisionOp structure from the AML stream. | |
| uint64_t | aml_computational_data_read (aml_term_list_ctx_t *ctx, aml_object_t *out) |
| Read a ComputationalData structure from the AML stream. | |
| uint64_t | aml_num_elements_read (aml_term_list_ctx_t *ctx, uint8_t *out) |
| Read a NumElements structure from the AML stream. | |
| static uint64_t | aml_package_element_handle_name (aml_state_t *state, aml_object_t *in, aml_object_t *out) |
| uint64_t | aml_package_element_read (aml_term_list_ctx_t *ctx, aml_object_t *out) |
| Read a PackageElement structure from the AML stream. | |
| uint64_t | aml_package_element_list_read (aml_term_list_ctx_t *ctx, aml_package_obj_t *package, const uint8_t *end) |
| Read a PackageElementList structure from the AML stream. | |
| uint64_t | aml_def_package_read (aml_term_list_ctx_t *ctx, aml_object_t *out) |
| Reads a DefPackage structure from the AML byte stream. | |
| uint64_t | aml_def_var_num_elements_read (aml_term_list_ctx_t *ctx, aml_integer_t *out) |
| Read a VarNumElements structure from the AML stream. | |
| uint64_t | aml_def_var_package_read (aml_term_list_ctx_t *ctx, aml_object_t *out) |
| Reads a DefVarPackage structure from the AML byte stream. | |
| uint64_t | aml_data_object_read (aml_term_list_ctx_t *ctx, aml_object_t *out) |
| Read a DataObject structure from the AML stream. | |
| uint64_t | aml_data_ref_object_read (aml_term_list_ctx_t *ctx, aml_object_t *out) |
| Read a DataRefObject structure from the AML stream. | |
|
inlinestatic |
Used to handle package elements that are names but mainly its used as a callback for the Patch-up system.
Definition at line 319 of file data.c.
References AML_BUFFER, AML_BUFFER_FIELD, aml_convert_source(), AML_DATA_OBJECTS, AML_FIELD_UNIT, AML_INTEGER, aml_object_reference_set(), AML_PACKAGE, AML_STRING, ERR, and LOG_ERR.
Referenced by aml_package_element_read().