mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 12:30:32 +00:00
24 lines
470 B
C#
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();
|
|
}
|
|
}
|
|
}
|