Subversion Repositories Kolibri OS

Rev

Rev 6588 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6588 Rev 7143
Line 3... Line 3...
3
 * Name: actypes.h - Common data types for the entire ACPI subsystem
3
 * Name: actypes.h - Common data types for the entire ACPI subsystem
4
 *
4
 *
5
 *****************************************************************************/
5
 *****************************************************************************/
Line 6... Line 6...
6
 
6
 
7
/*
7
/*
8
 * Copyright (C) 2000 - 2015, Intel Corp.
8
 * Copyright (C) 2000 - 2016, Intel Corp.
9
 * All rights reserved.
9
 * All rights reserved.
10
 *
10
 *
11
 * Redistribution and use in source and binary forms, with or without
11
 * Redistribution and use in source and binary forms, with or without
12
 * modification, are permitted provided that the following conditions
12
 * modification, are permitted provided that the following conditions
Line 1146... Line 1146...
1146
 
1146
 
Line 1147... Line 1147...
1147
/* Length of 3-byte PCI class code values when converted back to a string */
1147
/* Length of 3-byte PCI class code values when converted back to a string */
Line 1148... Line 1148...
1148
 
1148
 
Line 1149... Line 1149...
1149
#define ACPI_PCICLS_STRING_SIZE         7	/* Includes null terminator */
1149
#define ACPI_PCICLS_STRING_SIZE         7	/* Includes null terminator */
1150
 
1150
 
1151
/* Structures used for device/processor HID, UID, CID, and SUB */
1151
/* Structures used for device/processor HID, UID, CID */
1152
 
1152
 
Line 1176... Line 1176...
1176
	u8 lowest_dstates[5];	/* _sx_w values: 0xFF indicates not valid */
1176
	u8 lowest_dstates[5];	/* _sx_w values: 0xFF indicates not valid */
1177
	u32 current_status;	/* _STA value */
1177
	u32 current_status;	/* _STA value */
1178
	u64 address;	/* _ADR value */
1178
	u64 address;	/* _ADR value */
1179
	struct acpi_pnp_device_id hardware_id;	/* _HID value */
1179
	struct acpi_pnp_device_id hardware_id;	/* _HID value */
1180
	struct acpi_pnp_device_id unique_id;	/* _UID value */
1180
	struct acpi_pnp_device_id unique_id;	/* _UID value */
1181
	struct acpi_pnp_device_id subsystem_id;	/* _SUB value */
-
 
1182
	struct acpi_pnp_device_id class_code;	/* _CLS value */
1181
	struct acpi_pnp_device_id class_code;	/* _CLS value */
1183
	struct acpi_pnp_device_id_list compatible_id_list;	/* _CID list  */
1182
	struct acpi_pnp_device_id_list compatible_id_list;	/* _CID list  */
1184
};
1183
};
Line 1185... Line 1184...
1185
 
1184
 
Line 1191... Line 1190...
1191
 
1190
 
1192
#define ACPI_VALID_STA                  0x0001
1191
#define ACPI_VALID_STA                  0x0001
1193
#define ACPI_VALID_ADR                  0x0002
1192
#define ACPI_VALID_ADR                  0x0002
1194
#define ACPI_VALID_HID                  0x0004
1193
#define ACPI_VALID_HID                  0x0004
1195
#define ACPI_VALID_UID                  0x0008
-
 
1196
#define ACPI_VALID_SUB                  0x0010
1194
#define ACPI_VALID_UID                  0x0008
1197
#define ACPI_VALID_CID                  0x0020
1195
#define ACPI_VALID_CID                  0x0020
1198
#define ACPI_VALID_CLS                  0x0040
1196
#define ACPI_VALID_CLS                  0x0040
1199
#define ACPI_VALID_SXDS                 0x0100
1197
#define ACPI_VALID_SXDS                 0x0100
Line 1200... Line 1198...
1200
#define ACPI_VALID_SXWS                 0x0200
1198
#define ACPI_VALID_SXWS                 0x0200
Line 1201... Line 1199...
1201
 
1199
 
1202
/* Flags for _STA return value (current_status above) */
1200
/* Flags for _STA method */
1203
 
1201
 
1204
#define ACPI_STA_DEVICE_PRESENT         0x01
1202
#define ACPI_STA_DEVICE_PRESENT         0x01