|
PatchworkOS
19e446b
A non-POSIX operating system.
|
#include <kernel/mem/paging_types.h>#include <kernel/acpi/tables.h>#include <kernel/fs/file.h>#include <kernel/fs/sysfs.h>#include <kernel/fs/vfs.h>#include <kernel/log/log.h>#include <kernel/log/panic.h>#include <kernel/acpi/acpi.h>#include <boot/boot_info.h>#include <errno.h>#include <stdio.h>#include <stdlib.h>#include <string.h>Go to the source code of this file.
Functions | |
| static uint64_t | acpi_table_read (file_t *file, void *buffer, size_t count, size_t *offset) |
| static bool | acpi_is_table_valid (sdt_header_t *table) |
| static bool | acpi_is_xsdt_valid (xsdt_t *xsdt) |
| static bool | acpi_is_rsdp_valid (rsdp_t *rsdp) |
| static uint64_t | acpi_tables_push (sdt_header_t *table) |
| static uint64_t | acpi_tables_load_from_xsdt (xsdt_t *xsdt) |
| static uint64_t | acpi_tables_load_from_fadt (void) |
| uint64_t | acpi_tables_init (rsdp_t *rsdp) |
| Initialize ACPI tables and call their init handlers. | |
| uint64_t | acpi_tables_expose (void) |
| Expose ACPI tables to devfs. | |
| sdt_header_t * | acpi_tables_lookup (const char *signature, uint64_t minSize, uint64_t n) |
| Lookup the n'th table matching the signature. | |
Variables | |
| static uint64_t | ssdtAmount = 0 |
| static uint64_t | tableAmount = 0 |
| static acpi_cached_table_t * | cachedTables = NULL |
| static dentry_t * | tablesDir = NULL |
| static file_ops_t | tableFileOps |
|
static |
|
static |
|
static |
|
static |
|
static |