|
PatchworkOS
|
#include <kernel/acpi/acpi.h>#include <kernel/acpi/aml/aml.h>#include <kernel/acpi/devices.h>#include <kernel/acpi/tables.h>#include <kernel/fs/mount.h>#include <kernel/log/log.h>#include <kernel/log/panic.h>#include <kernel/mem/pmm.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. | |
Variables | |
| static bool | mountInitialzed = false |
| static mount_t * | mount = NULL |
Definition at line 15 of file acpi.c.
Referenced by acpi_get_sysfs_root(), mount_free(), mount_new(), namespace_bind(), namespace_deinit(), namespace_mount(), namespace_traverse_mount(), path_set(), socket_family_get_dir(), socket_family_register(), socket_new(), and sysfs_mount_new().
Definition at line 14 of file acpi.c.
Referenced by acpi_get_sysfs_root().