NeKernel dev
Loading...
Searching...
No Matches
APM.h
Go to the documentation of this file.
1/* ========================================
2
3 Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
4
5======================================== */
6
7#pragma once
8
9#include <NeKit/Config.h>
10
11namespace Kernel {
13
14enum {
22};
23
29} // namespace Kernel
#define EXTERN_C
UPS inline definitions.
Definition Device.h:12
__UINT16_TYPE__ UInt16
Definition Config.h:40
@ kAPMPowerCommandSleep
Definition APM.h:18
@ kAPMPowerCommandReboot
Definition APM.h:21
@ kAPMPowerCommandStop
Definition APM.h:16
@ kAPMPowerCommandInvalid
Definition APM.h:15
@ kAPMPowerCommandWakeup
Definition APM.h:19
@ kAPMPowerCommandShutdown
Definition APM.h:20
@ kAPMPowerCommandStart
Definition APM.h:17
EXTERN_C Int32 apm_send_io_command(UInt16 cmd)
Send a APM command into it's controller. (Shutdown, Reboot, Sleep...).
__INT32_TYPE__ Int32
Definition Config.h:38
Int32 APMPowerCmd
Definition APM.h:12