PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
acpi.c File Reference
Include dependency graph for acpi.c:

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_tacpi_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_tmount = NULL
 

Function Documentation

◆ _module_procedure()

uint64_t _module_procedure ( const module_event_t event)

Definition at line 67 of file acpi.c.

Here is the call graph for this function:

◆ MODULE_INFO()

MODULE_INFO ( "ACPI Module"  ,
"Kai Norberg"  ,
"ACPI subsystem providing ACPI table  handling,
AML parsing and device management"  ,
OS_VERSION  ,
"MIT"  ,
"BOOT_RSDP"   
)

Variable Documentation

◆ mountInitialzed

bool mountInitialzed = false
static

Definition at line 21 of file acpi.c.

◆ mount

mount_t* mount = NULL
static

Definition at line 22 of file acpi.c.