Deleted Added
full compact
apm_bios.h (8876) apm_bios.h (12453)
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.4 1995/02/17 02:22:45 phk Exp $
15 * $Id: apm_bios.h,v 1.5 1995/05/30 08:00:23 rgrimes Exp $
16 */
17
18#ifndef _MACHINE_APM_BIOS_H_
19#define _MACHINE_APM_BIOS_H_ 1
20
21#ifdef KERNEL
22
23/* BIOS id */

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

118/* 0x0040 - 0x007f OEM-defined device states */
119/* 0x0080 - 0xffff Reserved device states */
120
121#if !defined(ASSEMBLER) && !defined(INITIALIZER)
122
123/* C definitions */
124struct apmhook {
125 struct apmhook *ah_next;
16 */
17
18#ifndef _MACHINE_APM_BIOS_H_
19#define _MACHINE_APM_BIOS_H_ 1
20
21#ifdef KERNEL
22
23/* BIOS id */

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

118/* 0x0040 - 0x007f OEM-defined device states */
119/* 0x0080 - 0xffff Reserved device states */
120
121#if !defined(ASSEMBLER) && !defined(INITIALIZER)
122
123/* C definitions */
124struct apmhook {
125 struct apmhook *ah_next;
126 int (*ah_fun)();
126 int (*ah_fun) __P((void *ah_arg));
127 void *ah_arg;
128 const char *ah_name;
129 int ah_order;
130};
131#define APM_HOOK_NONE (-1)
132#define APM_HOOK_SUSPEND 0
133#define APM_HOOK_RESUME 1
134#define NAPM_HOOK 2

--- 57 unchanged lines hidden ---
127 void *ah_arg;
128 const char *ah_name;
129 int ah_order;
130};
131#define APM_HOOK_NONE (-1)
132#define APM_HOOK_SUSPEND 0
133#define APM_HOOK_RESUME 1
134#define NAPM_HOOK 2

--- 57 unchanged lines hidden ---