Deleted Added
full compact
aclocal.h (254745) aclocal.h (272444)
1/******************************************************************************
2 *
3 * Name: aclocal.h - Internal data types used across the ACPI subsystem
4 *
5 *****************************************************************************/
6
7/*
1/******************************************************************************
2 *
3 * Name: aclocal.h - Internal data types used across the ACPI subsystem
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2013, Intel Corp.
8 * Copyright (C) 2000 - 2014, Intel Corp.
9 * All rights reserved.
10 *
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
13 * are met:
14 * 1. Redistributions of source code must retain the above copyright
15 * notice, this list of conditions, and the following disclaimer,
16 * without modification.

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

286 ACPI_NAMESPACE_NODE *RegisterNode;
287 ACPI_NAMESPACE_NODE *DataRegisterNode;
288 ACPI_NAMESPACE_NODE *ConnectionNode;
289 UINT8 *ResourceBuffer;
290 UINT32 BankValue;
291 UINT32 FieldBitPosition;
292 UINT32 FieldBitLength;
293 UINT16 ResourceLength;
9 * All rights reserved.
10 *
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
13 * are met:
14 * 1. Redistributions of source code must retain the above copyright
15 * notice, this list of conditions, and the following disclaimer,
16 * without modification.

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

286 ACPI_NAMESPACE_NODE *RegisterNode;
287 ACPI_NAMESPACE_NODE *DataRegisterNode;
288 ACPI_NAMESPACE_NODE *ConnectionNode;
289 UINT8 *ResourceBuffer;
290 UINT32 BankValue;
291 UINT32 FieldBitPosition;
292 UINT32 FieldBitLength;
293 UINT16 ResourceLength;
294 UINT16 PinNumberIndex;
294 UINT8 FieldFlags;
295 UINT8 Attribute;
296 UINT8 FieldType;
297 UINT8 AccessLength;
298
299} ACPI_CREATE_FIELD_INFO;
300
301

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

511} ACPI_GPE_EVENT_INFO;
512
513/* Information about a GPE register pair, one per each status/enable pair in an array */
514
515typedef struct acpi_gpe_register_info
516{
517 ACPI_GENERIC_ADDRESS StatusAddress; /* Address of status reg */
518 ACPI_GENERIC_ADDRESS EnableAddress; /* Address of enable reg */
295 UINT8 FieldFlags;
296 UINT8 Attribute;
297 UINT8 FieldType;
298 UINT8 AccessLength;
299
300} ACPI_CREATE_FIELD_INFO;
301
302

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

