mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
- The user can now Enable and Disable ACPI - Image change in the setup (for a better design) - Bug fixed with Remote Debugging (NRE)
32 lines
No EOL
650 B
C#
32 lines
No EOL
650 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Cosmos.System
|
|
{
|
|
public class Power
|
|
{
|
|
public static void CPUReboot()
|
|
{
|
|
HAL.Power.CPUReboot();
|
|
}
|
|
public static void Reboot()
|
|
{
|
|
HAL.Power.Reboot();
|
|
}
|
|
public static void Shutdown()
|
|
{
|
|
HAL.Power.Shutdown();
|
|
}
|
|
public static void ACPIEnable()
|
|
{
|
|
HAL.Power.ACPIEnable();
|
|
}
|
|
public static void ACPIDisable()
|
|
{
|
|
HAL.Power.ACPIDisable();
|
|
}
|
|
}
|
|
} |