apm_bios.h (37414) | apm_bios.h (40751) |
---|---|
1/* 2 * APM (Advanced Power Management) BIOS Device Driver 3 * 4 * Copyright (c) 1994-1995 by HOSOKAWA, Tatsumi <hosokawa@mt.cs.keio.ac.jp> 5 * 6 * This software may be used, modified, copied, and distributed, in 7 * both source and binary form provided that the above copyright and 8 * these terms are retained. Under no circumstances is the author 9 * responsible for the proper functioning of this software, nor does 10 * the author assume any responsibility for damages incurred with its 11 * use. 12 * 13 * Aug, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD) 14 * | 1/* 2 * APM (Advanced Power Management) BIOS Device Driver 3 * 4 * Copyright (c) 1994-1995 by HOSOKAWA, Tatsumi <hosokawa@mt.cs.keio.ac.jp> 5 * 6 * This software may be used, modified, copied, and distributed, in 7 * both source and binary form provided that the above copyright and 8 * these terms are retained. Under no circumstances is the author 9 * responsible for the proper functioning of this software, nor does 10 * the author assume any responsibility for damages incurred with its 11 * use. 12 * 13 * Aug, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD) 14 * |
15 * $Id: apm_bios.h,v 1.19 1997/11/12 04:12:51 jdp Exp $ | 15 * $Id: apm_bios.h,v 1.20 1998/07/06 06:29:05 imp Exp $ |
16 */ 17 18#ifndef _MACHINE_APM_BIOS_H_ 19#define _MACHINE_APM_BIOS_H_ 20 21#ifndef KERNEL 22#include <sys/types.h> 23#endif --- 131 unchanged lines hidden (view full) --- 155 156#ifdef KERNEL 157 158void apm_suspend(int state); 159struct apmhook *apm_hook_establish (int apmh, struct apmhook *); 160void apm_hook_disestablish (int apmh, struct apmhook *); 161void apm_cpu_idle(void); 162void apm_cpu_busy(void); | 16 */ 17 18#ifndef _MACHINE_APM_BIOS_H_ 19#define _MACHINE_APM_BIOS_H_ 20 21#ifndef KERNEL 22#include <sys/types.h> 23#endif --- 131 unchanged lines hidden (view full) --- 155 156#ifdef KERNEL 157 158void apm_suspend(int state); 159struct apmhook *apm_hook_establish (int apmh, struct apmhook *); 160void apm_hook_disestablish (int apmh, struct apmhook *); 161void apm_cpu_idle(void); 162void apm_cpu_busy(void); |
163void apm_power_off(void); | |
164 165#endif /* KERNEL */ 166 167#endif /* !ASSEMBLER && !INITIALIZER */ 168 169#define APM_MIN_ORDER 0x00 170#define APM_MID_ORDER 0x80 171#define APM_MAX_ORDER 0xff --- 79 unchanged lines hidden --- | 163 164#endif /* KERNEL */ 165 166#endif /* !ASSEMBLER && !INITIALIZER */ 167 168#define APM_MIN_ORDER 0x00 169#define APM_MID_ORDER 0x80 170#define APM_MAX_ORDER 0xff --- 79 unchanged lines hidden --- |