Cosmos/source/Cosmos.HAL2/Power.cs

30 lines
No EOL
564 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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();
}
}
}