using Cosmos.Core; namespace Cosmos.HAL { /// /// Power class. Used to reboot and shutdown the PC. /// public class Power { //Reboot with CPU /// /// Reboot the CPU. /// public static void CPUReboot() { Core.Global.CPU.Reboot(); } //Reboot with ACPI /// /// Reboot using ACPI. /// /// Thrown always. public static void ACPIReboot() { ACPI.Reboot(); //TODO } //Shutdown with ACPI /// /// Shutdown the ACPI. /// /// Thrown on IO error. public static void ACPIShutdown() { ACPI.Shutdown(); } } }