mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:47:47 +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:
parent
87582d5e63
commit
1b8cd6db7b
7 changed files with 32 additions and 19 deletions
|
@ -43,8 +43,10 @@ public:
|
|||
static void initialize_limited();
|
||||
virtual PhysicalAddress find_table(const char* sig);
|
||||
|
||||
virtual void do_acpi_reboot();
|
||||
virtual void do_acpi_shutdown();
|
||||
virtual void try_acpi_reboot();
|
||||
virtual bool can_reboot() { return false; }
|
||||
virtual void try_acpi_shutdown();
|
||||
virtual bool can_shutdown() { return false; }
|
||||
|
||||
virtual void enable_aml_interpretation();
|
||||
virtual void enable_aml_interpretation(File&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue