corn/include/acpi.h
2024-01-30 16:46:38 -05:00

16 lines
348 B
C

#pragma once
/**
* 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);