corn/include/acpi.h

17 lines
348 B
C
Raw Normal View History

2024-01-27 08:01:34 +00:00
#pragma once
2024-01-27 07:14:19 +00:00
/**
* Loads the ACPI tables
* https://en.wikipedia.org/wiki/ACPI
* @param rsdp - pointer to the Root System Description Pointer
* usually passed from the bootlater
* @returns ACPI_SUCCESS on success
*/
int acpi_init(void *rsdp);
/**
* Shutdowns down the system
* @returns ACPI_FAILURE on failure
*/
int acpi_shutdown(void);