Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
apm_bios.h File Reference
#include <uapi/linux/apm_bios.h>

Go to the source code of this file.

Data Structures

struct  apm_info
 

Macros

#define APM_CS   (GDT_ENTRY_APMBIOS_BASE * 8)
 
#define APM_CS_16   (APM_CS + 8)
 
#define APM_DS   (APM_CS_16 + 8)
 
#define APM_16_BIT_SUPPORT   0x0001
 
#define APM_32_BIT_SUPPORT   0x0002
 
#define APM_IDLE_SLOWS_CLOCK   0x0004
 
#define APM_BIOS_DISABLED   0x0008
 
#define APM_BIOS_DISENGAGED   0x0010
 
#define APM_FUNC_INST_CHECK   0x5300
 
#define APM_FUNC_REAL_CONN   0x5301
 
#define APM_FUNC_16BIT_CONN   0x5302
 
#define APM_FUNC_32BIT_CONN   0x5303
 
#define APM_FUNC_DISCONN   0x5304
 
#define APM_FUNC_IDLE   0x5305
 
#define APM_FUNC_BUSY   0x5306
 
#define APM_FUNC_SET_STATE   0x5307
 
#define APM_FUNC_ENABLE_PM   0x5308
 
#define APM_FUNC_RESTORE_BIOS   0x5309
 
#define APM_FUNC_GET_STATUS   0x530a
 
#define APM_FUNC_GET_EVENT   0x530b
 
#define APM_FUNC_GET_STATE   0x530c
 
#define APM_FUNC_ENABLE_DEV_PM   0x530d
 
#define APM_FUNC_VERSION   0x530e
 
#define APM_FUNC_ENGAGE_PM   0x530f
 
#define APM_FUNC_GET_CAP   0x5310
 
#define APM_FUNC_RESUME_TIMER   0x5311
 
#define APM_FUNC_RESUME_ON_RING   0x5312
 
#define APM_FUNC_TIMER   0x5313
 
#define APM_FUNC_DISABLE_TIMER   0
 
#define APM_FUNC_GET_TIMER   1
 
#define APM_FUNC_SET_TIMER   2
 
#define APM_FUNC_DISABLE_RING   0
 
#define APM_FUNC_ENABLE_RING   1
 
#define APM_FUNC_GET_RING   2
 
#define APM_FUNC_TIMER_DISABLE   0
 
#define APM_FUNC_TIMER_ENABLE   1
 
#define APM_FUNC_TIMER_GET   2
 
#define APM_DEVICE_BALL
 

Variables

struct apm_info apm_info
 

Macro Definition Documentation

#define APM_16_BIT_SUPPORT   0x0001

Definition at line 26 of file apm_bios.h.

#define APM_32_BIT_SUPPORT   0x0002

Definition at line 27 of file apm_bios.h.

#define APM_BIOS_DISABLED   0x0008

Definition at line 29 of file apm_bios.h.

#define APM_BIOS_DISENGAGED   0x0010

Definition at line 30 of file apm_bios.h.

#define APM_CS   (GDT_ENTRY_APMBIOS_BASE * 8)

Definition at line 21 of file apm_bios.h.

#define APM_CS_16   (APM_CS + 8)

Definition at line 22 of file apm_bios.h.

#define APM_DEVICE_BALL
Value:

Definition at line 99 of file apm_bios.h.

#define APM_DS   (APM_CS_16 + 8)

Definition at line 23 of file apm_bios.h.

#define APM_FUNC_16BIT_CONN   0x5302

Definition at line 51 of file apm_bios.h.

#define APM_FUNC_32BIT_CONN   0x5303

Definition at line 52 of file apm_bios.h.

#define APM_FUNC_BUSY   0x5306

Definition at line 55 of file apm_bios.h.

#define APM_FUNC_DISABLE_RING   0

Definition at line 80 of file apm_bios.h.

#define APM_FUNC_DISABLE_TIMER   0

Definition at line 73 of file apm_bios.h.

#define APM_FUNC_DISCONN   0x5304

Definition at line 53 of file apm_bios.h.

#define APM_FUNC_ENABLE_DEV_PM   0x530d

Definition at line 62 of file apm_bios.h.

#define APM_FUNC_ENABLE_PM   0x5308

Definition at line 57 of file apm_bios.h.

#define APM_FUNC_ENABLE_RING   1

Definition at line 81 of file apm_bios.h.

#define APM_FUNC_ENGAGE_PM   0x530f

Definition at line 64 of file apm_bios.h.

#define APM_FUNC_GET_CAP   0x5310

Definition at line 65 of file apm_bios.h.

#define APM_FUNC_GET_EVENT   0x530b

Definition at line 60 of file apm_bios.h.

#define APM_FUNC_GET_RING   2

Definition at line 82 of file apm_bios.h.

#define APM_FUNC_GET_STATE   0x530c

Definition at line 61 of file apm_bios.h.

#define APM_FUNC_GET_STATUS   0x530a

Definition at line 59 of file apm_bios.h.

#define APM_FUNC_GET_TIMER   1

Definition at line 74 of file apm_bios.h.

#define APM_FUNC_IDLE   0x5305

Definition at line 54 of file apm_bios.h.

#define APM_FUNC_INST_CHECK   0x5300

Definition at line 49 of file apm_bios.h.

#define APM_FUNC_REAL_CONN   0x5301

Definition at line 50 of file apm_bios.h.

#define APM_FUNC_RESTORE_BIOS   0x5309

Definition at line 58 of file apm_bios.h.

#define APM_FUNC_RESUME_ON_RING   0x5312

Definition at line 67 of file apm_bios.h.

#define APM_FUNC_RESUME_TIMER   0x5311

Definition at line 66 of file apm_bios.h.

#define APM_FUNC_SET_STATE   0x5307

Definition at line 56 of file apm_bios.h.

#define APM_FUNC_SET_TIMER   2

Definition at line 75 of file apm_bios.h.

#define APM_FUNC_TIMER   0x5313

Definition at line 68 of file apm_bios.h.

#define APM_FUNC_TIMER_DISABLE   0

Definition at line 87 of file apm_bios.h.

#define APM_FUNC_TIMER_ENABLE   1

Definition at line 88 of file apm_bios.h.

#define APM_FUNC_TIMER_GET   2

Definition at line 89 of file apm_bios.h.

#define APM_FUNC_VERSION   0x530e

Definition at line 63 of file apm_bios.h.

#define APM_IDLE_SLOWS_CLOCK   0x0004

Definition at line 28 of file apm_bios.h.

Variable Documentation