Implemented shutdown & reboot

This commit is contained in:
Alex
2022-10-11 00:03:45 +03:00
parent 19e810653a
commit ab1972627e
2 changed files with 31 additions and 11 deletions

View File

@ -9,13 +9,8 @@
namespace Power
{
void Power::Reboot()
{
}
void Power::Shutdown()
{
}
void Power::Reboot() { ((ACPI::DSDT *)this->dsdt)->Reboot(); }
void Power::Shutdown() { ((ACPI::DSDT *)this->dsdt)->Shutdown(); }
Power::Power()
{