Deleted Added
full compact
actypes.h (77424) actypes.h (78986)
1/******************************************************************************
2 *
3 * Name: actypes.h - Common data types for the entire ACPI subsystem
1/******************************************************************************
2 *
3 * Name: actypes.h - Common data types for the entire ACPI subsystem
4 * $Revision: 178 $
4 * $Revision: 180 $
5 *
6 *****************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.

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

331#define ACPI_NO_HARDWARE_INIT 0x02
332#define ACPI_NO_EVENT_INIT 0x04
333#define ACPI_NO_ACPI_ENABLE 0x08
334#define ACPI_NO_DEVICE_INIT 0x10
335#define ACPI_NO_OBJECT_INIT 0x20
336
337
338/*
5 *
6 *****************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.

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

331#define ACPI_NO_HARDWARE_INIT 0x02
332#define ACPI_NO_EVENT_INIT 0x04
333#define ACPI_NO_ACPI_ENABLE 0x08
334#define ACPI_NO_DEVICE_INIT 0x10
335#define ACPI_NO_OBJECT_INIT 0x20
336
337
338/*
339 * System states
339 * Power state values
340 */
340 */
341
342#define ACPI_STATE_UNKNOWN (UINT8) 0xFF
343
341#define ACPI_STATE_S0 (UINT8) 0
342#define ACPI_STATE_S1 (UINT8) 1
343#define ACPI_STATE_S2 (UINT8) 2
344#define ACPI_STATE_S3 (UINT8) 3
345#define ACPI_STATE_S4 (UINT8) 4
346#define ACPI_STATE_S5 (UINT8) 5
347/* let's pretend S4BIOS didn't exist for now. ASG */
348#define ACPI_STATE_S4BIOS (UINT8) 6
349#define ACPI_S_STATES_MAX ACPI_STATE_S5
350#define ACPI_S_STATE_COUNT 6
351
344#define ACPI_STATE_S0 (UINT8) 0
345#define ACPI_STATE_S1 (UINT8) 1
346#define ACPI_STATE_S2 (UINT8) 2
347#define ACPI_STATE_S3 (UINT8) 3
348#define ACPI_STATE_S4 (UINT8) 4
349#define ACPI_STATE_S5 (UINT8) 5
350/* let's pretend S4BIOS didn't exist for now. ASG */
351#define ACPI_STATE_S4BIOS (UINT8) 6
352#define ACPI_S_STATES_MAX ACPI_STATE_S5
353#define ACPI_S_STATE_COUNT 6
354
352/*
353 * Device power states
354 */
355#define ACPI_STATE_D0 (UINT8) 0
356#define ACPI_STATE_D1 (UINT8) 1
357#define ACPI_STATE_D2 (UINT8) 2
358#define ACPI_STATE_D3 (UINT8) 3
359#define ACPI_D_STATES_MAX ACPI_STATE_D3
360#define ACPI_D_STATE_COUNT 4
361
355#define ACPI_STATE_D0 (UINT8) 0
356#define ACPI_STATE_D1 (UINT8) 1
357#define ACPI_STATE_D2 (UINT8) 2
358#define ACPI_STATE_D3 (UINT8) 3
359#define ACPI_D_STATES_MAX ACPI_STATE_D3
360#define ACPI_D_STATE_COUNT 4
361
362#define ACPI_STATE_UNKNOWN (UINT8) 0xFF
362/*
363 * Standard notify values
364 */
365#define ACPI_NOTIFY_BUS_CHECK (UINT8) 0
366#define ACPI_NOTIFY_DEVICE_CHECK (UINT8) 1
367#define ACPI_NOTIFY_DEVICE_WAKE (UINT8) 2
368#define ACPI_NOTIFY_EJECT_REQUEST (UINT8) 3
369#define ACPI_NOTIFY_DEVICE_CHECK_LIGHT (UINT8) 4
370#define ACPI_NOTIFY_FREQUENCY_MISMATCH (UINT8) 5
371#define ACPI_NOTIFY_BUS_MODE_MISMATCH (UINT8) 6
372#define ACPI_NOTIFY_POWER_FAULT (UINT8) 7
363
364
365/*
366 * Table types. These values are passed to the table related APIs
367 */
368
369typedef UINT32 ACPI_TABLE_TYPE;
370

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

425#define INTERNAL_TYPE_REGION_FIELD 17 /* 0x11 */
426#define INTERNAL_TYPE_BANK_FIELD 18 /* 0x12 */
427#define INTERNAL_TYPE_INDEX_FIELD 19 /* 0x13 */
428#define INTERNAL_TYPE_REFERENCE 20 /* 0x14 Arg#, Local#, Name, Debug; used only in descriptors */
429#define INTERNAL_TYPE_ALIAS 21 /* 0x15 */
430#define INTERNAL_TYPE_NOTIFY 22 /* 0x16 */
431#define INTERNAL_TYPE_ADDRESS_HANDLER 23 /* 0x17 */
432#define INTERNAL_TYPE_RESOURCE 24 /* 0x18 */
373
374
375/*
376 * Table types. These values are passed to the table related APIs
377 */
378
379typedef UINT32 ACPI_TABLE_TYPE;
380

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

