PatchworkOS
Loading...
Searching...
No Matches
term.h File Reference
#include <kernel/acpi/aml/object.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  aml_term_list_ctx_t
 Context for reading a TermList. More...
 

Typedefs

typedef struct aml_state aml_state_t
 

Enumerations

enum  aml_stop_reason_t {
  AML_STOP_REASON_NONE ,
  AML_STOP_REASON_RETURN ,
  AML_STOP_REASON_BREAK ,
  AML_STOP_REASON_CONTINUE
}
 Stop reason. More...
 

Functions

aml_object_taml_term_arg_read (aml_term_list_ctx_t *ctx, aml_type_t allowedTypes)
 Reads an TermArg structure from the AML byte stream.
 
uint64_t aml_term_arg_read_integer (aml_term_list_ctx_t *ctx, aml_integer_t *out)
 Wrapper around aml_term_arg_read() that converts the result to an integer.
 
aml_string_obj_taml_term_arg_read_string (aml_term_list_ctx_t *ctx)
 Wrapper around aml_term_arg_read() that converts the result to a string.
 
aml_buffer_obj_taml_term_arg_read_buffer (aml_term_list_ctx_t *ctx)
 Wrapper around aml_term_arg_read() that converts the result to a buffer.
 
aml_package_obj_taml_term_arg_read_package (aml_term_list_ctx_t *ctx)
 Wrapper around aml_term_arg_read() that converts the result to a package.
 
uint64_t aml_object_read (aml_term_list_ctx_t *ctx)
 Reads an Object structure from the AML byte stream.
 
uint64_t aml_term_obj_read (aml_term_list_ctx_t *ctx)
 Reads a TermObj structure from the AML byte stream.
 
uint64_t aml_term_list_read (aml_state_t *state, aml_object_t *scope, const uint8_t *start, const uint8_t *end, aml_term_list_ctx_t *parentCtx)
 Reads a TermList structure from the AML byte stream.
 

Typedef Documentation

◆ aml_state_t

typedef struct aml_state aml_state_t

Definition at line 7 of file term.h.