512} ACPI_GPE_EVENT_INFO;
513
514/* Information about a GPE register pair, one per each status/enable pair in an array */
515
516typedef struct acpi_gpe_register_info
517{
518 ACPI_GENERIC_ADDRESS StatusAddress; /* Address of status reg */
519 ACPI_GENERIC_ADDRESS EnableAddress; /* Address of enable reg */
520 UINT16 BaseGpeNumber; /* Base GPE number for this register */
519 UINT8 EnableForWake; /* GPEs to keep enabled when sleeping */
520 UINT8 EnableForRun; /* GPEs to keep enabled when running */
521 UINT8 EnableForWake; /* GPEs to keep enabled when sleeping */
522 UINT8 EnableForRun; /* GPEs to keep enabled when running */
521 UINT8 BaseGpeNumber; /* Base GPE number for this register */
522
523} ACPI_GPE_REGISTER_INFO;
524
525/*
526 * Information about a GPE register block, one per each installed block --
527 * GPE0, GPE1, and one per each installed GPE Block Device.
528 */
529typedef struct acpi_gpe_block_info
530{
531 ACPI_NAMESPACE_NODE *Node;
532 struct acpi_gpe_block_info *Previous;
533 struct acpi_gpe_block_info *Next;
534 struct acpi_gpe_xrupt_info *XruptBlock; /* Backpointer to interrupt block */
535 ACPI_GPE_REGISTER_INFO *RegisterInfo; /* One per GPE register pair */
536 ACPI_GPE_EVENT_INFO *EventInfo; /* One for each GPE */
523
524} ACPI_GPE_REGISTER_INFO;
525
526/*
527 * Information about a GPE register block, one per each installed block --
528 * GPE0, GPE1, and one per each installed GPE Block Device.
529 */
530typedef struct acpi_gpe_block_info
531{
532 ACPI_NAMESPACE_NODE *Node;
533 struct acpi_gpe_block_info *Previous;
534 struct acpi_gpe_block_info *Next;
535 struct acpi_gpe_xrupt_info *XruptBlock; /* Backpointer to interrupt block */
536 ACPI_GPE_REGISTER_INFO *RegisterInfo; /* One per GPE register pair */
537 ACPI_GPE_EVENT_INFO *EventInfo; /* One for each GPE */
537 ACPI_GENERIC_ADDRESS BlockAddress; /* Base address of the block */
538 UINT64 Address; /* Base address of the block */
538 UINT32 RegisterCount; /* Number of register pairs in block */
539 UINT16 GpeCount; /* Number of individual GPEs in block */
539 UINT32 RegisterCount; /* Number of register pairs in block */
540 UINT16 GpeCount; /* Number of individual GPEs in block */
540 UINT8 BlockBaseNumber;/* Base GPE number for this block */
541 UINT16 BlockBaseNumber;/* Base GPE number for this block */
542 UINT8 SpaceId;
541 BOOLEAN Initialized; /* TRUE if this block is initialized */
542
543} ACPI_GPE_BLOCK_INFO;
544
545/* Information about GPE interrupt handlers, one per each interrupt level used for GPEs */
546
547typedef struct acpi_gpe_xrupt_info
548{

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

872
873/* Flags for DisasmFlags field above */
874
875#define ACPI_DASM_BUFFER 0x00 /* Buffer is a simple data buffer */
876#define ACPI_DASM_RESOURCE 0x01 /* Buffer is a Resource Descriptor */
877#define ACPI_DASM_STRING 0x02 /* Buffer is a ASCII string */
878#define ACPI_DASM_UNICODE 0x03 /* Buffer is a Unicode string */
879#define ACPI_DASM_PLD_METHOD 0x04 /* Buffer is a _PLD method bit-packed buffer */
543 BOOLEAN Initialized; /* TRUE if this block is initialized */
544
545} ACPI_GPE_BLOCK_INFO;
546
547/* Information about GPE interrupt handlers, one per each interrupt level used for GPEs */
548
549typedef struct acpi_gpe_xrupt_info
550{

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

874
875/* Flags for DisasmFlags field above */
876
877#define ACPI_DASM_BUFFER 0x00 /* Buffer is a simple data buffer */
878#define ACPI_DASM_RESOURCE 0x01 /* Buffer is a Resource Descriptor */
879#define ACPI_DASM_STRING 0x02 /* Buffer is a ASCII string */
880#define ACPI_DASM_UNICODE 0x03 /* Buffer is a Unicode string */
881#define ACPI_DASM_PLD_METHOD 0x04 /* Buffer is a _PLD method bit-packed buffer */
880#define ACPI_DASM_EISAID 0x05 /* Integer is an EISAID */
881#define ACPI_DASM_MATCHOP 0x06 /* Parent opcode is a Match() operator */
882#define ACPI_DASM_LNOT_PREFIX 0x07 /* Start of a LNotEqual (etc.) pair of opcodes */
883#define ACPI_DASM_LNOT_SUFFIX 0x08 /* End of a LNotEqual (etc.) pair of opcodes */
884#define ACPI_DASM_IGNORE 0x09 /* Not used at this time */
882#define ACPI_DASM_UUID 0x05 /* Buffer is a UUID/GUID */
883#define ACPI_DASM_EISAID 0x06 /* Integer is an EISAID */
884#define ACPI_DASM_MATCHOP 0x07 /* Parent opcode is a Match() operator */
885#define ACPI_DASM_LNOT_PREFIX 0x08 /* Start of a LNotEqual (etc.) pair of opcodes */
886#define ACPI_DASM_LNOT_SUFFIX 0x09 /* End of a LNotEqual (etc.) pair of opcodes */
887#define ACPI_DASM_HID_STRING 0x0A /* String is a _HID or _CID */
888#define ACPI_DASM_IGNORE 0x0B /* Not used at this time */
885
886/*
887 * Generic operation (for example: If, While, Store)
888 */
889typedef struct acpi_parse_obj_common
890{
891 ACPI_PARSE_COMMON
892} ACPI_PARSE_OBJ_COMMON;

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

1213
1214typedef struct acpi_external_list
1215{
1216 char *Path;
1217 char *InternalPath;
1218 struct acpi_external_list *Next;
1219 UINT32 Value;
1220 UINT16 Length;
889
890/*
891 * Generic operation (for example: If, While, Store)
892 */
893typedef struct acpi_parse_obj_common
894{
895 ACPI_PARSE_COMMON
896} ACPI_PARSE_OBJ_COMMON;

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

1217
1218typedef struct acpi_external_list
1219{
1220 char *Path;
1221 char *InternalPath;
1222 struct acpi_external_list *Next;
1223 UINT32 Value;
1224 UINT16 Length;
1225 UINT16 Flags;
1221 UINT8 Type;
1226 UINT8 Type;
1222 UINT8 Flags;
1223 BOOLEAN Resolved;
1224 BOOLEAN Emitted;
1225
1226} ACPI_EXTERNAL_LIST;
1227
1228/* Values for Flags field above */
1229
1227
1228} ACPI_EXTERNAL_LIST;
1229
1230/* Values for Flags field above */
1231
1230#define ACPI_IPATH_ALLOCATED 0x01
1231#define ACPI_FROM_REFERENCE_FILE 0x02
1232#define ACPI_EXT_RESOLVED_REFERENCE 0x01 /* Object was resolved during cross ref */
1233#define ACPI_EXT_ORIGIN_FROM_FILE 0x02 /* External came from a file */
1234#define ACPI_EXT_INTERNAL_PATH_ALLOCATED 0x04 /* Deallocate internal path on completion */
1235#define ACPI_EXT_EXTERNAL_EMITTED 0x08 /* External() statement has been emitted */
1232
1233
1234typedef struct acpi_external_file
1235{
1236 char *Path;
1237 struct acpi_external_file *Next;
1238
1239} ACPI_EXTERNAL_FILE;

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

1254 ACPI_THREAD_ID *Threads;
1255 UINT32 NumThreads;
1256 UINT32 NumCreated;
1257 UINT32 NumCompleted;
1258
1259 char *Name;
1260 UINT32 Flags;
1261 UINT32 NumLoops;
1236
1237
1238typedef struct acpi_external_file
1239{
1240 char *Path;
1241 struct acpi_external_file *Next;
1242
1243} ACPI_EXTERNAL_FILE;

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

1258 ACPI_THREAD_ID *Threads;
1259 UINT32 NumThreads;
1260 UINT32 NumCreated;
1261 UINT32 NumCompleted;
1262
1263 char *Name;
1264 UINT32 Flags;
1265 UINT32 NumLoops;
1262 char Pathname[128];
1266 char Pathname[ACPI_DB_LINE_BUFFER_SIZE];
1263 char **Args;
1264 ACPI_OBJECT_TYPE *Types;
1265
1266 /*
1267 * Arguments to be passed to method for the command
1268 * Threads -
1269 * the Number of threads, ID of current thread and
1270 * Index of current thread inside all them created.

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

1281typedef struct acpi_integrity_info
1282{
1283 UINT32 Nodes;
1284 UINT32 Objects;
1285
1286} ACPI_INTEGRITY_INFO;
1287
1288
1267 char **Args;
1268 ACPI_OBJECT_TYPE *Types;
1269
1270 /*
1271 * Arguments to be passed to method for the command
1272 * Threads -
1273 * the Number of threads, ID of current thread and
1274 * Index of current thread inside all them created.

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

1285typedef struct acpi_integrity_info
1286{
1287 UINT32 Nodes;
1288 UINT32 Objects;
1289
1290} ACPI_INTEGRITY_INFO;
1291
1292
1293#define ACPI_DB_DISABLE_OUTPUT 0x00
1289#define ACPI_DB_REDIRECTABLE_OUTPUT 0x01
1290#define ACPI_DB_CONSOLE_OUTPUT 0x02
1291#define ACPI_DB_DUPLICATE_OUTPUT 0x03
1292
1293
1294/*****************************************************************************
1295 *
1296 * Debug

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

1343 char *Name;
1344 char *Description;
1345#ifndef ACPI_ASL_COMPILER
1346 char *Action;
1347#endif
1348
1349} AH_PREDEFINED_NAME;
1350
1294#define ACPI_DB_REDIRECTABLE_OUTPUT 0x01
1295#define ACPI_DB_CONSOLE_OUTPUT 0x02
1296#define ACPI_DB_DUPLICATE_OUTPUT 0x03
1297
1298
1299/*****************************************************************************
1300 *
1301 * Debug

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

1348 char *Name;
1349 char *Description;
1350#ifndef ACPI_ASL_COMPILER
1351 char *Action;
1352#endif
1353
1354} AH_PREDEFINED_NAME;
1355
1356typedef struct ah_device_id
1357{
1358 char *Name;
1359 char *Description;
1360
1361} AH_DEVICE_ID;
1362
1363typedef struct ah_uuid
1364{
1365 char *Description;
1366 char *String;
1367
1368} AH_UUID;
1369
1351#endif /* __ACLOCAL_H__ */
1370#endif /* __ACLOCAL_H__ */