Cosmos/source/Cosmos.HAL2/Power.cs
2018-10-30 18:00:26 +00:00

25 lines
449 B
C#

using Cosmos.Core;
namespace Cosmos.HAL
{
public class Power
{
//Reboot with CPU
public static void CPUReboot()
{
Core.Global.CPU.Reboot();
}
//Reboot with ACPI
public static void ACPIReboot()
{
ACPI.Reboot(); //TODO
}
//Shutdown with ACPI
public static void ACPIShutdown()
{
ACPI.Shutdown();
}
}
}