17c478bd9Sstevel@tonic-gate /****************************************************************************** 27c478bd9Sstevel@tonic-gate * 37c478bd9Sstevel@tonic-gate * Name: acevents.h - Event subcomponent prototypes and defines 47c478bd9Sstevel@tonic-gate * 57c478bd9Sstevel@tonic-gate *****************************************************************************/ 67c478bd9Sstevel@tonic-gate 77c478bd9Sstevel@tonic-gate /****************************************************************************** 87c478bd9Sstevel@tonic-gate * 97c478bd9Sstevel@tonic-gate * 1. Copyright Notice 107c478bd9Sstevel@tonic-gate * 11*aa2aa9a6SDana Myers * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp. 127c478bd9Sstevel@tonic-gate * All rights reserved. 137c478bd9Sstevel@tonic-gate * 147c478bd9Sstevel@tonic-gate * 2. License 157c478bd9Sstevel@tonic-gate * 167c478bd9Sstevel@tonic-gate * 2.1. This is your license from Intel Corp. under its intellectual property 177c478bd9Sstevel@tonic-gate * rights. You may have additional license terms from the party that provided 187c478bd9Sstevel@tonic-gate * you this software, covering your right to use that party's intellectual 197c478bd9Sstevel@tonic-gate * property rights. 207c478bd9Sstevel@tonic-gate * 217c478bd9Sstevel@tonic-gate * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a 227c478bd9Sstevel@tonic-gate * copy of the source code appearing in this file ("Covered Code") an 237c478bd9Sstevel@tonic-gate * irrevocable, perpetual, worldwide license under Intel's copyrights in the 247c478bd9Sstevel@tonic-gate * base code distributed originally by Intel ("Original Intel Code") to copy, 257c478bd9Sstevel@tonic-gate * make derivatives, distribute, use and display any portion of the Covered 267c478bd9Sstevel@tonic-gate * Code in any form, with the right to sublicense such rights; and 277c478bd9Sstevel@tonic-gate * 287c478bd9Sstevel@tonic-gate * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent 297c478bd9Sstevel@tonic-gate * license (with the right to sublicense), under only those claims of Intel 307c478bd9Sstevel@tonic-gate * patents that are infringed by the Original Intel Code, to make, use, sell, 317c478bd9Sstevel@tonic-gate * offer to sell, and import the Covered Code and derivative works thereof 327c478bd9Sstevel@tonic-gate * solely to the minimum extent necessary to exercise the above copyright 337c478bd9Sstevel@tonic-gate * license, and in no event shall the patent license extend to any additions 347c478bd9Sstevel@tonic-gate * to or modifications of the Original Intel Code. No other license or right 357c478bd9Sstevel@tonic-gate * is granted directly or by implication, estoppel or otherwise; 367c478bd9Sstevel@tonic-gate * 377c478bd9Sstevel@tonic-gate * The above copyright and patent license is granted only if the following 387c478bd9Sstevel@tonic-gate * conditions are met: 397c478bd9Sstevel@tonic-gate * 407c478bd9Sstevel@tonic-gate * 3. Conditions 417c478bd9Sstevel@tonic-gate * 427c478bd9Sstevel@tonic-gate * 3.1. Redistribution of Source with Rights to Further Distribute Source. 437c478bd9Sstevel@tonic-gate * Redistribution of source code of any substantial portion of the Covered 447c478bd9Sstevel@tonic-gate * Code or modification with rights to further distribute source must include 457c478bd9Sstevel@tonic-gate * the above Copyright Notice, the above License, this list of Conditions, 467c478bd9Sstevel@tonic-gate * and the following Disclaimer and Export Compliance provision. In addition, 477c478bd9Sstevel@tonic-gate * Licensee must cause all Covered Code to which Licensee contributes to 487c478bd9Sstevel@tonic-gate * contain a file documenting the changes Licensee made to create that Covered 497c478bd9Sstevel@tonic-gate * Code and the date of any change. Licensee must include in that file the 507c478bd9Sstevel@tonic-gate * documentation of any changes made by any predecessor Licensee. Licensee 517c478bd9Sstevel@tonic-gate * must include a prominent statement that the modification is derived, 527c478bd9Sstevel@tonic-gate * directly or indirectly, from Original Intel Code. 537c478bd9Sstevel@tonic-gate * 547c478bd9Sstevel@tonic-gate * 3.2. Redistribution of Source with no Rights to Further Distribute Source. 557c478bd9Sstevel@tonic-gate * Redistribution of source code of any substantial portion of the Covered 567c478bd9Sstevel@tonic-gate * Code or modification without rights to further distribute source must 577c478bd9Sstevel@tonic-gate * include the following Disclaimer and Export Compliance provision in the 587c478bd9Sstevel@tonic-gate * documentation and/or other materials provided with distribution. In 597c478bd9Sstevel@tonic-gate * addition, Licensee may not authorize further sublicense of source of any 607c478bd9Sstevel@tonic-gate * portion of the Covered Code, and must include terms to the effect that the 617c478bd9Sstevel@tonic-gate * license from Licensee to its licensee is limited to the intellectual 627c478bd9Sstevel@tonic-gate * property embodied in the software Licensee provides to its licensee, and 637c478bd9Sstevel@tonic-gate * not to intellectual property embodied in modifications its licensee may 647c478bd9Sstevel@tonic-gate * make. 657c478bd9Sstevel@tonic-gate * 667c478bd9Sstevel@tonic-gate * 3.3. Redistribution of Executable. Redistribution in executable form of any 677c478bd9Sstevel@tonic-gate * substantial portion of the Covered Code or modification must reproduce the 687c478bd9Sstevel@tonic-gate * above Copyright Notice, and the following Disclaimer and Export Compliance 697c478bd9Sstevel@tonic-gate * provision in the documentation and/or other materials provided with the 707c478bd9Sstevel@tonic-gate * distribution. 717c478bd9Sstevel@tonic-gate * 727c478bd9Sstevel@tonic-gate * 3.4. Intel retains all right, title, and interest in and to the Original 737c478bd9Sstevel@tonic-gate * Intel Code. 747c478bd9Sstevel@tonic-gate * 757c478bd9Sstevel@tonic-gate * 3.5. Neither the name Intel nor any other trademark owned or controlled by 767c478bd9Sstevel@tonic-gate * Intel shall be used in advertising or otherwise to promote the sale, use or 777c478bd9Sstevel@tonic-gate * other dealings in products derived from or relating to the Covered Code 787c478bd9Sstevel@tonic-gate * without prior written authorization from Intel. 797c478bd9Sstevel@tonic-gate * 807c478bd9Sstevel@tonic-gate * 4. Disclaimer and Export Compliance 817c478bd9Sstevel@tonic-gate * 827c478bd9Sstevel@tonic-gate * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED 837c478bd9Sstevel@tonic-gate * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE 847c478bd9Sstevel@tonic-gate * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE, 857c478bd9Sstevel@tonic-gate * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY 867c478bd9Sstevel@tonic-gate * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY 877c478bd9Sstevel@tonic-gate * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A 887c478bd9Sstevel@tonic-gate * PARTICULAR PURPOSE. 897c478bd9Sstevel@tonic-gate * 907c478bd9Sstevel@tonic-gate * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES 917c478bd9Sstevel@tonic-gate * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR 927c478bd9Sstevel@tonic-gate * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT, 937c478bd9Sstevel@tonic-gate * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY 947c478bd9Sstevel@tonic-gate * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL 957c478bd9Sstevel@tonic-gate * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS 967c478bd9Sstevel@tonic-gate * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY 977c478bd9Sstevel@tonic-gate * LIMITED REMEDY. 987c478bd9Sstevel@tonic-gate * 997c478bd9Sstevel@tonic-gate * 4.3. Licensee shall not export, either directly or indirectly, any of this 1007c478bd9Sstevel@tonic-gate * software or system incorporating such software without first obtaining any 1017c478bd9Sstevel@tonic-gate * required license or other approval from the U. S. Department of Commerce or 1027c478bd9Sstevel@tonic-gate * any other agency or department of the United States Government. In the 1037c478bd9Sstevel@tonic-gate * event Licensee exports any such software from the United States or 1047c478bd9Sstevel@tonic-gate * re-exports any such software from a foreign destination, Licensee shall 1057c478bd9Sstevel@tonic-gate * ensure that the distribution and export/re-export of the software is in 1067c478bd9Sstevel@tonic-gate * compliance with all laws, regulations, orders, or other restrictions of the 1077c478bd9Sstevel@tonic-gate * U.S. Export Administration Regulations. Licensee agrees that neither it nor 1087c478bd9Sstevel@tonic-gate * any of its subsidiaries will export/re-export any technical data, process, 1097c478bd9Sstevel@tonic-gate * software, or service, directly or indirectly, to any country for which the 1107c478bd9Sstevel@tonic-gate * United States government or any agency thereof requires an export license, 1117c478bd9Sstevel@tonic-gate * other governmental approval, or letter of assurance, without first obtaining 1127c478bd9Sstevel@tonic-gate * such license, approval or letter. 1137c478bd9Sstevel@tonic-gate * 1147c478bd9Sstevel@tonic-gate *****************************************************************************/ 1157c478bd9Sstevel@tonic-gate 1167c478bd9Sstevel@tonic-gate #ifndef __ACEVENTS_H__ 1177c478bd9Sstevel@tonic-gate #define __ACEVENTS_H__ 1187c478bd9Sstevel@tonic-gate 1197c478bd9Sstevel@tonic-gate 1207c478bd9Sstevel@tonic-gate /* 1217c478bd9Sstevel@tonic-gate * evevent 1227c478bd9Sstevel@tonic-gate */ 1237c478bd9Sstevel@tonic-gate ACPI_STATUS 1247c478bd9Sstevel@tonic-gate AcpiEvInitializeEvents ( 1257c478bd9Sstevel@tonic-gate void); 1267c478bd9Sstevel@tonic-gate 1277c478bd9Sstevel@tonic-gate ACPI_STATUS 1287c478bd9Sstevel@tonic-gate AcpiEvInstallXruptHandlers ( 1297c478bd9Sstevel@tonic-gate void); 1307c478bd9Sstevel@tonic-gate 13130082d0cSmyers ACPI_STATUS 13230082d0cSmyers AcpiEvInstallFadtGpes ( 13330082d0cSmyers void); 13430082d0cSmyers 1357c478bd9Sstevel@tonic-gate UINT32 1367c478bd9Sstevel@tonic-gate AcpiEvFixedEventDetect ( 1377c478bd9Sstevel@tonic-gate void); 1387c478bd9Sstevel@tonic-gate 1397c478bd9Sstevel@tonic-gate 1407c478bd9Sstevel@tonic-gate /* 1417c478bd9Sstevel@tonic-gate * evmisc 1427c478bd9Sstevel@tonic-gate */ 1437c478bd9Sstevel@tonic-gate BOOLEAN 1447c478bd9Sstevel@tonic-gate AcpiEvIsNotifyObject ( 1457c478bd9Sstevel@tonic-gate ACPI_NAMESPACE_NODE *Node); 1467c478bd9Sstevel@tonic-gate 1477c478bd9Sstevel@tonic-gate ACPI_STATUS 1487c478bd9Sstevel@tonic-gate AcpiEvAcquireGlobalLock( 1497c478bd9Sstevel@tonic-gate UINT16 Timeout); 1507c478bd9Sstevel@tonic-gate 1517c478bd9Sstevel@tonic-gate ACPI_STATUS 1527c478bd9Sstevel@tonic-gate AcpiEvReleaseGlobalLock( 1537c478bd9Sstevel@tonic-gate void); 1547c478bd9Sstevel@tonic-gate 1557c478bd9Sstevel@tonic-gate ACPI_STATUS 1567c478bd9Sstevel@tonic-gate AcpiEvInitGlobalLockHandler ( 1577c478bd9Sstevel@tonic-gate void); 1587c478bd9Sstevel@tonic-gate 1597c478bd9Sstevel@tonic-gate UINT32 1607c478bd9Sstevel@tonic-gate AcpiEvGetGpeNumberIndex ( 1617c478bd9Sstevel@tonic-gate UINT32 GpeNumber); 1627c478bd9Sstevel@tonic-gate 1637c478bd9Sstevel@tonic-gate ACPI_STATUS 1647c478bd9Sstevel@tonic-gate AcpiEvQueueNotifyRequest ( 1657c478bd9Sstevel@tonic-gate ACPI_NAMESPACE_NODE *Node, 1667c478bd9Sstevel@tonic-gate UINT32 NotifyValue); 1677c478bd9Sstevel@tonic-gate 1687c478bd9Sstevel@tonic-gate 1697c478bd9Sstevel@tonic-gate /* 1707c478bd9Sstevel@tonic-gate * evgpe - GPE handling and dispatch 1717c478bd9Sstevel@tonic-gate */ 1727c478bd9Sstevel@tonic-gate ACPI_STATUS 1737c478bd9Sstevel@tonic-gate AcpiEvUpdateGpeEnableMasks ( 1747c478bd9Sstevel@tonic-gate ACPI_GPE_EVENT_INFO *GpeEventInfo, 1757c478bd9Sstevel@tonic-gate UINT8 Type); 1767c478bd9Sstevel@tonic-gate 1777c478bd9Sstevel@tonic-gate ACPI_STATUS 1787c478bd9Sstevel@tonic-gate AcpiEvEnableGpe ( 1797c478bd9Sstevel@tonic-gate ACPI_GPE_EVENT_INFO *GpeEventInfo, 1807c478bd9Sstevel@tonic-gate BOOLEAN WriteToHardware); 1817c478bd9Sstevel@tonic-gate 1827c478bd9Sstevel@tonic-gate ACPI_STATUS 1837c478bd9Sstevel@tonic-gate AcpiEvDisableGpe ( 1847c478bd9Sstevel@tonic-gate ACPI_GPE_EVENT_INFO *GpeEventInfo); 1857c478bd9Sstevel@tonic-gate 1867c478bd9Sstevel@tonic-gate ACPI_GPE_EVENT_INFO * 1877c478bd9Sstevel@tonic-gate AcpiEvGetGpeEventInfo ( 1887c478bd9Sstevel@tonic-gate ACPI_HANDLE GpeDevice, 1897c478bd9Sstevel@tonic-gate UINT32 GpeNumber); 1907c478bd9Sstevel@tonic-gate 1917c478bd9Sstevel@tonic-gate 1927c478bd9Sstevel@tonic-gate /* 1937c478bd9Sstevel@tonic-gate * evgpeblk 1947c478bd9Sstevel@tonic-gate */ 1957c478bd9Sstevel@tonic-gate BOOLEAN 1967c478bd9Sstevel@tonic-gate AcpiEvValidGpeEvent ( 1977c478bd9Sstevel@tonic-gate ACPI_GPE_EVENT_INFO *GpeEventInfo); 1987c478bd9Sstevel@tonic-gate 1997c478bd9Sstevel@tonic-gate ACPI_STATUS 2007c478bd9Sstevel@tonic-gate AcpiEvWalkGpeList ( 201*aa2aa9a6SDana Myers ACPI_GPE_CALLBACK GpeWalkCallback, 202*aa2aa9a6SDana Myers void *Context); 2037c478bd9Sstevel@tonic-gate 2047c478bd9Sstevel@tonic-gate ACPI_STATUS 2057c478bd9Sstevel@tonic-gate AcpiEvDeleteGpeHandlers ( 2067c478bd9Sstevel@tonic-gate ACPI_GPE_XRUPT_INFO *GpeXruptInfo, 207*aa2aa9a6SDana Myers ACPI_GPE_BLOCK_INFO *GpeBlock, 208*aa2aa9a6SDana Myers void *Context); 2097c478bd9Sstevel@tonic-gate 2107c478bd9Sstevel@tonic-gate ACPI_STATUS 2117c478bd9Sstevel@tonic-gate AcpiEvCreateGpeBlock ( 2127c478bd9Sstevel@tonic-gate ACPI_NAMESPACE_NODE *GpeDevice, 2137c478bd9Sstevel@tonic-gate ACPI_GENERIC_ADDRESS *GpeBlockAddress, 2147c478bd9Sstevel@tonic-gate UINT32 RegisterCount, 2157c478bd9Sstevel@tonic-gate UINT8 GpeBlockBaseNumber, 216450d6964Smyers UINT32 InterruptNumber, 2177c478bd9Sstevel@tonic-gate ACPI_GPE_BLOCK_INFO **ReturnGpeBlock); 2187c478bd9Sstevel@tonic-gate 21930082d0cSmyers ACPI_STATUS 22030082d0cSmyers AcpiEvInitializeGpeBlock ( 22130082d0cSmyers ACPI_NAMESPACE_NODE *GpeDevice, 22230082d0cSmyers ACPI_GPE_BLOCK_INFO *GpeBlock); 22330082d0cSmyers 2247c478bd9Sstevel@tonic-gate ACPI_STATUS 2257c478bd9Sstevel@tonic-gate AcpiEvDeleteGpeBlock ( 2267c478bd9Sstevel@tonic-gate ACPI_GPE_BLOCK_INFO *GpeBlock); 2277c478bd9Sstevel@tonic-gate 2287c478bd9Sstevel@tonic-gate UINT32 2297c478bd9Sstevel@tonic-gate AcpiEvGpeDispatch ( 2307c478bd9Sstevel@tonic-gate ACPI_GPE_EVENT_INFO *GpeEventInfo, 2317c478bd9Sstevel@tonic-gate UINT32 GpeNumber); 2327c478bd9Sstevel@tonic-gate 2337c478bd9Sstevel@tonic-gate UINT32 2347c478bd9Sstevel@tonic-gate AcpiEvGpeDetect ( 2357c478bd9Sstevel@tonic-gate ACPI_GPE_XRUPT_INFO *GpeXruptList); 2367c478bd9Sstevel@tonic-gate 2377c478bd9Sstevel@tonic-gate ACPI_STATUS 2387c478bd9Sstevel@tonic-gate AcpiEvSetGpeType ( 2397c478bd9Sstevel@tonic-gate ACPI_GPE_EVENT_INFO *GpeEventInfo, 2407c478bd9Sstevel@tonic-gate UINT8 Type); 2417c478bd9Sstevel@tonic-gate 2427c478bd9Sstevel@tonic-gate ACPI_STATUS 2437c478bd9Sstevel@tonic-gate AcpiEvCheckForWakeOnlyGpe ( 2447c478bd9Sstevel@tonic-gate ACPI_GPE_EVENT_INFO *GpeEventInfo); 2457c478bd9Sstevel@tonic-gate 2467c478bd9Sstevel@tonic-gate ACPI_STATUS 2477c478bd9Sstevel@tonic-gate AcpiEvGpeInitialize ( 2487c478bd9Sstevel@tonic-gate void); 2497c478bd9Sstevel@tonic-gate 2507c478bd9Sstevel@tonic-gate 2517c478bd9Sstevel@tonic-gate /* 2527c478bd9Sstevel@tonic-gate * evregion - Address Space handling 2537c478bd9Sstevel@tonic-gate */ 2547c478bd9Sstevel@tonic-gate ACPI_STATUS 2557c478bd9Sstevel@tonic-gate AcpiEvInstallRegionHandlers ( 2567c478bd9Sstevel@tonic-gate void); 2577c478bd9Sstevel@tonic-gate 2587c478bd9Sstevel@tonic-gate ACPI_STATUS 2597c478bd9Sstevel@tonic-gate AcpiEvInitializeOpRegions ( 2607c478bd9Sstevel@tonic-gate void); 2617c478bd9Sstevel@tonic-gate 2627c478bd9Sstevel@tonic-gate ACPI_STATUS 2637c478bd9Sstevel@tonic-gate AcpiEvAddressSpaceDispatch ( 2647c478bd9Sstevel@tonic-gate ACPI_OPERAND_OBJECT *RegionObj, 2657c478bd9Sstevel@tonic-gate UINT32 Function, 266*aa2aa9a6SDana Myers UINT32 RegionOffset, 2677c478bd9Sstevel@tonic-gate UINT32 BitWidth, 26827f7c583Smyers ACPI_INTEGER *Value); 2697c478bd9Sstevel@tonic-gate 2707c478bd9Sstevel@tonic-gate ACPI_STATUS 2717c478bd9Sstevel@tonic-gate AcpiEvAttachRegion ( 2727c478bd9Sstevel@tonic-gate ACPI_OPERAND_OBJECT *HandlerObj, 2737c478bd9Sstevel@tonic-gate ACPI_OPERAND_OBJECT *RegionObj, 2747c478bd9Sstevel@tonic-gate BOOLEAN AcpiNsIsLocked); 2757c478bd9Sstevel@tonic-gate 2767c478bd9Sstevel@tonic-gate void 2777c478bd9Sstevel@tonic-gate AcpiEvDetachRegion ( 2787c478bd9Sstevel@tonic-gate ACPI_OPERAND_OBJECT *RegionObj, 2797c478bd9Sstevel@tonic-gate BOOLEAN AcpiNsIsLocked); 2807c478bd9Sstevel@tonic-gate 2817c478bd9Sstevel@tonic-gate ACPI_STATUS 2827c478bd9Sstevel@tonic-gate AcpiEvInstallSpaceHandler ( 2837c478bd9Sstevel@tonic-gate ACPI_NAMESPACE_NODE *Node, 2847c478bd9Sstevel@tonic-gate ACPI_ADR_SPACE_TYPE SpaceId, 2857c478bd9Sstevel@tonic-gate ACPI_ADR_SPACE_HANDLER Handler, 2867c478bd9Sstevel@tonic-gate ACPI_ADR_SPACE_SETUP Setup, 2877c478bd9Sstevel@tonic-gate void *Context); 2887c478bd9Sstevel@tonic-gate 2897c478bd9Sstevel@tonic-gate ACPI_STATUS 2907c478bd9Sstevel@tonic-gate AcpiEvExecuteRegMethods ( 2917c478bd9Sstevel@tonic-gate ACPI_NAMESPACE_NODE *Node, 2927c478bd9Sstevel@tonic-gate ACPI_ADR_SPACE_TYPE SpaceId); 2937c478bd9Sstevel@tonic-gate 2947c478bd9Sstevel@tonic-gate ACPI_STATUS 2957c478bd9Sstevel@tonic-gate AcpiEvExecuteRegMethod ( 2967c478bd9Sstevel@tonic-gate ACPI_OPERAND_OBJECT *RegionObj, 2977c478bd9Sstevel@tonic-gate UINT32 Function); 2987c478bd9Sstevel@tonic-gate 2997c478bd9Sstevel@tonic-gate 3007c478bd9Sstevel@tonic-gate /* 3017c478bd9Sstevel@tonic-gate * evregini - Region initialization and setup 3027c478bd9Sstevel@tonic-gate */ 3037c478bd9Sstevel@tonic-gate ACPI_STATUS 3047c478bd9Sstevel@tonic-gate AcpiEvSystemMemoryRegionSetup ( 3057c478bd9Sstevel@tonic-gate ACPI_HANDLE Handle, 3067c478bd9Sstevel@tonic-gate UINT32 Function, 3077c478bd9Sstevel@tonic-gate void *HandlerContext, 3087c478bd9Sstevel@tonic-gate void **RegionContext); 3097c478bd9Sstevel@tonic-gate 3107c478bd9Sstevel@tonic-gate ACPI_STATUS 3117c478bd9Sstevel@tonic-gate AcpiEvIoSpaceRegionSetup ( 3127c478bd9Sstevel@tonic-gate ACPI_HANDLE Handle, 3137c478bd9Sstevel@tonic-gate UINT32 Function, 3147c478bd9Sstevel@tonic-gate void *HandlerContext, 3157c478bd9Sstevel@tonic-gate void **RegionContext); 3167c478bd9Sstevel@tonic-gate 3177c478bd9Sstevel@tonic-gate ACPI_STATUS 3187c478bd9Sstevel@tonic-gate AcpiEvPciConfigRegionSetup ( 3197c478bd9Sstevel@tonic-gate ACPI_HANDLE Handle, 3207c478bd9Sstevel@tonic-gate UINT32 Function, 3217c478bd9Sstevel@tonic-gate void *HandlerContext, 3227c478bd9Sstevel@tonic-gate void **RegionContext); 3237c478bd9Sstevel@tonic-gate 3247c478bd9Sstevel@tonic-gate ACPI_STATUS 3257c478bd9Sstevel@tonic-gate AcpiEvCmosRegionSetup ( 3267c478bd9Sstevel@tonic-gate ACPI_HANDLE Handle, 3277c478bd9Sstevel@tonic-gate UINT32 Function, 3287c478bd9Sstevel@tonic-gate void *HandlerContext, 3297c478bd9Sstevel@tonic-gate void **RegionContext); 3307c478bd9Sstevel@tonic-gate 3317c478bd9Sstevel@tonic-gate ACPI_STATUS 3327c478bd9Sstevel@tonic-gate AcpiEvPciBarRegionSetup ( 3337c478bd9Sstevel@tonic-gate ACPI_HANDLE Handle, 3347c478bd9Sstevel@tonic-gate UINT32 Function, 3357c478bd9Sstevel@tonic-gate void *HandlerContext, 3367c478bd9Sstevel@tonic-gate void **RegionContext); 3377c478bd9Sstevel@tonic-gate 3387c478bd9Sstevel@tonic-gate ACPI_STATUS 3397c478bd9Sstevel@tonic-gate AcpiEvDefaultRegionSetup ( 3407c478bd9Sstevel@tonic-gate ACPI_HANDLE Handle, 3417c478bd9Sstevel@tonic-gate UINT32 Function, 3427c478bd9Sstevel@tonic-gate void *HandlerContext, 3437c478bd9Sstevel@tonic-gate void **RegionContext); 3447c478bd9Sstevel@tonic-gate 3457c478bd9Sstevel@tonic-gate ACPI_STATUS 3467c478bd9Sstevel@tonic-gate AcpiEvInitializeRegion ( 3477c478bd9Sstevel@tonic-gate ACPI_OPERAND_OBJECT *RegionObj, 3487c478bd9Sstevel@tonic-gate BOOLEAN AcpiNsLocked); 3497c478bd9Sstevel@tonic-gate 3507c478bd9Sstevel@tonic-gate 3517c478bd9Sstevel@tonic-gate /* 3527c478bd9Sstevel@tonic-gate * evsci - SCI (System Control Interrupt) handling/dispatch 3537c478bd9Sstevel@tonic-gate */ 3547c478bd9Sstevel@tonic-gate UINT32 ACPI_SYSTEM_XFACE 3557c478bd9Sstevel@tonic-gate AcpiEvGpeXruptHandler ( 3567c478bd9Sstevel@tonic-gate void *Context); 3577c478bd9Sstevel@tonic-gate 3587c478bd9Sstevel@tonic-gate UINT32 3597c478bd9Sstevel@tonic-gate AcpiEvInstallSciHandler ( 3607c478bd9Sstevel@tonic-gate void); 3617c478bd9Sstevel@tonic-gate 3627c478bd9Sstevel@tonic-gate ACPI_STATUS 3637c478bd9Sstevel@tonic-gate AcpiEvRemoveSciHandler ( 3647c478bd9Sstevel@tonic-gate void); 3657c478bd9Sstevel@tonic-gate 3667c478bd9Sstevel@tonic-gate UINT32 3677c478bd9Sstevel@tonic-gate AcpiEvInitializeSCI ( 3687c478bd9Sstevel@tonic-gate UINT32 ProgramSCI); 3697c478bd9Sstevel@tonic-gate 3707c478bd9Sstevel@tonic-gate void 3717c478bd9Sstevel@tonic-gate AcpiEvTerminate ( 3727c478bd9Sstevel@tonic-gate void); 3737c478bd9Sstevel@tonic-gate 3747c478bd9Sstevel@tonic-gate 3757c478bd9Sstevel@tonic-gate #endif /* __ACEVENTS_H__ */ 376