xref: /onnv-gate/usr/src/uts/intel/sys/acpi/acresrc.h (revision 7851:e828bbb1689c)
10Sstevel@tonic-gate /******************************************************************************
20Sstevel@tonic-gate  *
30Sstevel@tonic-gate  * Name: acresrc.h - Resource Manager function prototypes
4*7851SDana.Myers@Sun.COM  *       $Revision: 1.62 $
50Sstevel@tonic-gate  *
60Sstevel@tonic-gate  *****************************************************************************/
70Sstevel@tonic-gate 
80Sstevel@tonic-gate /******************************************************************************
90Sstevel@tonic-gate  *
100Sstevel@tonic-gate  * 1. Copyright Notice
110Sstevel@tonic-gate  *
12*7851SDana.Myers@Sun.COM  * Some or all of this work - Copyright (c) 1999 - 2008, Intel Corp.
130Sstevel@tonic-gate  * All rights reserved.
140Sstevel@tonic-gate  *
150Sstevel@tonic-gate  * 2. License
160Sstevel@tonic-gate  *
170Sstevel@tonic-gate  * 2.1. This is your license from Intel Corp. under its intellectual property
180Sstevel@tonic-gate  * rights.  You may have additional license terms from the party that provided
190Sstevel@tonic-gate  * you this software, covering your right to use that party's intellectual
200Sstevel@tonic-gate  * property rights.
210Sstevel@tonic-gate  *
220Sstevel@tonic-gate  * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
230Sstevel@tonic-gate  * copy of the source code appearing in this file ("Covered Code") an
240Sstevel@tonic-gate  * irrevocable, perpetual, worldwide license under Intel's copyrights in the
250Sstevel@tonic-gate  * base code distributed originally by Intel ("Original Intel Code") to copy,
260Sstevel@tonic-gate 
270Sstevel@tonic-gate  * make derivatives, distribute, use and display any portion of the Covered
280Sstevel@tonic-gate  * Code in any form, with the right to sublicense such rights; and
290Sstevel@tonic-gate  *
300Sstevel@tonic-gate  * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
310Sstevel@tonic-gate  * license (with the right to sublicense), under only those claims of Intel
320Sstevel@tonic-gate  * patents that are infringed by the Original Intel Code, to make, use, sell,
330Sstevel@tonic-gate  * offer to sell, and import the Covered Code and derivative works thereof
340Sstevel@tonic-gate  * solely to the minimum extent necessary to exercise the above copyright
350Sstevel@tonic-gate  * license, and in no event shall the patent license extend to any additions
360Sstevel@tonic-gate  * to or modifications of the Original Intel Code.  No other license or right
370Sstevel@tonic-gate  * is granted directly or by implication, estoppel or otherwise;
380Sstevel@tonic-gate  *
390Sstevel@tonic-gate  * The above copyright and patent license is granted only if the following
400Sstevel@tonic-gate  * conditions are met:
410Sstevel@tonic-gate  *
420Sstevel@tonic-gate  * 3. Conditions
430Sstevel@tonic-gate  *
440Sstevel@tonic-gate  * 3.1. Redistribution of Source with Rights to Further Distribute Source.
450Sstevel@tonic-gate  * Redistribution of source code of any substantial portion of the Covered
460Sstevel@tonic-gate  * Code or modification with rights to further distribute source must include
470Sstevel@tonic-gate  * the above Copyright Notice, the above License, this list of Conditions,
480Sstevel@tonic-gate  * and the following Disclaimer and Export Compliance provision.  In addition,
490Sstevel@tonic-gate  * Licensee must cause all Covered Code to which Licensee contributes to
500Sstevel@tonic-gate  * contain a file documenting the changes Licensee made to create that Covered
510Sstevel@tonic-gate  * Code and the date of any change.  Licensee must include in that file the
520Sstevel@tonic-gate  * documentation of any changes made by any predecessor Licensee.  Licensee
530Sstevel@tonic-gate  * must include a prominent statement that the modification is derived,
540Sstevel@tonic-gate  * directly or indirectly, from Original Intel Code.
550Sstevel@tonic-gate  *
560Sstevel@tonic-gate  * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
570Sstevel@tonic-gate  * Redistribution of source code of any substantial portion of the Covered
580Sstevel@tonic-gate  * Code or modification without rights to further distribute source must
590Sstevel@tonic-gate  * include the following Disclaimer and Export Compliance provision in the
600Sstevel@tonic-gate  * documentation and/or other materials provided with distribution.  In
610Sstevel@tonic-gate  * addition, Licensee may not authorize further sublicense of source of any
620Sstevel@tonic-gate  * portion of the Covered Code, and must include terms to the effect that the
630Sstevel@tonic-gate  * license from Licensee to its licensee is limited to the intellectual
640Sstevel@tonic-gate  * property embodied in the software Licensee provides to its licensee, and
650Sstevel@tonic-gate  * not to intellectual property embodied in modifications its licensee may
660Sstevel@tonic-gate  * make.
670Sstevel@tonic-gate  *
680Sstevel@tonic-gate  * 3.3. Redistribution of Executable. Redistribution in executable form of any
690Sstevel@tonic-gate  * substantial portion of the Covered Code or modification must reproduce the
700Sstevel@tonic-gate  * above Copyright Notice, and the following Disclaimer and Export Compliance
710Sstevel@tonic-gate  * provision in the documentation and/or other materials provided with the
720Sstevel@tonic-gate  * distribution.
730Sstevel@tonic-gate  *
740Sstevel@tonic-gate  * 3.4. Intel retains all right, title, and interest in and to the Original
750Sstevel@tonic-gate  * Intel Code.
760Sstevel@tonic-gate  *
770Sstevel@tonic-gate  * 3.5. Neither the name Intel nor any other trademark owned or controlled by
780Sstevel@tonic-gate  * Intel shall be used in advertising or otherwise to promote the sale, use or
790Sstevel@tonic-gate  * other dealings in products derived from or relating to the Covered Code
800Sstevel@tonic-gate  * without prior written authorization from Intel.
810Sstevel@tonic-gate  *
820Sstevel@tonic-gate  * 4. Disclaimer and Export Compliance
830Sstevel@tonic-gate  *
840Sstevel@tonic-gate  * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
850Sstevel@tonic-gate  * HERE.  ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
860Sstevel@tonic-gate  * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT,  ASSISTANCE,
870Sstevel@tonic-gate  * INSTALLATION, TRAINING OR OTHER SERVICES.  INTEL WILL NOT PROVIDE ANY
880Sstevel@tonic-gate  * UPDATES, ENHANCEMENTS OR EXTENSIONS.  INTEL SPECIFICALLY DISCLAIMS ANY
890Sstevel@tonic-gate  * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
900Sstevel@tonic-gate  * PARTICULAR PURPOSE.
910Sstevel@tonic-gate  *
920Sstevel@tonic-gate  * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
930Sstevel@tonic-gate  * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
940Sstevel@tonic-gate  * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
950Sstevel@tonic-gate  * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
960Sstevel@tonic-gate  * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
970Sstevel@tonic-gate  * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.  THESE LIMITATIONS
980Sstevel@tonic-gate  * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
990Sstevel@tonic-gate  * LIMITED REMEDY.
1000Sstevel@tonic-gate  *
1010Sstevel@tonic-gate  * 4.3. Licensee shall not export, either directly or indirectly, any of this
1020Sstevel@tonic-gate  * software or system incorporating such software without first obtaining any
1030Sstevel@tonic-gate  * required license or other approval from the U. S. Department of Commerce or
1040Sstevel@tonic-gate  * any other agency or department of the United States Government.  In the
1050Sstevel@tonic-gate  * event Licensee exports any such software from the United States or
1060Sstevel@tonic-gate  * re-exports any such software from a foreign destination, Licensee shall
1070Sstevel@tonic-gate  * ensure that the distribution and export/re-export of the software is in
1080Sstevel@tonic-gate  * compliance with all laws, regulations, orders, or other restrictions of the
1090Sstevel@tonic-gate  * U.S. Export Administration Regulations. Licensee agrees that neither it nor
1100Sstevel@tonic-gate  * any of its subsidiaries will export/re-export any technical data, process,
1110Sstevel@tonic-gate  * software, or service, directly or indirectly, to any country for which the
1120Sstevel@tonic-gate  * United States government or any agency thereof requires an export license,
1130Sstevel@tonic-gate  * other governmental approval, or letter of assurance, without first obtaining
1140Sstevel@tonic-gate  * such license, approval or letter.
1150Sstevel@tonic-gate  *
1160Sstevel@tonic-gate  *****************************************************************************/
1170Sstevel@tonic-gate 
1180Sstevel@tonic-gate #ifndef __ACRESRC_H__
1190Sstevel@tonic-gate #define __ACRESRC_H__
1200Sstevel@tonic-gate 
121941Smyers /* Need the AML resource descriptor structs */
122941Smyers 
123941Smyers #include "amlresrc.h"
124941Smyers 
125941Smyers 
126941Smyers /*
1271560Smyers  * If possible, pack the following structures to byte alignment, since we
1282623Smyers  * don't care about performance for debug output. Two cases where we cannot
1292623Smyers  * pack the structures:
1302623Smyers  *
1312623Smyers  * 1) Hardware does not support misaligned memory transfers
1322623Smyers  * 2) Compiler does not support pointers within packed structures
133941Smyers  */
1342623Smyers #if (!defined(ACPI_MISALIGNMENT_NOT_SUPPORTED) && !defined(ACPI_PACKED_POINTERS_NOT_SUPPORTED))
1351560Smyers #pragma pack(1)
1361560Smyers #endif
1371560Smyers 
1381560Smyers /*
1391560Smyers  * Individual entry for the resource conversion tables
1401560Smyers  */
1411560Smyers typedef const struct acpi_rsconvert_info
142941Smyers {
1431560Smyers     UINT8                   Opcode;
1441560Smyers     UINT8                   ResourceOffset;
1451560Smyers     UINT8                   AmlOffset;
1461560Smyers     UINT8                   Value;
1471560Smyers 
1481560Smyers } ACPI_RSCONVERT_INFO;
1491560Smyers 
1501560Smyers /* Resource conversion opcodes */
151941Smyers 
1521560Smyers #define ACPI_RSC_INITGET                0
1531560Smyers #define ACPI_RSC_INITSET                1
1541560Smyers #define ACPI_RSC_FLAGINIT               2
1551560Smyers #define ACPI_RSC_1BITFLAG               3
1561560Smyers #define ACPI_RSC_2BITFLAG               4
1571560Smyers #define ACPI_RSC_COUNT                  5
1581560Smyers #define ACPI_RSC_COUNT16                6
1591560Smyers #define ACPI_RSC_LENGTH                 7
1601560Smyers #define ACPI_RSC_MOVE8                  8
1611560Smyers #define ACPI_RSC_MOVE16                 9
1621560Smyers #define ACPI_RSC_MOVE32                 10
1631560Smyers #define ACPI_RSC_MOVE64                 11
1641560Smyers #define ACPI_RSC_SET8                   12
1651560Smyers #define ACPI_RSC_DATA8                  13
1661560Smyers #define ACPI_RSC_ADDRESS                14
1671560Smyers #define ACPI_RSC_SOURCE                 15
1681560Smyers #define ACPI_RSC_SOURCEX                16
1691560Smyers #define ACPI_RSC_BITMASK                17
1701560Smyers #define ACPI_RSC_BITMASK16              18
1711560Smyers #define ACPI_RSC_EXIT_NE                19
1721560Smyers #define ACPI_RSC_EXIT_LE                20
173*7851SDana.Myers@Sun.COM #define ACPI_RSC_EXIT_EQ                21
174941Smyers 
1751560Smyers /* Resource Conversion sub-opcodes */
176941Smyers 
1771560Smyers #define ACPI_RSC_COMPARE_AML_LENGTH     0
1781560Smyers #define ACPI_RSC_COMPARE_VALUE          1
1791560Smyers 
1801560Smyers #define ACPI_RSC_TABLE_SIZE(d)          (sizeof (d) / sizeof (ACPI_RSCONVERT_INFO))
181941Smyers 
1821560Smyers #define ACPI_RS_OFFSET(f)               (UINT8) ACPI_OFFSET (ACPI_RESOURCE,f)
1831560Smyers #define AML_OFFSET(f)                   (UINT8) ACPI_OFFSET (AML_RESOURCE,f)
1841560Smyers 
185941Smyers 
1861560Smyers typedef const struct acpi_rsdump_info
1871560Smyers {
1881560Smyers     UINT8                   Opcode;
1891560Smyers     UINT8                   Offset;
1901560Smyers     char                    *Name;
1911560Smyers     const char              **Pointer;
192941Smyers 
1931560Smyers } ACPI_RSDUMP_INFO;
1941560Smyers 
1951560Smyers /* Values for the Opcode field above */
196941Smyers 
1971560Smyers #define ACPI_RSD_TITLE                  0
1981560Smyers #define ACPI_RSD_LITERAL                1
1991560Smyers #define ACPI_RSD_STRING                 2
2001560Smyers #define ACPI_RSD_UINT8                  3
2011560Smyers #define ACPI_RSD_UINT16                 4
2021560Smyers #define ACPI_RSD_UINT32                 5
2031560Smyers #define ACPI_RSD_UINT64                 6
2041560Smyers #define ACPI_RSD_1BITFLAG               7
2051560Smyers #define ACPI_RSD_2BITFLAG               8
2061560Smyers #define ACPI_RSD_SHORTLIST              9
2071560Smyers #define ACPI_RSD_LONGLIST               10
2081560Smyers #define ACPI_RSD_DWORDLIST              11
2091560Smyers #define ACPI_RSD_ADDRESS                12
2101560Smyers #define ACPI_RSD_SOURCE                 13
211941Smyers 
2121560Smyers /* restore default alignment */
2131560Smyers 
2141560Smyers #pragma pack()
215941Smyers 
2161560Smyers 
2171560Smyers /* Resource tables indexed by internal resource type */
2181560Smyers 
2191560Smyers extern const UINT8              AcpiGbl_AmlResourceSizes[];
2201560Smyers extern ACPI_RSCONVERT_INFO      *AcpiGbl_SetResourceDispatch[];
2211560Smyers 
2221560Smyers /* Resource tables indexed by raw AML resource descriptor type */
223941Smyers 
2241560Smyers extern const UINT8              AcpiGbl_ResourceStructSizes[];
2251560Smyers extern ACPI_RSCONVERT_INFO      *AcpiGbl_GetResourceDispatch[];
2261560Smyers 
2271560Smyers 
2281560Smyers typedef struct acpi_vendor_walk_info
2291560Smyers {
2301560Smyers     ACPI_VENDOR_UUID        *Uuid;
2311560Smyers     ACPI_BUFFER             *Buffer;
2321560Smyers     ACPI_STATUS             Status;
2331560Smyers 
2341560Smyers } ACPI_VENDOR_WALK_INFO;
235941Smyers 
2360Sstevel@tonic-gate 
2370Sstevel@tonic-gate /*
2381560Smyers  * rscreate
2391560Smyers  */
2401560Smyers ACPI_STATUS
2411560Smyers AcpiRsCreateResourceList (
2421560Smyers     ACPI_OPERAND_OBJECT     *AmlBuffer,
2431560Smyers     ACPI_BUFFER             *OutputBuffer);
2441560Smyers 
2451560Smyers ACPI_STATUS
2461560Smyers AcpiRsCreateAmlResources (
2471560Smyers     ACPI_RESOURCE           *LinkedListBuffer,
2481560Smyers     ACPI_BUFFER             *OutputBuffer);
2491560Smyers 
2501560Smyers ACPI_STATUS
2511560Smyers AcpiRsCreatePciRoutingTable (
2521560Smyers     ACPI_OPERAND_OBJECT     *PackageObject,
2531560Smyers     ACPI_BUFFER             *OutputBuffer);
2541560Smyers 
2551560Smyers 
2561560Smyers /*
2571560Smyers  * rsutils
2580Sstevel@tonic-gate  */
2590Sstevel@tonic-gate ACPI_STATUS
2600Sstevel@tonic-gate AcpiRsGetPrtMethodData (
2612623Smyers     ACPI_NAMESPACE_NODE     *Node,
2620Sstevel@tonic-gate     ACPI_BUFFER             *RetBuffer);
2630Sstevel@tonic-gate 
2640Sstevel@tonic-gate ACPI_STATUS
2650Sstevel@tonic-gate AcpiRsGetCrsMethodData (
2662623Smyers     ACPI_NAMESPACE_NODE     *Node,
2670Sstevel@tonic-gate     ACPI_BUFFER             *RetBuffer);
2680Sstevel@tonic-gate 
2690Sstevel@tonic-gate ACPI_STATUS
2700Sstevel@tonic-gate AcpiRsGetPrsMethodData (
2712623Smyers     ACPI_NAMESPACE_NODE     *Node,
2720Sstevel@tonic-gate     ACPI_BUFFER             *RetBuffer);
2730Sstevel@tonic-gate 
2740Sstevel@tonic-gate ACPI_STATUS
2750Sstevel@tonic-gate AcpiRsGetMethodData (
2760Sstevel@tonic-gate     ACPI_HANDLE             Handle,
2770Sstevel@tonic-gate     char                    *Path,
2780Sstevel@tonic-gate     ACPI_BUFFER             *RetBuffer);
2790Sstevel@tonic-gate 
2800Sstevel@tonic-gate ACPI_STATUS
2810Sstevel@tonic-gate AcpiRsSetSrsMethodData (
2822623Smyers     ACPI_NAMESPACE_NODE     *Node,
2830Sstevel@tonic-gate     ACPI_BUFFER             *RetBuffer);
2840Sstevel@tonic-gate 
2850Sstevel@tonic-gate 
2860Sstevel@tonic-gate /*
2870Sstevel@tonic-gate  * rscalc
2880Sstevel@tonic-gate  */
2890Sstevel@tonic-gate ACPI_STATUS
2900Sstevel@tonic-gate AcpiRsGetListLength (
291941Smyers     UINT8                   *AmlBuffer,
292941Smyers     UINT32                  AmlBufferLength,
2930Sstevel@tonic-gate     ACPI_SIZE               *SizeNeeded);
2940Sstevel@tonic-gate 
2950Sstevel@tonic-gate ACPI_STATUS
296941Smyers AcpiRsGetAmlLength (
2970Sstevel@tonic-gate     ACPI_RESOURCE           *LinkedListBuffer,
2980Sstevel@tonic-gate     ACPI_SIZE               *SizeNeeded);
2990Sstevel@tonic-gate 
3000Sstevel@tonic-gate ACPI_STATUS
3010Sstevel@tonic-gate AcpiRsGetPciRoutingTableLength (
3020Sstevel@tonic-gate     ACPI_OPERAND_OBJECT     *PackageObject,
3030Sstevel@tonic-gate     ACPI_SIZE               *BufferSizeNeeded);
3040Sstevel@tonic-gate 
3050Sstevel@tonic-gate ACPI_STATUS
306941Smyers AcpiRsConvertAmlToResources (
3072623Smyers     UINT8                   *Aml,
3082623Smyers     UINT32                  Length,
3092623Smyers     UINT32                  Offset,
3102623Smyers     UINT8                   ResourceIndex,
3112623Smyers     void                    *Context);
3120Sstevel@tonic-gate 
3130Sstevel@tonic-gate ACPI_STATUS
314941Smyers AcpiRsConvertResourcesToAml (
315941Smyers     ACPI_RESOURCE           *Resource,
316941Smyers     ACPI_SIZE               AmlSizeNeeded,
317941Smyers     UINT8                   *OutputBuffer);
318941Smyers 
319941Smyers 
320941Smyers /*
3211560Smyers  * rsaddr
322941Smyers  */
3231560Smyers void
3241560Smyers AcpiRsSetAddressCommon (
325941Smyers     AML_RESOURCE            *Aml,
326941Smyers     ACPI_RESOURCE           *Resource);
3270Sstevel@tonic-gate 
3281560Smyers BOOLEAN
3291560Smyers AcpiRsGetAddressCommon (
330941Smyers     ACPI_RESOURCE           *Resource,
331941Smyers     AML_RESOURCE            *Aml);
3320Sstevel@tonic-gate 
333941Smyers 
334941Smyers /*
335941Smyers  * rsmisc
336941Smyers  */
337941Smyers ACPI_STATUS
3381560Smyers AcpiRsConvertAmlToResource (
339941Smyers     ACPI_RESOURCE           *Resource,
340941Smyers     AML_RESOURCE            *Aml,
3411560Smyers     ACPI_RSCONVERT_INFO     *Info);
342941Smyers 
343941Smyers ACPI_STATUS
3441560Smyers AcpiRsConvertResourceToAml (
345941Smyers     ACPI_RESOURCE           *Resource,
346941Smyers     AML_RESOURCE            *Aml,
3471560Smyers     ACPI_RSCONVERT_INFO     *Info);
3480Sstevel@tonic-gate 
3490Sstevel@tonic-gate 
350941Smyers /*
351941Smyers  * rsutils
352941Smyers  */
353941Smyers void
354941Smyers AcpiRsMoveData (
355941Smyers     void                    *Destination,
356941Smyers     void                    *Source,
357941Smyers     UINT16                  ItemCount,
358941Smyers     UINT8                   MoveType);
359941Smyers 
3601560Smyers UINT8
3611560Smyers AcpiRsDecodeBitmask (
3621560Smyers     UINT16                  Mask,
3631560Smyers     UINT8                   *List);
3640Sstevel@tonic-gate 
365941Smyers UINT16
3661560Smyers AcpiRsEncodeBitmask (
3671560Smyers     UINT8                   *List,
3681560Smyers     UINT8                   Count);
3691560Smyers 
3701560Smyers ACPI_RS_LENGTH
371941Smyers AcpiRsGetResourceSource (
3721560Smyers     ACPI_RS_LENGTH          ResourceLength,
3731560Smyers     ACPI_RS_LENGTH          MinimumLength,
374941Smyers     ACPI_RESOURCE_SOURCE    *ResourceSource,
375941Smyers     AML_RESOURCE            *Aml,
376941Smyers     char                    *StringPtr);
3770Sstevel@tonic-gate 
3781560Smyers ACPI_RSDESC_SIZE
379941Smyers AcpiRsSetResourceSource (
380941Smyers     AML_RESOURCE            *Aml,
3811560Smyers     ACPI_RS_LENGTH          MinimumLength,
382941Smyers     ACPI_RESOURCE_SOURCE    *ResourceSource);
3830Sstevel@tonic-gate 
384941Smyers void
385941Smyers AcpiRsSetResourceHeader (
386941Smyers     UINT8                   DescriptorType,
3871560Smyers     ACPI_RSDESC_SIZE        TotalLength,
388941Smyers     AML_RESOURCE            *Aml);
389941Smyers 
3901560Smyers void
3911560Smyers AcpiRsSetResourceLength (
3921560Smyers     ACPI_RSDESC_SIZE        TotalLength,
3931560Smyers     AML_RESOURCE            *Aml);
394941Smyers 
395941Smyers 
396941Smyers /*
397941Smyers  * rsdump
398941Smyers  */
399941Smyers void
4001560Smyers AcpiRsDumpResourceList (
4011560Smyers     ACPI_RESOURCE           *Resource);
402941Smyers 
403941Smyers void
4041560Smyers AcpiRsDumpIrqList (
4051560Smyers     UINT8                   *RouteTable);
406941Smyers 
407941Smyers 
4081560Smyers /*
4091560Smyers  * Resource conversion tables
4101560Smyers  */
4111560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsConvertDma[];
4121560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsConvertEndDpf[];
4131560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsConvertIo[];
4141560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsConvertFixedIo[];
4151560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsConvertEndTag[];
4161560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsConvertMemory24[];
4171560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsConvertGenericReg[];
4181560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsConvertMemory32[];
4191560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsConvertFixedMemory32[];
4201560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsConvertAddress32[];
4211560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsConvertAddress16[];
4221560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsConvertExtIrq[];
4231560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsConvertAddress64[];
4241560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsConvertExtAddress64[];
425941Smyers 
4261560Smyers /* These resources require separate get/set tables */
4271560Smyers 
4281560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsGetIrq[];
4291560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsGetStartDpf[];
4301560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsGetVendorSmall[];
4311560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsGetVendorLarge[];
432941Smyers 
4331560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsSetIrq[];
4341560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsSetStartDpf[];
4351560Smyers extern ACPI_RSCONVERT_INFO      AcpiRsSetVendor[];
4361560Smyers 
437941Smyers 
4381560Smyers #if defined(ACPI_DEBUG_OUTPUT) || defined(ACPI_DEBUGGER)
4391560Smyers /*
4401560Smyers  * rsinfo
4411560Smyers  */
4421560Smyers extern ACPI_RSDUMP_INFO         *AcpiGbl_DumpResourceDispatch[];
443941Smyers 
4441560Smyers /*
4451560Smyers  * rsdump
4461560Smyers  */
4471560Smyers extern ACPI_RSDUMP_INFO         AcpiRsDumpIrq[];
4481560Smyers extern ACPI_RSDUMP_INFO         AcpiRsDumpDma[];
4491560Smyers extern ACPI_RSDUMP_INFO         AcpiRsDumpStartDpf[];
4501560Smyers extern ACPI_RSDUMP_INFO         AcpiRsDumpEndDpf[];
4511560Smyers extern ACPI_RSDUMP_INFO         AcpiRsDumpIo[];
4521560Smyers extern ACPI_RSDUMP_INFO         AcpiRsDumpFixedIo[];
4531560Smyers extern ACPI_RSDUMP_INFO         AcpiRsDumpVendor[];
4541560Smyers extern ACPI_RSDUMP_INFO         AcpiRsDumpEndTag[];
4551560Smyers extern ACPI_RSDUMP_INFO         AcpiRsDumpMemory24[];
4561560Smyers extern ACPI_RSDUMP_INFO         AcpiRsDumpMemory32[];
4571560Smyers extern ACPI_RSDUMP_INFO         AcpiRsDumpFixedMemory32[];
4581560Smyers extern ACPI_RSDUMP_INFO         AcpiRsDumpAddress16[];
4591560Smyers extern ACPI_RSDUMP_INFO         AcpiRsDumpAddress32[];
4601560Smyers extern ACPI_RSDUMP_INFO         AcpiRsDumpAddress64[];
4611560Smyers extern ACPI_RSDUMP_INFO         AcpiRsDumpExtAddress64[];
4621560Smyers extern ACPI_RSDUMP_INFO         AcpiRsDumpExtIrq[];
4631560Smyers extern ACPI_RSDUMP_INFO         AcpiRsDumpGenericReg[];
464941Smyers #endif
465941Smyers 
4660Sstevel@tonic-gate #endif  /* __ACRESRC_H__ */
467