PatchworkOS
Loading...
Searching...
No Matches
data.h File Reference
#include <kernel/acpi/aml/integer.h>
#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Typedefs

typedef struct aml_object aml_object_t
 
typedef struct aml_package_obj aml_package_obj_t
 
typedef struct aml_term_list_ctx aml_term_list_ctx_t
 

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

Typedef Documentation

◆ aml_object_t

typedef struct aml_object aml_object_t

Definition at line 8 of file data.h.

◆ aml_package_obj_t

typedef struct aml_package_obj aml_package_obj_t

Definition at line 9 of file data.h.

◆ aml_term_list_ctx_t

typedef struct aml_term_list_ctx aml_term_list_ctx_t

Definition at line 10 of file data.h.