|
PatchworkOS
|
#include <kernel/acpi/aml/aml.h>#include <kernel/acpi/aml/encoding/term.h>#include <kernel/acpi/aml/integer.h>#include <kernel/acpi/aml/namespace.h>#include <kernel/acpi/aml/patch_up.h>#include <kernel/acpi/aml/predefined.h>#include <kernel/acpi/aml/state.h>#include <kernel/acpi/tables.h>#include <kernel/log/log.h>#include <kernel/log/panic.h>#include <errno.h>#include <sys/math.h>Go to the source code of this file.
Functions | |
| static uint64_t | aml_parse (const uint8_t *start, const uint8_t *end) |
| static uint64_t | aml_init_parse_all (void) |
| void | aml_init (void) |
| Initialize the AML subsystem. | |
| mutex_t * | aml_big_mutex_get (void) |
| Get the mutex for the entire AML subsystem. | |
Variables | |
| static mutex_t | bigMutex |
|
inlinestatic |
Definition at line 62 of file aml.c.
References acpi_tables_lookup(), aml_parse(), dsdt_t::definitionBlock, ssdt_t::definitionBlock, DSDT_SIGNATURE, ERR, dsdt_t::header, ssdt_t::header, sdt_header_t::length, LOG_ERR, LOG_INFO, NULL, and SSDT_SIGNATURE.
Referenced by aml_init().
Definition at line 24 of file aml.c.
References aml_namespace_commit(), aml_namespace_get_root(), aml_state_deinit(), aml_state_init(), aml_term_list_read(), DEREF_DEFER, EINVAL, ERR, errno, NULL, aml_state_t::overlay, and start().
Referenced by aml_init_parse_all().
|
static |
Definition at line 22 of file aml.c.
Referenced by aml_big_mutex_get(), and aml_init().