mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
db55f99e23
This commit adds uACPI as a submodule and removes all handwritten table parsing code as well as struct definitions, since they now work via uACPI. There's also now an ability to shut down by using the power button.
13 lines
262 B
C
13 lines
262 B
C
#ifndef _ACPI_H
|
|
#define _ACPI_H
|
|
|
|
// Doesn't depend on PCI, only makes table search available
|
|
void acpi_early_init(void);
|
|
|
|
// Loads the actual ACPI namespace, hooks up the power button
|
|
void acpi_init(void);
|
|
|
|
int acpi_poweroff(void);
|
|
int acpi_reboot(void);
|
|
|
|
#endif |