PatchworkOS
Loading...
Searching...
No Matches
state.h
Go to the documentation of this file.
1#pragma once
2
7
32
41
47void aml_state_deinit(aml_state_t* state);
48
60
75
#define AML_MAX_ARGS
Maximum number of arguments that can be passed to a method.
Definition arg.h:19
#define AML_MAX_LOCALS
Maximum number of local variables that can be used in a method.
Definition local.h:21
void aml_state_result_set(aml_state_t *state, aml_object_t *result)
Set the result object of the state.
Definition state.c:131
uint64_t aml_state_init(aml_state_t *state, aml_object_t **args)
Initialize an AML state.
Definition state.c:8
aml_object_t * aml_state_result_get(aml_state_t *state)
Get the result object of the state.
Definition state.c:98
void aml_state_deinit(aml_state_t *state)
Deinitialize an AML state.
Definition state.c:79
__UINT64_TYPE__ uint64_t
Definition stdint.h:17
Data for an argument object.
Definition object.h:405
Data for a local variable object.
Definition object.h:415
Namespace overlay.
Definition namespace.h:87
ACPI object.
Definition object.h:425
AML State.
Definition state.h:25
aml_object_t * result
The return value, see aml_method_evaluate() for details.
Definition state.h:28
uint64_t errorDepth
The length of the error traceback, if 0 then no error has occurred.
Definition state.h:29
aml_namespace_overlay_t overlay
Holds any named objects created during parsing.
Definition state.h:30