NeKernel dev
Loading...
Searching...
No Matches
APM.h File Reference
#include <NeKit/Config.h>

Go to the source code of this file.

Namespaces

namespace  Kernel
 UPS inline definitions.

Typedefs

typedef Int32 Kernel::APMPowerCmd

Enumerations

enum  {
  Kernel::kAPMPowerCommandInvalid = 0x00 , Kernel::kAPMPowerCommandStop = 0x01 , Kernel::kAPMPowerCommandStart = 0x02 , Kernel::kAPMPowerCommandSleep = 0x04 ,
  Kernel::kAPMPowerCommandWakeup = 0x06 , Kernel::kAPMPowerCommandShutdown = 0x07 , Kernel::kAPMPowerCommandReboot = 0x08
}

Functions

EXTERN_C Int32 Kernel::apm_send_io_command (UInt16 cmd)
 Send a APM command into it's controller. (Shutdown, Reboot, Sleep...).