Deleted Added
full compact
apm_bios.h (64615) apm_bios.h (92761)
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 * $FreeBSD: head/sys/i386/include/apm_bios.h 64615 2000-08-13 17:05:27Z ume $
15 * $FreeBSD: head/sys/i386/include/apm_bios.h 92761 2002-03-20 05:48:58Z alfred $
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

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

139/* 0x0040 - 0x007f OEM-defined device states */
140/* 0x0080 - 0xffff Reserved device states */
141
142#if !defined(ASSEMBLER) && !defined(INITIALIZER)
143
144/* C definitions */
145struct apmhook {
146 struct apmhook *ah_next;
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

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

139/* 0x0040 - 0x007f OEM-defined device states */
140/* 0x0080 - 0xffff Reserved device states */
141
142#if !defined(ASSEMBLER) && !defined(INITIALIZER)
143
144/* C definitions */
145struct apmhook {
146 struct apmhook *ah_next;
147 int (*ah_fun) __P((void *ah_arg));
147 int (*ah_fun)(void *ah_arg);
148 void *ah_arg;
149 const char *ah_name;
150 int ah_order;
151};
152#define APM_HOOK_NONE (-1)
153#define APM_HOOK_SUSPEND 0
154#define APM_HOOK_RESUME 1
155#define NAPM_HOOK 2

--- 122 unchanged lines hidden ---
148 void *ah_arg;
149 const char *ah_name;
150 int ah_order;
151};
152#define APM_HOOK_NONE (-1)
153#define APM_HOOK_SUSPEND 0
154#define APM_HOOK_RESUME 1
155#define NAPM_HOOK 2

--- 122 unchanged lines hidden ---