1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:38:10 +00:00

Kernel: Call ACPI reboot method first if possible

Now we call ACPI reboot method first if possible, and if ACPI reboot is
not available, we attempt to reboot via the keyboard controller.
This commit is contained in:
Liav A 2020-03-03 19:28:37 +02:00 committed by Andreas Kling
parent 87582d5e63
commit 1b8cd6db7b
7 changed files with 32 additions and 19 deletions

View file

@ -82,7 +82,7 @@ namespace ACPI {
// FIXME: Implement AML Interpretation
ASSERT_NOT_REACHED();
}
void DynamicParser::do_acpi_shutdown()
void DynamicParser::try_acpi_shutdown()
{
// FIXME: Implement AML Interpretation to perform ACPI shutdown
ASSERT_NOT_REACHED();