435#define INTERNAL_TYPE_REGION_FIELD 17 /* 0x11 */
436#define INTERNAL_TYPE_BANK_FIELD 18 /* 0x12 */
437#define INTERNAL_TYPE_INDEX_FIELD 19 /* 0x13 */
438#define INTERNAL_TYPE_REFERENCE 20 /* 0x14 Arg#, Local#, Name, Debug; used only in descriptors */
439#define INTERNAL_TYPE_ALIAS 21 /* 0x15 */
440#define INTERNAL_TYPE_NOTIFY 22 /* 0x16 */
441#define INTERNAL_TYPE_ADDRESS_HANDLER 23 /* 0x17 */
442#define INTERNAL_TYPE_RESOURCE 24 /* 0x18 */
443#define INTERNAL_TYPE_RESOURCE_FIELD 25 /* 0x19 */
433
434
444
445
435#define INTERNAL_TYPE_NODE_MAX 24
446#define INTERNAL_TYPE_NODE_MAX 25
436
437/* These are pseudo-types because there are never any namespace nodes with these types */
438
447
448/* These are pseudo-types because there are never any namespace nodes with these types */
449
439#define INTERNAL_TYPE_FIELD_DEFN 25 /* 0x19 Name, ByteConst, multiple FieldElement */
440#define INTERNAL_TYPE_BANK_FIELD_DEFN 26 /* 0x1A 2 Name,DWordConst,ByteConst,multi FieldElement */
441#define INTERNAL_TYPE_INDEX_FIELD_DEFN 27 /* 0x1B 2 Name, ByteConst, multiple FieldElement */
442#define INTERNAL_TYPE_IF 28 /* 0x1C */
443#define INTERNAL_TYPE_ELSE 29 /* 0x1D */
444#define INTERNAL_TYPE_WHILE 30 /* 0x1E */
445#define INTERNAL_TYPE_SCOPE 31 /* 0x1F Name, multiple Node */
446#define INTERNAL_TYPE_DEF_ANY 32 /* 0x20 type is Any, suppress search of enclosing scopes */
447#define INTERNAL_TYPE_EXTRA 33 /* 0x21 */
450#define INTERNAL_TYPE_FIELD_DEFN 26 /* 0x1A Name, ByteConst, multiple FieldElement */
451#define INTERNAL_TYPE_BANK_FIELD_DEFN 27 /* 0x1B 2 Name,DWordConst,ByteConst,multi FieldElement */
452#define INTERNAL_TYPE_INDEX_FIELD_DEFN 28 /* 0x1C 2 Name, ByteConst, multiple FieldElement */
453#define INTERNAL_TYPE_IF 29 /* 0x1D */
454#define INTERNAL_TYPE_ELSE 30 /* 0x1E */
455#define INTERNAL_TYPE_WHILE 31 /* 0x1F */
456#define INTERNAL_TYPE_SCOPE 32 /* 0x20 Name, multiple Node */
457#define INTERNAL_TYPE_DEF_ANY 33 /* 0x21 type is Any, suppress search of enclosing scopes */
458#define INTERNAL_TYPE_EXTRA 34 /* 0x22 */
448
459
449#define INTERNAL_TYPE_MAX 33
460#define INTERNAL_TYPE_MAX 34
450
461
451#define INTERNAL_TYPE_INVALID 34
462#define INTERNAL_TYPE_INVALID 35
452#define ACPI_TYPE_NOT_FOUND 0xFF
453
454
455/*
456 * Bitmapped ACPI types
457 * Used internally only
458 */
459#define ACPI_BTYPE_ANY 0x00000000

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

810} ACPI_OBJ_INFO_HEADER;
811
812
813typedef struct
814{
815 ACPI_COMMON_OBJ_INFO;
816
817 UINT32 Valid; /* Are the next bits legit? */
463#define ACPI_TYPE_NOT_FOUND 0xFF
464
465
466/*
467 * Bitmapped ACPI types
468 * Used internally only
469 */
470#define ACPI_BTYPE_ANY 0x00000000

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

821} ACPI_OBJ_INFO_HEADER;
822
823
824typedef struct
825{
826 ACPI_COMMON_OBJ_INFO;
827
828 UINT32 Valid; /* Are the next bits legit? */
818 NATIVE_CHAR HardwareId [9]; /* _HID value if any */
829 NATIVE_CHAR HardwareId[9]; /* _HID value if any */
819 NATIVE_CHAR UniqueId[9]; /* _UID value if any */
820 ACPI_INTEGER Address; /* _ADR value if any */
821 UINT32 CurrentStatus; /* _STA value */
822} ACPI_DEVICE_INFO;
823
824
825/* Context structs for address space handlers */
826

--- 367 unchanged lines hidden ---
830 NATIVE_CHAR UniqueId[9]; /* _UID value if any */
831 ACPI_INTEGER Address; /* _ADR value if any */
832 UINT32 CurrentStatus; /* _STA value */
833} ACPI_DEVICE_INFO;
834
835
836/* Context structs for address space handlers */
837

--- 367 unchanged lines hidden ---