Cosmos/source/Cosmos.HAL/Power.cs
Valentin Charbonnier 1a9e83b632 Some modifications...
ACPI class clarified.
Start ACPI added when starting a Cosmos Kernel project. (it does not
work with remote debugging, the project crash in the VM)
2017-06-21 19:26:08 +02:00

30 lines
No EOL
549 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 Reboot()
{
ACPI.Reboot();
}
//Shutdown with ACPI
public static void Shutdown()
{
ACPI.Shutdown();
}
}
}