mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +00:00
25 lines
449 B
C#
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();
|
|
}
|
|
}
|
|
}
|