acevents.h revision aa2aa9a662539940ddbc8610da5a3a874ebd7503
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin/******************************************************************************
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Name: acevents.h - Event subcomponent prototypes and defines
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *****************************************************************************/
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulkner
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin/******************************************************************************
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin * 1. Copyright Notice
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * 2. License
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * 2.1. This is your license from Intel Corp. under its intellectual property
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * rights. You may have additional license terms from the party that provided
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * you this software, covering your right to use that party's intellectual
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * property rights.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * copy of the source code appearing in this file ("Covered Code") an
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * irrevocable, perpetual, worldwide license under Intel's copyrights in the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * base code distributed originally by Intel ("Original Intel Code") to copy,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * make derivatives, distribute, use and display any portion of the Covered
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Code in any form, with the right to sublicense such rights; and
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * license (with the right to sublicense), under only those claims of Intel
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * patents that are infringed by the Original Intel Code, to make, use, sell,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * offer to sell, and import the Covered Code and derivative works thereof
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * solely to the minimum extent necessary to exercise the above copyright
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * license, and in no event shall the patent license extend to any additions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * to or modifications of the Original Intel Code. No other license or right
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * is granted directly or by implication, estoppel or otherwise;
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * The above copyright and patent license is granted only if the following
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * conditions are met:
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * 3. Conditions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * 3.1. Redistribution of Source with Rights to Further Distribute Source.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Redistribution of source code of any substantial portion of the Covered
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Code or modification with rights to further distribute source must include
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * the above Copyright Notice, the above License, this list of Conditions,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * and the following Disclaimer and Export Compliance provision. In addition,
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin * Licensee must cause all Covered Code to which Licensee contributes to
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * contain a file documenting the changes Licensee made to create that Covered
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Code and the date of any change. Licensee must include in that file the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * documentation of any changes made by any predecessor Licensee. Licensee
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * must include a prominent statement that the modification is derived,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * directly or indirectly, from Original Intel Code.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Redistribution of source code of any substantial portion of the Covered
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Code or modification without rights to further distribute source must
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * include the following Disclaimer and Export Compliance provision in the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * documentation and/or other materials provided with distribution. In
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin * addition, Licensee may not authorize further sublicense of source of any
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin * portion of the Covered Code, and must include terms to the effect that the
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin * license from Licensee to its licensee is limited to the intellectual
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * property embodied in the software Licensee provides to its licensee, and
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * not to intellectual property embodied in modifications its licensee may
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * make.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * 3.3. Redistribution of Executable. Redistribution in executable form of any
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * substantial portion of the Covered Code or modification must reproduce the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * above Copyright Notice, and the following Disclaimer and Export Compliance
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * provision in the documentation and/or other materials provided with the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * distribution.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * 3.4. Intel retains all right, title, and interest in and to the Original
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Intel Code.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * 3.5. Neither the name Intel nor any other trademark owned or controlled by
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Intel shall be used in advertising or otherwise to promote the sale, use or
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * other dealings in products derived from or relating to the Covered Code
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * without prior written authorization from Intel.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * 4. Disclaimer and Export Compliance
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * PARTICULAR PURPOSE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * LIMITED REMEDY.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * 4.3. Licensee shall not export, either directly or indirectly, any of this
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * software or system incorporating such software without first obtaining any
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * required license or other approval from the U. S. Department of Commerce or
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * any other agency or department of the United States Government. In the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * event Licensee exports any such software from the United States or
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * re-exports any such software from a foreign destination, Licensee shall
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * ensure that the distribution and export/re-export of the software is in
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * compliance with all laws, regulations, orders, or other restrictions of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * U.S. Export Administration Regulations. Licensee agrees that neither it nor
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * any of its subsidiaries will export/re-export any technical data, process,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * software, or service, directly or indirectly, to any country for which the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * United States government or any agency thereof requires an export license,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * other governmental approval, or letter of assurance, without first obtaining
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * such license, approval or letter.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *****************************************************************************/
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#ifndef __ACEVENTS_H__
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#define __ACEVENTS_H__
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin/*
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * evevent
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin */
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvInitializeEvents (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin void);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
7c2fbfb345896881c631598ee3852ce9ce33fb07April ChinAcpiEvInstallXruptHandlers (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin void);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvInstallFadtGpes (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin void);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinUINT32
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvFixedEventDetect (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin void);
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin/*
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * evmisc
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin */
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinBOOLEAN
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvIsNotifyObject (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ACPI_NAMESPACE_NODE *Node);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvAcquireGlobalLock(
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin UINT16 Timeout);
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvReleaseGlobalLock(
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin void);
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvInitGlobalLockHandler (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin void);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinUINT32
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvGetGpeNumberIndex (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin UINT32 GpeNumber);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
7c2fbfb345896881c631598ee3852ce9ce33fb07April ChinAcpiEvQueueNotifyRequest (
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin ACPI_NAMESPACE_NODE *Node,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin UINT32 NotifyValue);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin/*
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin * evgpe - GPE handling and dispatch
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin */
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvUpdateGpeEnableMasks (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ACPI_GPE_EVENT_INFO *GpeEventInfo,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin UINT8 Type);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvEnableGpe (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ACPI_GPE_EVENT_INFO *GpeEventInfo,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin BOOLEAN WriteToHardware);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvDisableGpe (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ACPI_GPE_EVENT_INFO *GpeEventInfo);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_GPE_EVENT_INFO *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvGetGpeEventInfo (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ACPI_HANDLE GpeDevice,
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin UINT32 GpeNumber);
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin/*
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * evgpeblk
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin */
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinBOOLEAN
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvValidGpeEvent (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ACPI_GPE_EVENT_INFO *GpeEventInfo);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvWalkGpeList (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ACPI_GPE_CALLBACK GpeWalkCallback,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin void *Context);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvDeleteGpeHandlers (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ACPI_GPE_XRUPT_INFO *GpeXruptInfo,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ACPI_GPE_BLOCK_INFO *GpeBlock,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin void *Context);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvCreateGpeBlock (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ACPI_NAMESPACE_NODE *GpeDevice,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ACPI_GENERIC_ADDRESS *GpeBlockAddress,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin UINT32 RegisterCount,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin UINT8 GpeBlockBaseNumber,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin UINT32 InterruptNumber,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ACPI_GPE_BLOCK_INFO **ReturnGpeBlock);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvInitializeGpeBlock (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ACPI_NAMESPACE_NODE *GpeDevice,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ACPI_GPE_BLOCK_INFO *GpeBlock);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvDeleteGpeBlock (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ACPI_GPE_BLOCK_INFO *GpeBlock);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinUINT32
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvGpeDispatch (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ACPI_GPE_EVENT_INFO *GpeEventInfo,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin UINT32 GpeNumber);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinUINT32
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvGpeDetect (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ACPI_GPE_XRUPT_INFO *GpeXruptList);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvSetGpeType (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ACPI_GPE_EVENT_INFO *GpeEventInfo,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin UINT8 Type);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvCheckForWakeOnlyGpe (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ACPI_GPE_EVENT_INFO *GpeEventInfo);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvGpeInitialize (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin void);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin/*
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * evregion - Address Space handling
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin */
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvInstallRegionHandlers (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin void);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvInitializeOpRegions (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin void);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinACPI_STATUS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinAcpiEvAddressSpaceDispatch (
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ACPI_OPERAND_OBJECT *RegionObj,
UINT32 Function,
UINT32 RegionOffset,
UINT32 BitWidth,
ACPI_INTEGER *Value);
ACPI_STATUS
AcpiEvAttachRegion (
ACPI_OPERAND_OBJECT *HandlerObj,
ACPI_OPERAND_OBJECT *RegionObj,
BOOLEAN AcpiNsIsLocked);
void
AcpiEvDetachRegion (
ACPI_OPERAND_OBJECT *RegionObj,
BOOLEAN AcpiNsIsLocked);
ACPI_STATUS
AcpiEvInstallSpaceHandler (
ACPI_NAMESPACE_NODE *Node,
ACPI_ADR_SPACE_TYPE SpaceId,
ACPI_ADR_SPACE_HANDLER Handler,
ACPI_ADR_SPACE_SETUP Setup,
void *Context);
ACPI_STATUS
AcpiEvExecuteRegMethods (
ACPI_NAMESPACE_NODE *Node,
ACPI_ADR_SPACE_TYPE SpaceId);
ACPI_STATUS
AcpiEvExecuteRegMethod (
ACPI_OPERAND_OBJECT *RegionObj,
UINT32 Function);
/*
* evregini - Region initialization and setup
*/
ACPI_STATUS
AcpiEvSystemMemoryRegionSetup (
ACPI_HANDLE Handle,
UINT32 Function,
void *HandlerContext,
void **RegionContext);
ACPI_STATUS
AcpiEvIoSpaceRegionSetup (
ACPI_HANDLE Handle,
UINT32 Function,
void *HandlerContext,
void **RegionContext);
ACPI_STATUS
AcpiEvPciConfigRegionSetup (
ACPI_HANDLE Handle,
UINT32 Function,
void *HandlerContext,
void **RegionContext);
ACPI_STATUS
AcpiEvCmosRegionSetup (
ACPI_HANDLE Handle,
UINT32 Function,
void *HandlerContext,
void **RegionContext);
ACPI_STATUS
AcpiEvPciBarRegionSetup (
ACPI_HANDLE Handle,
UINT32 Function,
void *HandlerContext,
void **RegionContext);
ACPI_STATUS
AcpiEvDefaultRegionSetup (
ACPI_HANDLE Handle,
UINT32 Function,
void *HandlerContext,
void **RegionContext);
ACPI_STATUS
AcpiEvInitializeRegion (
ACPI_OPERAND_OBJECT *RegionObj,
BOOLEAN AcpiNsLocked);
/*
* evsci - SCI (System Control Interrupt) handling/dispatch
*/
UINT32 ACPI_SYSTEM_XFACE
AcpiEvGpeXruptHandler (
void *Context);
UINT32
AcpiEvInstallSciHandler (
void);
ACPI_STATUS
AcpiEvRemoveSciHandler (
void);
UINT32
AcpiEvInitializeSCI (
UINT32 ProgramSCI);
void
AcpiEvTerminate (
void);
#endif /* __ACEVENTS_H__ */