/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Include file for the interface to an APM BIOS * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au)
*/ #ifndef _LINUX_APM_H #define _LINUX_APM_H
/* * Data for APM that is persistent across module unload/load
*/ struct apm_info { struct apm_bios_info bios; unsignedshort connection_version; int get_power_status_broken; int get_power_status_swabinminutes; int allow_ints; int forbid_idle; int realmode_power_off; int disabled;
};
/* * Function code for APM_FUNC_RESUME_TIMER
*/ #define APM_FUNC_DISABLE_TIMER 0 #define APM_FUNC_GET_TIMER 1 #define APM_FUNC_SET_TIMER 2
/* * Function code for APM_FUNC_RESUME_ON_RING
*/ #define APM_FUNC_DISABLE_RING 0 #define APM_FUNC_ENABLE_RING 1 #define APM_FUNC_GET_RING 2
/* * Function code for APM_FUNC_TIMER_STATUS
*/ #define APM_FUNC_TIMER_DISABLE 0 #define APM_FUNC_TIMER_ENABLE 1 #define APM_FUNC_TIMER_GET 2
/* * in arch/i386/kernel/setup.c
*/ externstruct apm_info apm_info;
/* * This is the "All Devices" ID communicated to the BIOS
*/ #define APM_DEVICE_BALL ((apm_info.connection_version > 0x0100) ? \
APM_DEVICE_ALL : APM_DEVICE_OLD_ALL) #endif/* LINUX_APM_H */
Messung V0.5
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet)
¤
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 und die Messung sind noch experimentell.