Cosmos/source/Cosmos.System2/Power.cs
2020-06-02 21:53:30 +03:00

24 lines
470 B
C#

namespace Cosmos.System
{
/// <summary>
/// Power class.
/// </summary>
public static class Power
{
/// <summary>
/// Reboot with CPU.
/// </summary>
public static void Reboot()
{
HAL.Power.CPUReboot();
}
/// <summary>
/// Shutdown with ACPI.
/// </summary>
public static void Shutdown()
{
HAL.Power.ACPIShutdown();
}
}
}