Cosmos/source/Cosmos.HAL/Power.cs
Valentin Charbonnier baa9d4caa9 Improvements.
2017-07-16 20:19:49 +02:00

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();
}
}
}