1/******************************************************************************
2 *
3 * Name: actypes.h - Common data types for the entire ACPI subsystem
4 * $Revision: 265 $
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#define ACPI_STATE_UNKNOWN (UINT8) 0xFF
432
433#define ACPI_STATE_S0 (UINT8) 0
434#define ACPI_STATE_S1 (UINT8) 1
435#define ACPI_STATE_S2 (UINT8) 2
436#define ACPI_STATE_S3 (UINT8) 3
437#define ACPI_STATE_S4 (UINT8) 4
438#define ACPI_STATE_S5 (UINT8) 5
--- 27 unchanged lines hidden (view full) ---
466#define ACPI_NOTIFY_DEVICE_CHECK (UINT8) 1
467#define ACPI_NOTIFY_DEVICE_WAKE (UINT8) 2
468#define ACPI_NOTIFY_EJECT_REQUEST (UINT8) 3
469#define ACPI_NOTIFY_DEVICE_CHECK_LIGHT (UINT8) 4
470#define ACPI_NOTIFY_FREQUENCY_MISMATCH (UINT8) 5
471#define ACPI_NOTIFY_BUS_MODE_MISMATCH (UINT8) 6
472#define ACPI_NOTIFY_POWER_FAULT (UINT8) 7
473
474/*
475 * Table types. These values are passed to the table related APIs
476 */
477typedef UINT32 ACPI_TABLE_TYPE;
478
479#define ACPI_TABLE_RSDP (ACPI_TABLE_TYPE) 0
480#define ACPI_TABLE_DSDT (ACPI_TABLE_TYPE) 1
481#define ACPI_TABLE_FADT (ACPI_TABLE_TYPE) 2
482#define ACPI_TABLE_FACS (ACPI_TABLE_TYPE) 3
483#define ACPI_TABLE_PSDT (ACPI_TABLE_TYPE) 4
484#define ACPI_TABLE_SSDT (ACPI_TABLE_TYPE) 5
485#define ACPI_TABLE_XSDT (ACPI_TABLE_TYPE) 6
486#define ACPI_TABLE_MAX 6
487#define NUM_ACPI_TABLE_TYPES (ACPI_TABLE_MAX+1)
488
489/*
490 * Types associated with ACPI names and objects. The first group of
491 * values (up to ACPI_TYPE_EXTERNAL_MAX) correspond to the definition
492 * of the ACPI ObjectType() operator (See the ACPI Spec). Therefore,
493 * only add to the first group if the spec changes.
494 *
495 * Types must be kept in sync with the global AcpiNsProperties
496 * and AcpiNsTypeNames arrays.
--- 373 unchanged lines hidden (view full) ---
870typedef
871ACPI_STATUS (*ACPI_INIT_HANDLER) (
872 ACPI_HANDLE Object,
873 UINT32 Function);
874
875#define ACPI_INIT_DEVICE_INI 1
876
877
878/* Address Spaces (For Operation Regions) */
879
880typedef
881ACPI_STATUS (*ACPI_ADR_SPACE_HANDLER) (
882 UINT32 Function,
883 ACPI_PHYSICAL_ADDRESS Address,
884 UINT32 BitWidth,
885 ACPI_INTEGER *Value,
886 void *HandlerContext,
--- 473 unchanged lines hidden ---
2 *
3 * Name: actypes.h - Common data types for the entire ACPI subsystem
4 * $Revision: 265 $
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#define ACPI_STATE_UNKNOWN (UINT8) 0xFF
432
433#define ACPI_STATE_S0 (UINT8) 0
434#define ACPI_STATE_S1 (UINT8) 1
435#define ACPI_STATE_S2 (UINT8) 2
436#define ACPI_STATE_S3 (UINT8) 3
437#define ACPI_STATE_S4 (UINT8) 4
438#define ACPI_STATE_S5 (UINT8) 5
--- 27 unchanged lines hidden (view full) ---
466#define ACPI_NOTIFY_DEVICE_CHECK (UINT8) 1
467#define ACPI_NOTIFY_DEVICE_WAKE (UINT8) 2
468#define ACPI_NOTIFY_EJECT_REQUEST (UINT8) 3
469#define ACPI_NOTIFY_DEVICE_CHECK_LIGHT (UINT8) 4
470#define ACPI_NOTIFY_FREQUENCY_MISMATCH (UINT8) 5
471#define ACPI_NOTIFY_BUS_MODE_MISMATCH (UINT8) 6
472#define ACPI_NOTIFY_POWER_FAULT (UINT8) 7
473
474/*
475 * Table types. These values are passed to the table related APIs
476 */
477typedef UINT32 ACPI_TABLE_TYPE;
478
479#define ACPI_TABLE_RSDP (ACPI_TABLE_TYPE) 0
480#define ACPI_TABLE_DSDT (ACPI_TABLE_TYPE) 1
481#define ACPI_TABLE_FADT (ACPI_TABLE_TYPE) 2
482#define ACPI_TABLE_FACS (ACPI_TABLE_TYPE) 3
483#define ACPI_TABLE_PSDT (ACPI_TABLE_TYPE) 4
484#define ACPI_TABLE_SSDT (ACPI_TABLE_TYPE) 5
485#define ACPI_TABLE_XSDT (ACPI_TABLE_TYPE) 6
486#define ACPI_TABLE_MAX 6
487#define NUM_ACPI_TABLE_TYPES (ACPI_TABLE_MAX+1)
488
489/*
490 * Types associated with ACPI names and objects. The first group of
491 * values (up to ACPI_TYPE_EXTERNAL_MAX) correspond to the definition
492 * of the ACPI ObjectType() operator (See the ACPI Spec). Therefore,
493 * only add to the first group if the spec changes.
494 *
495 * Types must be kept in sync with the global AcpiNsProperties
496 * and AcpiNsTypeNames arrays.
--- 373 unchanged lines hidden (view full) ---
870typedef
871ACPI_STATUS (*ACPI_INIT_HANDLER) (
872 ACPI_HANDLE Object,
873 UINT32 Function);
874
875#define ACPI_INIT_DEVICE_INI 1
876
877
878/* Address Spaces (For Operation Regions) */
879
880typedef
881ACPI_STATUS (*ACPI_ADR_SPACE_HANDLER) (
882 UINT32 Function,
883 ACPI_PHYSICAL_ADDRESS Address,
884 UINT32 BitWidth,
885 ACPI_INTEGER *Value,
886 void *HandlerContext,
--- 473 unchanged lines hidden ---