xref: /titanic_52/usr/src/uts/intel/sys/acpi/acevents.h (revision 385cc6b4ad1792caef3f84eb61eed3f27085801f)
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 
726f3cdf0SGordon Ross /*
8*385cc6b4SJerry Jelinek  * Copyright (C) 2000 - 2016, Intel Corp.
97c478bd9Sstevel@tonic-gate  * All rights reserved.
107c478bd9Sstevel@tonic-gate  *
1126f3cdf0SGordon Ross  * Redistribution and use in source and binary forms, with or without
1226f3cdf0SGordon Ross  * modification, are permitted provided that the following conditions
1326f3cdf0SGordon Ross  * are met:
1426f3cdf0SGordon Ross  * 1. Redistributions of source code must retain the above copyright
1526f3cdf0SGordon Ross  *    notice, this list of conditions, and the following disclaimer,
1626f3cdf0SGordon Ross  *    without modification.
1726f3cdf0SGordon Ross  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
1826f3cdf0SGordon Ross  *    substantially similar to the "NO WARRANTY" disclaimer below
1926f3cdf0SGordon Ross  *    ("Disclaimer") and any redistribution must be conditioned upon
2026f3cdf0SGordon Ross  *    including a substantially similar Disclaimer requirement for further
2126f3cdf0SGordon Ross  *    binary redistribution.
2226f3cdf0SGordon Ross  * 3. Neither the names of the above-listed copyright holders nor the names
2326f3cdf0SGordon Ross  *    of any contributors may be used to endorse or promote products derived
2426f3cdf0SGordon Ross  *    from this software without specific prior written permission.
257c478bd9Sstevel@tonic-gate  *
2626f3cdf0SGordon Ross  * Alternatively, this software may be distributed under the terms of the
2726f3cdf0SGordon Ross  * GNU General Public License ("GPL") version 2 as published by the Free
2826f3cdf0SGordon Ross  * Software Foundation.
297c478bd9Sstevel@tonic-gate  *
3026f3cdf0SGordon Ross  * NO WARRANTY
3126f3cdf0SGordon Ross  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
3226f3cdf0SGordon Ross  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
3326f3cdf0SGordon Ross  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
3426f3cdf0SGordon Ross  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
3526f3cdf0SGordon Ross  * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
3626f3cdf0SGordon Ross  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
3726f3cdf0SGordon Ross  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3826f3cdf0SGordon Ross  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
3926f3cdf0SGordon Ross  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
4026f3cdf0SGordon Ross  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
4126f3cdf0SGordon Ross  * POSSIBILITY OF SUCH DAMAGES.
4226f3cdf0SGordon Ross  */
437c478bd9Sstevel@tonic-gate 
447c478bd9Sstevel@tonic-gate #ifndef __ACEVENTS_H__
457c478bd9Sstevel@tonic-gate #define __ACEVENTS_H__
467c478bd9Sstevel@tonic-gate 
477c478bd9Sstevel@tonic-gate 
487c478bd9Sstevel@tonic-gate /*
497c478bd9Sstevel@tonic-gate  * evevent
507c478bd9Sstevel@tonic-gate  */
517c478bd9Sstevel@tonic-gate ACPI_STATUS
527c478bd9Sstevel@tonic-gate AcpiEvInitializeEvents (
537c478bd9Sstevel@tonic-gate     void);
547c478bd9Sstevel@tonic-gate 
557c478bd9Sstevel@tonic-gate ACPI_STATUS
567c478bd9Sstevel@tonic-gate AcpiEvInstallXruptHandlers (
577c478bd9Sstevel@tonic-gate     void);
587c478bd9Sstevel@tonic-gate 
597c478bd9Sstevel@tonic-gate UINT32
607c478bd9Sstevel@tonic-gate AcpiEvFixedEventDetect (
617c478bd9Sstevel@tonic-gate     void);
627c478bd9Sstevel@tonic-gate 
637c478bd9Sstevel@tonic-gate 
647c478bd9Sstevel@tonic-gate /*
657c478bd9Sstevel@tonic-gate  * evmisc
667c478bd9Sstevel@tonic-gate  */
677c478bd9Sstevel@tonic-gate BOOLEAN
687c478bd9Sstevel@tonic-gate AcpiEvIsNotifyObject (
697c478bd9Sstevel@tonic-gate     ACPI_NAMESPACE_NODE     *Node);
707c478bd9Sstevel@tonic-gate 
717c478bd9Sstevel@tonic-gate UINT32
727c478bd9Sstevel@tonic-gate AcpiEvGetGpeNumberIndex (
737c478bd9Sstevel@tonic-gate     UINT32                  GpeNumber);
747c478bd9Sstevel@tonic-gate 
757c478bd9Sstevel@tonic-gate ACPI_STATUS
767c478bd9Sstevel@tonic-gate AcpiEvQueueNotifyRequest (
777c478bd9Sstevel@tonic-gate     ACPI_NAMESPACE_NODE     *Node,
787c478bd9Sstevel@tonic-gate     UINT32                  NotifyValue);
797c478bd9Sstevel@tonic-gate 
807c478bd9Sstevel@tonic-gate 
817c478bd9Sstevel@tonic-gate /*
8226f3cdf0SGordon Ross  * evglock - Global Lock support
837c478bd9Sstevel@tonic-gate  */
847c478bd9Sstevel@tonic-gate ACPI_STATUS
8526f3cdf0SGordon Ross AcpiEvInitGlobalLockHandler (
8626f3cdf0SGordon Ross     void);
8726f3cdf0SGordon Ross 
88*385cc6b4SJerry Jelinek ACPI_HW_DEPENDENT_RETURN_OK (
8926f3cdf0SGordon Ross ACPI_STATUS
9026f3cdf0SGordon Ross AcpiEvAcquireGlobalLock(
91*385cc6b4SJerry Jelinek     UINT16                  Timeout))
9226f3cdf0SGordon Ross 
93*385cc6b4SJerry Jelinek ACPI_HW_DEPENDENT_RETURN_OK (
9426f3cdf0SGordon Ross ACPI_STATUS
9526f3cdf0SGordon Ross AcpiEvReleaseGlobalLock(
96*385cc6b4SJerry Jelinek     void))
9726f3cdf0SGordon Ross 
9826f3cdf0SGordon Ross ACPI_STATUS
9926f3cdf0SGordon Ross AcpiEvRemoveGlobalLockHandler (
10026f3cdf0SGordon Ross     void);
10126f3cdf0SGordon Ross 
10226f3cdf0SGordon Ross 
10326f3cdf0SGordon Ross /*
10426f3cdf0SGordon Ross  * evgpe - Low-level GPE support
10526f3cdf0SGordon Ross  */
10626f3cdf0SGordon Ross UINT32
10726f3cdf0SGordon Ross AcpiEvGpeDetect (
10826f3cdf0SGordon Ross     ACPI_GPE_XRUPT_INFO     *GpeXruptList);
10926f3cdf0SGordon Ross 
11026f3cdf0SGordon Ross ACPI_STATUS
11126f3cdf0SGordon Ross AcpiEvUpdateGpeEnableMask (
11226f3cdf0SGordon Ross     ACPI_GPE_EVENT_INFO     *GpeEventInfo);
1137c478bd9Sstevel@tonic-gate 
1147c478bd9Sstevel@tonic-gate ACPI_STATUS
1157c478bd9Sstevel@tonic-gate AcpiEvEnableGpe (
11626f3cdf0SGordon Ross     ACPI_GPE_EVENT_INFO     *GpeEventInfo);
1177c478bd9Sstevel@tonic-gate 
1187c478bd9Sstevel@tonic-gate ACPI_STATUS
11926f3cdf0SGordon Ross AcpiEvAddGpeReference (
12026f3cdf0SGordon Ross     ACPI_GPE_EVENT_INFO     *GpeEventInfo);
12126f3cdf0SGordon Ross 
12226f3cdf0SGordon Ross ACPI_STATUS
12326f3cdf0SGordon Ross AcpiEvRemoveGpeReference (
1247c478bd9Sstevel@tonic-gate     ACPI_GPE_EVENT_INFO     *GpeEventInfo);
1257c478bd9Sstevel@tonic-gate 
1267c478bd9Sstevel@tonic-gate ACPI_GPE_EVENT_INFO *
1277c478bd9Sstevel@tonic-gate AcpiEvGetGpeEventInfo (
1287c478bd9Sstevel@tonic-gate     ACPI_HANDLE             GpeDevice,
1297c478bd9Sstevel@tonic-gate     UINT32                  GpeNumber);
1307c478bd9Sstevel@tonic-gate 
13126f3cdf0SGordon Ross ACPI_GPE_EVENT_INFO *
13226f3cdf0SGordon Ross AcpiEvLowGetGpeInfo (
13326f3cdf0SGordon Ross     UINT32                  GpeNumber,
13426f3cdf0SGordon Ross     ACPI_GPE_BLOCK_INFO     *GpeBlock);
1357c478bd9Sstevel@tonic-gate 
13626f3cdf0SGordon Ross ACPI_STATUS
13726f3cdf0SGordon Ross AcpiEvFinishGpe (
1387c478bd9Sstevel@tonic-gate     ACPI_GPE_EVENT_INFO     *GpeEventInfo);
1397c478bd9Sstevel@tonic-gate 
1407c478bd9Sstevel@tonic-gate 
14126f3cdf0SGordon Ross /*
14226f3cdf0SGordon Ross  * evgpeblk - Upper-level GPE block support
14326f3cdf0SGordon Ross  */
1447c478bd9Sstevel@tonic-gate ACPI_STATUS
1457c478bd9Sstevel@tonic-gate AcpiEvCreateGpeBlock (
1467c478bd9Sstevel@tonic-gate     ACPI_NAMESPACE_NODE     *GpeDevice,
147*385cc6b4SJerry Jelinek     UINT64                  Address,
148*385cc6b4SJerry Jelinek     UINT8                   SpaceId,
1497c478bd9Sstevel@tonic-gate     UINT32                  RegisterCount,
150*385cc6b4SJerry Jelinek     UINT16                  GpeBlockBaseNumber,
151450d6964Smyers     UINT32                  InterruptNumber,
1527c478bd9Sstevel@tonic-gate     ACPI_GPE_BLOCK_INFO     **ReturnGpeBlock);
1537c478bd9Sstevel@tonic-gate 
1547c478bd9Sstevel@tonic-gate ACPI_STATUS
15530082d0cSmyers AcpiEvInitializeGpeBlock (
15626f3cdf0SGordon Ross     ACPI_GPE_XRUPT_INFO     *GpeXruptInfo,
15726f3cdf0SGordon Ross     ACPI_GPE_BLOCK_INFO     *GpeBlock,
15826f3cdf0SGordon Ross     void                    *Context);
15930082d0cSmyers 
160*385cc6b4SJerry Jelinek ACPI_HW_DEPENDENT_RETURN_OK (
16130082d0cSmyers ACPI_STATUS
1627c478bd9Sstevel@tonic-gate AcpiEvDeleteGpeBlock (
163*385cc6b4SJerry Jelinek     ACPI_GPE_BLOCK_INFO     *GpeBlock))
1647c478bd9Sstevel@tonic-gate 
1657c478bd9Sstevel@tonic-gate UINT32
1667c478bd9Sstevel@tonic-gate AcpiEvGpeDispatch (
16726f3cdf0SGordon Ross     ACPI_NAMESPACE_NODE     *GpeDevice,
1687c478bd9Sstevel@tonic-gate     ACPI_GPE_EVENT_INFO     *GpeEventInfo,
1697c478bd9Sstevel@tonic-gate     UINT32                  GpeNumber);
1707c478bd9Sstevel@tonic-gate 
171*385cc6b4SJerry Jelinek 
17226f3cdf0SGordon Ross /*
17326f3cdf0SGordon Ross  * evgpeinit - GPE initialization and update
17426f3cdf0SGordon Ross  */
1757c478bd9Sstevel@tonic-gate ACPI_STATUS
1767c478bd9Sstevel@tonic-gate AcpiEvGpeInitialize (
1777c478bd9Sstevel@tonic-gate     void);
1787c478bd9Sstevel@tonic-gate 
179*385cc6b4SJerry Jelinek ACPI_HW_DEPENDENT_RETURN_VOID (
18026f3cdf0SGordon Ross void
18126f3cdf0SGordon Ross AcpiEvUpdateGpes (
182*385cc6b4SJerry Jelinek     ACPI_OWNER_ID           TableOwnerId))
18326f3cdf0SGordon Ross 
18426f3cdf0SGordon Ross ACPI_STATUS
18526f3cdf0SGordon Ross AcpiEvMatchGpeMethod (
18626f3cdf0SGordon Ross     ACPI_HANDLE             ObjHandle,
18726f3cdf0SGordon Ross     UINT32                  Level,
18826f3cdf0SGordon Ross     void                    *Context,
18926f3cdf0SGordon Ross     void                    **ReturnValue);
19026f3cdf0SGordon Ross 
191*385cc6b4SJerry Jelinek 
19226f3cdf0SGordon Ross /*
19326f3cdf0SGordon Ross  * evgpeutil - GPE utilities
19426f3cdf0SGordon Ross  */
19526f3cdf0SGordon Ross ACPI_STATUS
19626f3cdf0SGordon Ross AcpiEvWalkGpeList (
19726f3cdf0SGordon Ross     ACPI_GPE_CALLBACK       GpeWalkCallback,
19826f3cdf0SGordon Ross     void                    *Context);
19926f3cdf0SGordon Ross 
20026f3cdf0SGordon Ross ACPI_STATUS
20126f3cdf0SGordon Ross AcpiEvGetGpeDevice (
20226f3cdf0SGordon Ross     ACPI_GPE_XRUPT_INFO     *GpeXruptInfo,
20326f3cdf0SGordon Ross     ACPI_GPE_BLOCK_INFO     *GpeBlock,
20426f3cdf0SGordon Ross     void                    *Context);
20526f3cdf0SGordon Ross 
206*385cc6b4SJerry Jelinek ACPI_STATUS
20726f3cdf0SGordon Ross AcpiEvGetGpeXruptBlock (
208*385cc6b4SJerry Jelinek     UINT32                  InterruptNumber,
209*385cc6b4SJerry Jelinek     ACPI_GPE_XRUPT_INFO     **GpeXruptBlock);
21026f3cdf0SGordon Ross 
21126f3cdf0SGordon Ross ACPI_STATUS
21226f3cdf0SGordon Ross AcpiEvDeleteGpeXrupt (
21326f3cdf0SGordon Ross     ACPI_GPE_XRUPT_INFO     *GpeXrupt);
21426f3cdf0SGordon Ross 
21526f3cdf0SGordon Ross ACPI_STATUS
21626f3cdf0SGordon Ross AcpiEvDeleteGpeHandlers (
21726f3cdf0SGordon Ross     ACPI_GPE_XRUPT_INFO     *GpeXruptInfo,
21826f3cdf0SGordon Ross     ACPI_GPE_BLOCK_INFO     *GpeBlock,
21926f3cdf0SGordon Ross     void                    *Context);
22026f3cdf0SGordon Ross 
2217c478bd9Sstevel@tonic-gate 
2227c478bd9Sstevel@tonic-gate /*
223*385cc6b4SJerry Jelinek  * evhandler - Address space handling
2247c478bd9Sstevel@tonic-gate  */
225*385cc6b4SJerry Jelinek ACPI_OPERAND_OBJECT *
226*385cc6b4SJerry Jelinek AcpiEvFindRegionHandler (
227*385cc6b4SJerry Jelinek     ACPI_ADR_SPACE_TYPE     SpaceId,
228*385cc6b4SJerry Jelinek     ACPI_OPERAND_OBJECT     *HandlerObj);
229*385cc6b4SJerry Jelinek 
230*385cc6b4SJerry Jelinek BOOLEAN
231*385cc6b4SJerry Jelinek AcpiEvHasDefaultHandler (
232*385cc6b4SJerry Jelinek     ACPI_NAMESPACE_NODE     *Node,
233*385cc6b4SJerry Jelinek     ACPI_ADR_SPACE_TYPE     SpaceId);
234*385cc6b4SJerry Jelinek 
2357c478bd9Sstevel@tonic-gate ACPI_STATUS
2367c478bd9Sstevel@tonic-gate AcpiEvInstallRegionHandlers (
2377c478bd9Sstevel@tonic-gate     void);
2387c478bd9Sstevel@tonic-gate 
2397c478bd9Sstevel@tonic-gate ACPI_STATUS
240*385cc6b4SJerry Jelinek AcpiEvInstallSpaceHandler (
241*385cc6b4SJerry Jelinek     ACPI_NAMESPACE_NODE     *Node,
242*385cc6b4SJerry Jelinek     ACPI_ADR_SPACE_TYPE     SpaceId,
243*385cc6b4SJerry Jelinek     ACPI_ADR_SPACE_HANDLER  Handler,
244*385cc6b4SJerry Jelinek     ACPI_ADR_SPACE_SETUP    Setup,
245*385cc6b4SJerry Jelinek     void                    *Context);
246*385cc6b4SJerry Jelinek 
247*385cc6b4SJerry Jelinek 
248*385cc6b4SJerry Jelinek /*
249*385cc6b4SJerry Jelinek  * evregion - Operation region support
250*385cc6b4SJerry Jelinek  */
251*385cc6b4SJerry Jelinek ACPI_STATUS
2527c478bd9Sstevel@tonic-gate AcpiEvInitializeOpRegions (
2537c478bd9Sstevel@tonic-gate     void);
2547c478bd9Sstevel@tonic-gate 
2557c478bd9Sstevel@tonic-gate ACPI_STATUS
2567c478bd9Sstevel@tonic-gate AcpiEvAddressSpaceDispatch (
2577c478bd9Sstevel@tonic-gate     ACPI_OPERAND_OBJECT     *RegionObj,
258*385cc6b4SJerry Jelinek     ACPI_OPERAND_OBJECT     *FieldObj,
2597c478bd9Sstevel@tonic-gate     UINT32                  Function,
260aa2aa9a6SDana Myers     UINT32                  RegionOffset,
2617c478bd9Sstevel@tonic-gate     UINT32                  BitWidth,
26226f3cdf0SGordon Ross     UINT64                  *Value);
2637c478bd9Sstevel@tonic-gate 
2647c478bd9Sstevel@tonic-gate ACPI_STATUS
2657c478bd9Sstevel@tonic-gate AcpiEvAttachRegion (
2667c478bd9Sstevel@tonic-gate     ACPI_OPERAND_OBJECT     *HandlerObj,
2677c478bd9Sstevel@tonic-gate     ACPI_OPERAND_OBJECT     *RegionObj,
2687c478bd9Sstevel@tonic-gate     BOOLEAN                 AcpiNsIsLocked);
2697c478bd9Sstevel@tonic-gate 
2707c478bd9Sstevel@tonic-gate void
2717c478bd9Sstevel@tonic-gate AcpiEvDetachRegion (
2727c478bd9Sstevel@tonic-gate     ACPI_OPERAND_OBJECT     *RegionObj,
2737c478bd9Sstevel@tonic-gate     BOOLEAN                 AcpiNsIsLocked);
2747c478bd9Sstevel@tonic-gate 
275*385cc6b4SJerry Jelinek void
2767c478bd9Sstevel@tonic-gate AcpiEvExecuteRegMethods (
2777c478bd9Sstevel@tonic-gate     ACPI_NAMESPACE_NODE     *Node,
278*385cc6b4SJerry Jelinek     ACPI_ADR_SPACE_TYPE     SpaceId,
279*385cc6b4SJerry Jelinek     UINT32                  Function);
2807c478bd9Sstevel@tonic-gate 
2817c478bd9Sstevel@tonic-gate ACPI_STATUS
2827c478bd9Sstevel@tonic-gate AcpiEvExecuteRegMethod (
2837c478bd9Sstevel@tonic-gate     ACPI_OPERAND_OBJECT     *RegionObj,
2847c478bd9Sstevel@tonic-gate     UINT32                  Function);
2857c478bd9Sstevel@tonic-gate 
2867c478bd9Sstevel@tonic-gate 
2877c478bd9Sstevel@tonic-gate /*
2887c478bd9Sstevel@tonic-gate  * evregini - Region initialization and setup
2897c478bd9Sstevel@tonic-gate  */
2907c478bd9Sstevel@tonic-gate ACPI_STATUS
2917c478bd9Sstevel@tonic-gate AcpiEvSystemMemoryRegionSetup (
2927c478bd9Sstevel@tonic-gate     ACPI_HANDLE             Handle,
2937c478bd9Sstevel@tonic-gate     UINT32                  Function,
2947c478bd9Sstevel@tonic-gate     void                    *HandlerContext,
2957c478bd9Sstevel@tonic-gate     void                    **RegionContext);
2967c478bd9Sstevel@tonic-gate 
2977c478bd9Sstevel@tonic-gate ACPI_STATUS
2987c478bd9Sstevel@tonic-gate AcpiEvIoSpaceRegionSetup (
2997c478bd9Sstevel@tonic-gate     ACPI_HANDLE             Handle,
3007c478bd9Sstevel@tonic-gate     UINT32                  Function,
3017c478bd9Sstevel@tonic-gate     void                    *HandlerContext,
3027c478bd9Sstevel@tonic-gate     void                    **RegionContext);
3037c478bd9Sstevel@tonic-gate 
3047c478bd9Sstevel@tonic-gate ACPI_STATUS
3057c478bd9Sstevel@tonic-gate AcpiEvPciConfigRegionSetup (
3067c478bd9Sstevel@tonic-gate     ACPI_HANDLE             Handle,
3077c478bd9Sstevel@tonic-gate     UINT32                  Function,
3087c478bd9Sstevel@tonic-gate     void                    *HandlerContext,
3097c478bd9Sstevel@tonic-gate     void                    **RegionContext);
3107c478bd9Sstevel@tonic-gate 
3117c478bd9Sstevel@tonic-gate ACPI_STATUS
3127c478bd9Sstevel@tonic-gate AcpiEvCmosRegionSetup (
3137c478bd9Sstevel@tonic-gate     ACPI_HANDLE             Handle,
3147c478bd9Sstevel@tonic-gate     UINT32                  Function,
3157c478bd9Sstevel@tonic-gate     void                    *HandlerContext,
3167c478bd9Sstevel@tonic-gate     void                    **RegionContext);
3177c478bd9Sstevel@tonic-gate 
3187c478bd9Sstevel@tonic-gate ACPI_STATUS
3197c478bd9Sstevel@tonic-gate AcpiEvPciBarRegionSetup (
3207c478bd9Sstevel@tonic-gate     ACPI_HANDLE             Handle,
3217c478bd9Sstevel@tonic-gate     UINT32                  Function,
3227c478bd9Sstevel@tonic-gate     void                    *HandlerContext,
3237c478bd9Sstevel@tonic-gate     void                    **RegionContext);
3247c478bd9Sstevel@tonic-gate 
3257c478bd9Sstevel@tonic-gate ACPI_STATUS
3267c478bd9Sstevel@tonic-gate AcpiEvDefaultRegionSetup (
3277c478bd9Sstevel@tonic-gate     ACPI_HANDLE             Handle,
3287c478bd9Sstevel@tonic-gate     UINT32                  Function,
3297c478bd9Sstevel@tonic-gate     void                    *HandlerContext,
3307c478bd9Sstevel@tonic-gate     void                    **RegionContext);
3317c478bd9Sstevel@tonic-gate 
3327c478bd9Sstevel@tonic-gate ACPI_STATUS
3337c478bd9Sstevel@tonic-gate AcpiEvInitializeRegion (
3347c478bd9Sstevel@tonic-gate     ACPI_OPERAND_OBJECT     *RegionObj,
3357c478bd9Sstevel@tonic-gate     BOOLEAN                 AcpiNsLocked);
3367c478bd9Sstevel@tonic-gate 
3377c478bd9Sstevel@tonic-gate 
3387c478bd9Sstevel@tonic-gate /*
3397c478bd9Sstevel@tonic-gate  * evsci - SCI (System Control Interrupt) handling/dispatch
3407c478bd9Sstevel@tonic-gate  */
3417c478bd9Sstevel@tonic-gate UINT32 ACPI_SYSTEM_XFACE
3427c478bd9Sstevel@tonic-gate AcpiEvGpeXruptHandler (
3437c478bd9Sstevel@tonic-gate     void                    *Context);
3447c478bd9Sstevel@tonic-gate 
3457c478bd9Sstevel@tonic-gate UINT32
346*385cc6b4SJerry Jelinek AcpiEvSciDispatch (
347*385cc6b4SJerry Jelinek     void);
348*385cc6b4SJerry Jelinek 
349*385cc6b4SJerry Jelinek UINT32
3507c478bd9Sstevel@tonic-gate AcpiEvInstallSciHandler (
3517c478bd9Sstevel@tonic-gate     void);
3527c478bd9Sstevel@tonic-gate 
3537c478bd9Sstevel@tonic-gate ACPI_STATUS
354*385cc6b4SJerry Jelinek AcpiEvRemoveAllSciHandlers (
3557c478bd9Sstevel@tonic-gate     void);
3567c478bd9Sstevel@tonic-gate 
357*385cc6b4SJerry Jelinek ACPI_HW_DEPENDENT_RETURN_VOID (
3587c478bd9Sstevel@tonic-gate void
3597c478bd9Sstevel@tonic-gate AcpiEvTerminate (
360*385cc6b4SJerry Jelinek     void))
3617c478bd9Sstevel@tonic-gate 
3627c478bd9Sstevel@tonic-gate #endif  /* __ACEVENTS_H__  */
363