|
PatchworkOS
966e257
A non-POSIX operating system.
|
#include <modules/acpi/acpi.h>#include <modules/acpi/aml/aml.h>#include <modules/acpi/devices.h>#include <modules/acpi/tables.h>#include <kernel/fs/mount.h>#include <kernel/fs/namespace.h>#include <kernel/init/boot_info.h>#include <kernel/init/init.h>#include <kernel/log/log.h>#include <kernel/log/panic.h>#include <kernel/mem/pmm.h>#include <kernel/module/module.h>#include <kernel/proc/process.h>#include <kernel/sched/sched.h>#include <boot/boot_info.h>#include <string.h>Go to the source code of this file.
Functions | |
| bool | acpi_is_checksum_valid (void *table, uint64_t length) |
| Check if the sum of all bytes in a table is 0. | |
| dentry_t * | acpi_get_sysfs_root (void) |
| Retrieve the sysfs root directory for ACPI. | |
| void | acpi_reclaim_memory (const boot_memory_map_t *map) |
| Reclaim ACPI memory regions. | |
| uint64_t | _module_procedure (const module_event_t *event) |
| MODULE_INFO ("ACPI Module", "Kai Norberg", "ACPI subsystem providing ACPI table handling, AML parsing and device management", OS_VERSION, "MIT", "BOOT_RSDP") | |
Variables | |
| static bool | mountInitialzed = false |
| static mount_t * | mount = NULL |
| uint64_t _module_procedure | ( | const module_event_t * | event | ) |
| MODULE_INFO | ( | "ACPI Module" | , |
| "Kai Norberg" | , | ||
| "ACPI subsystem providing ACPI table | handling, | ||
| AML parsing and device management" | , | ||
| OS_VERSION | , | ||
| "MIT" | , | ||
| "BOOT_RSDP" | |||
| ) |