/* SPDX-License-Identifier: GPL-2.0-only */ /* -*- linux-c -*- * * (C) 2003 zecke@handhelds.org * * based on arch/arm/kernel/apm.c * factor out the information needed by architectures to provide * apm status
*/ #ifndef __LINUX_APM_EMULATION_H #define __LINUX_APM_EMULATION_H
#include <linux/apm_bios.h>
/* * This structure gets filled in by the machine specific 'get_power_status' * implementation. Any fields which are not set default to a safe value.
*/ struct apm_power_info { unsignedchar ac_line_status; #define APM_AC_OFFLINE 0 #define APM_AC_ONLINE 1 #define APM_AC_BACKUP 2 #define APM_AC_UNKNOWN 0xff
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.