Deleted Added
full compact
apm_bios.h (24372) apm_bios.h (26657)
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.16 1997/03/09 16:40:13 kato Exp $
15 * $Id: apm_bios.h,v 1.17 1997/03/29 11:07:12 phk 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

--- 127 unchanged lines hidden (view full) ---

151#define APM_HOOK_RESUME 1
152#define NAPM_HOOK 2
153
154void apm_suspend(void);
155struct apmhook *apm_hook_establish (int apmh, struct apmhook *);
156void apm_hook_disestablish (int apmh, struct apmhook *);
157void apm_cpu_idle(void);
158void 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

--- 127 unchanged lines hidden (view full) ---

151#define APM_HOOK_RESUME 1
152#define NAPM_HOOK 2
153
154void apm_suspend(void);
155struct apmhook *apm_hook_establish (int apmh, struct apmhook *);
156void apm_hook_disestablish (int apmh, struct apmhook *);
157void apm_cpu_idle(void);
158void apm_cpu_busy(void);
159void apm_power_off(void);
159
160#endif /* !ASSEMBLER && !INITIALIZER */
161
162#define APM_MIN_ORDER 0x00
163#define APM_MID_ORDER 0x80
164#define APM_MAX_ORDER 0xff
165
166#endif /* KERNEL */

--- 52 unchanged lines hidden ---
160
161#endif /* !ASSEMBLER && !INITIALIZER */
162
163#define APM_MIN_ORDER 0x00
164#define APM_MID_ORDER 0x80
165#define APM_MAX_ORDER 0xff
166
167#endif /* KERNEL */

--- 52 unchanged lines hidden ---