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