|
PatchworkOS
966e257
A non-POSIX operating system.
|
AML State. More...
#include <state.h>
Data Fields | |
| aml_local_t * | locals [AML_MAX_LOCALS] |
| Local variables for the method, if any, initialized lazily. | |
| aml_arg_t * | args [AML_MAX_ARGS] |
| Argument variables for the method, if any. | |
| aml_object_t * | result |
The return value, see aml_method_invoke() for details. | |
| uint64_t | errorDepth |
| The length of the error traceback, if 0 then no error has occurred. | |
| aml_overlay_t | overlay |
| Holds any named objects created during parsing. | |
AML State.
Used to keep track of the virtual machine's state and while invoking methods or parsing DSDT/SSDT tables.
Note that when a Method is evaluated a new aml_state_t is created for the Method's AML bytecode stream.
| aml_local_t* aml_state_t::locals[AML_MAX_LOCALS] |
| aml_arg_t* aml_state_t::args[AML_MAX_ARGS] |
| aml_object_t* aml_state_t::result |
The return value, see aml_method_invoke() for details.
| uint64_t aml_state_t::errorDepth |
| aml_overlay_t aml_state_t::overlay |