Deleted Added
full compact
apm_bios.h (15360) apm_bios.h (18265)
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.9 1996/03/13 00:41:45 nate Exp $
15 * $Id: apm_bios.h,v 1.10 1996/04/23 16:02:53 nate Exp $
16 */
17
18#ifndef _MACHINE_APM_BIOS_H_
19#define _MACHINE_APM_BIOS_H_ 1
20
21#ifdef KERNEL
22
23/* BIOS id */
16 */
17
18#ifndef _MACHINE_APM_BIOS_H_
19#define _MACHINE_APM_BIOS_H_ 1
20
21#ifdef KERNEL
22
23/* BIOS id */
24#ifdef PC98
25#define APM_BIOS 0x9a
26#define SYSTEM_BIOS 0x1f
27#else
24#define APM_BIOS 0x53
25#define SYSTEM_BIOS 0x15
28#define APM_BIOS 0x53
29#define SYSTEM_BIOS 0x15
30#endif
26
27/* APM flags */
28#define APM_16BIT_SUPPORT 0x01
29#define APM_32BIT_SUPPORT 0x02
30#define APM_CPUIDLE_SLOW 0x04
31#define APM_DISABLED 0x08
32#define APM_DISENGAGED 0x10
33

--- 157 unchanged lines hidden ---
31
32/* APM flags */
33#define APM_16BIT_SUPPORT 0x01
34#define APM_32BIT_SUPPORT 0x02
35#define APM_CPUIDLE_SLOW 0x04
36#define APM_DISABLED 0x08
37#define APM_DISENGAGED 0x10
38

--- 157 unchanged lines hidden ---