1/******************************************************************************
2 *
3 * Name: actypes.h - Common data types for the entire ACPI subsystem
4 * $Revision: 264 $
5 *
6 *****************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp.
--- 410 unchanged lines hidden (view full) ---
423/*
424 * Initialization state
425 */
426#define ACPI_INITIALIZED_OK 0x01
427
428/*
429 * Power state values
430 */
431
432#define ACPI_STATE_UNKNOWN (UINT8) 0xFF
433
434#define ACPI_STATE_S0 (UINT8) 0
435#define ACPI_STATE_S1 (UINT8) 1
436#define ACPI_STATE_S2 (UINT8) 2
437#define ACPI_STATE_S3 (UINT8) 3
438#define ACPI_STATE_S4 (UINT8) 4
439#define ACPI_STATE_S5 (UINT8) 5
--- 27 unchanged lines hidden (view full) ---
467#define ACPI_NOTIFY_DEVICE_CHECK (UINT8) 1
468#define ACPI_NOTIFY_DEVICE_WAKE (UINT8) 2
469#define ACPI_NOTIFY_EJECT_REQUEST (UINT8) 3
470#define ACPI_NOTIFY_DEVICE_CHECK_LIGHT (UINT8) 4
471#define ACPI_NOTIFY_FREQUENCY_MISMATCH (UINT8) 5
472#define ACPI_NOTIFY_BUS_MODE_MISMATCH (UINT8) 6
473#define ACPI_NOTIFY_POWER_FAULT (UINT8) 7
474
475
476/*
477 * Table types. These values are passed to the table related APIs
478 */
479typedef UINT32 ACPI_TABLE_TYPE;
480
481#define ACPI_TABLE_RSDP (ACPI_TABLE_TYPE) 0
482#define ACPI_TABLE_DSDT (ACPI_TABLE_TYPE) 1
483#define ACPI_TABLE_FADT (ACPI_TABLE_TYPE) 2
484#define ACPI_TABLE_FACS (ACPI_TABLE_TYPE) 3
485#define ACPI_TABLE_PSDT (ACPI_TABLE_TYPE) 4
486#define ACPI_TABLE_SSDT (ACPI_TABLE_TYPE) 5
487#define ACPI_TABLE_XSDT (ACPI_TABLE_TYPE) 6
488#define ACPI_TABLE_MAX 6
489#define NUM_ACPI_TABLE_TYPES (ACPI_TABLE_MAX+1)
490
491
492/*
493 * Types associated with ACPI names and objects. The first group of
494 * values (up to ACPI_TYPE_EXTERNAL_MAX) correspond to the definition
495 * of the ACPI ObjectType() operator (See the ACPI Spec). Therefore,
496 * only add to the first group if the spec changes.
497 *
498 * Types must be kept in sync with the global AcpiNsProperties
499 * and AcpiNsTypeNames arrays.
--- 373 unchanged lines hidden (view full) ---
873typedef
874ACPI_STATUS (*ACPI_INIT_HANDLER) (
875 ACPI_HANDLE Object,
876 UINT32 Function);
877
878#define ACPI_INIT_DEVICE_INI 1
879
880
881/* Address Spaces (Operation Regions */
882
883typedef
884ACPI_STATUS (*ACPI_ADR_SPACE_HANDLER) (
885 UINT32 Function,
886 ACPI_PHYSICAL_ADDRESS Address,
887 UINT32 BitWidth,
888 ACPI_INTEGER *Value,
889 void *HandlerContext,
--- 473 unchanged lines hidden ---
2 *
3 * Name: actypes.h - Common data types for the entire ACPI subsystem
4 * $Revision: 264 $
5 *
6 *****************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp.
--- 410 unchanged lines hidden (view full) ---
423/*
424 * Initialization state
425 */
426#define ACPI_INITIALIZED_OK 0x01
427
428/*
429 * Power state values
430 */
431
432#define ACPI_STATE_UNKNOWN (UINT8) 0xFF
433
434#define ACPI_STATE_S0 (UINT8) 0
435#define ACPI_STATE_S1 (UINT8) 1
436#define ACPI_STATE_S2 (UINT8) 2
437#define ACPI_STATE_S3 (UINT8) 3
438#define ACPI_STATE_S4 (UINT8) 4
439#define ACPI_STATE_S5 (UINT8) 5
--- 27 unchanged lines hidden (view full) ---
467#define ACPI_NOTIFY_DEVICE_CHECK (UINT8) 1
468#define ACPI_NOTIFY_DEVICE_WAKE (UINT8) 2
469#define ACPI_NOTIFY_EJECT_REQUEST (UINT8) 3
470#define ACPI_NOTIFY_DEVICE_CHECK_LIGHT (UINT8) 4
471#define ACPI_NOTIFY_FREQUENCY_MISMATCH (UINT8) 5
472#define ACPI_NOTIFY_BUS_MODE_MISMATCH (UINT8) 6
473#define ACPI_NOTIFY_POWER_FAULT (UINT8) 7
474
475
476/*
477 * Table types. These values are passed to the table related APIs
478 */
479typedef UINT32 ACPI_TABLE_TYPE;
480
481#define ACPI_TABLE_RSDP (ACPI_TABLE_TYPE) 0
482#define ACPI_TABLE_DSDT (ACPI_TABLE_TYPE) 1
483#define ACPI_TABLE_FADT (ACPI_TABLE_TYPE) 2
484#define ACPI_TABLE_FACS (ACPI_TABLE_TYPE) 3
485#define ACPI_TABLE_PSDT (ACPI_TABLE_TYPE) 4
486#define ACPI_TABLE_SSDT (ACPI_TABLE_TYPE) 5
487#define ACPI_TABLE_XSDT (ACPI_TABLE_TYPE) 6
488#define ACPI_TABLE_MAX 6
489#define NUM_ACPI_TABLE_TYPES (ACPI_TABLE_MAX+1)
490
491
492/*
493 * Types associated with ACPI names and objects. The first group of
494 * values (up to ACPI_TYPE_EXTERNAL_MAX) correspond to the definition
495 * of the ACPI ObjectType() operator (See the ACPI Spec). Therefore,
496 * only add to the first group if the spec changes.
497 *
498 * Types must be kept in sync with the global AcpiNsProperties
499 * and AcpiNsTypeNames arrays.
--- 373 unchanged lines hidden (view full) ---
873typedef
874ACPI_STATUS (*ACPI_INIT_HANDLER) (
875 ACPI_HANDLE Object,
876 UINT32 Function);
877
878#define ACPI_INIT_DEVICE_INI 1
879
880
881/* Address Spaces (Operation Regions */
882
883typedef
884ACPI_STATUS (*ACPI_ADR_SPACE_HANDLER) (
885 UINT32 Function,
886 ACPI_PHYSICAL_ADDRESS Address,
887 UINT32 BitWidth,
888 ACPI_INTEGER *Value,
889 void *HandlerContext,
--- 473 unchanged lines hidden ---