Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:42

0001 /******************************************************************************
0002  *
0003  * Name: acresrc.h - Resource Manager function prototypes
0004  *
0005  *****************************************************************************/
0006 
0007 /******************************************************************************
0008  *
0009  * 1. Copyright Notice
0010  *
0011  * Some or all of this work - Copyright (c) 1999 - 2024, Intel Corp.
0012  * All rights reserved.
0013  *
0014  * 2. License
0015  *
0016  * 2.1. This is your license from Intel Corp. under its intellectual property
0017  * rights. You may have additional license terms from the party that provided
0018  * you this software, covering your right to use that party's intellectual
0019  * property rights.
0020  *
0021  * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
0022  * copy of the source code appearing in this file ("Covered Code") an
0023  * irrevocable, perpetual, worldwide license under Intel's copyrights in the
0024  * base code distributed originally by Intel ("Original Intel Code") to copy,
0025 
0026  * make derivatives, distribute, use and display any portion of the Covered
0027  * Code in any form, with the right to sublicense such rights; and
0028  *
0029  * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
0030  * license (with the right to sublicense), under only those claims of Intel
0031  * patents that are infringed by the Original Intel Code, to make, use, sell,
0032  * offer to sell, and import the Covered Code and derivative works thereof
0033  * solely to the minimum extent necessary to exercise the above copyright
0034  * license, and in no event shall the patent license extend to any additions
0035  * to or modifications of the Original Intel Code. No other license or right
0036  * is granted directly or by implication, estoppel or otherwise;
0037  *
0038  * The above copyright and patent license is granted only if the following
0039  * conditions are met:
0040  *
0041  * 3. Conditions
0042  *
0043  * 3.1. Redistribution of Source with Rights to Further Distribute Source.
0044  * Redistribution of source code of any substantial portion of the Covered
0045  * Code or modification with rights to further distribute source must include
0046  * the above Copyright Notice, the above License, this list of Conditions,
0047  * and the following Disclaimer and Export Compliance provision. In addition,
0048  * Licensee must cause all Covered Code to which Licensee contributes to
0049  * contain a file documenting the changes Licensee made to create that Covered
0050  * Code and the date of any change. Licensee must include in that file the
0051  * documentation of any changes made by any predecessor Licensee. Licensee
0052  * must include a prominent statement that the modification is derived,
0053  * directly or indirectly, from Original Intel Code.
0054  *
0055  * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
0056  * Redistribution of source code of any substantial portion of the Covered
0057  * Code or modification without rights to further distribute source must
0058  * include the following Disclaimer and Export Compliance provision in the
0059  * documentation and/or other materials provided with distribution. In
0060  * addition, Licensee may not authorize further sublicense of source of any
0061  * portion of the Covered Code, and must include terms to the effect that the
0062  * license from Licensee to its licensee is limited to the intellectual
0063  * property embodied in the software Licensee provides to its licensee, and
0064  * not to intellectual property embodied in modifications its licensee may
0065  * make.
0066  *
0067  * 3.3. Redistribution of Executable. Redistribution in executable form of any
0068  * substantial portion of the Covered Code or modification must reproduce the
0069  * above Copyright Notice, and the following Disclaimer and Export Compliance
0070  * provision in the documentation and/or other materials provided with the
0071  * distribution.
0072  *
0073  * 3.4. Intel retains all right, title, and interest in and to the Original
0074  * Intel Code.
0075  *
0076  * 3.5. Neither the name Intel nor any other trademark owned or controlled by
0077  * Intel shall be used in advertising or otherwise to promote the sale, use or
0078  * other dealings in products derived from or relating to the Covered Code
0079  * without prior written authorization from Intel.
0080  *
0081  * 4. Disclaimer and Export Compliance
0082  *
0083  * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
0084  * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
0085  * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE,
0086  * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY
0087  * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY
0088  * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
0089  * PARTICULAR PURPOSE.
0090  *
0091  * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
0092  * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
0093  * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
0094  * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
0095  * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
0096  * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS
0097  * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
0098  * LIMITED REMEDY.
0099  *
0100  * 4.3. Licensee shall not export, either directly or indirectly, any of this
0101  * software or system incorporating such software without first obtaining any
0102  * required license or other approval from the U. S. Department of Commerce or
0103  * any other agency or department of the United States Government. In the
0104  * event Licensee exports any such software from the United States or
0105  * re-exports any such software from a foreign destination, Licensee shall
0106  * ensure that the distribution and export/re-export of the software is in
0107  * compliance with all laws, regulations, orders, or other restrictions of the
0108  * U.S. Export Administration Regulations. Licensee agrees that neither it nor
0109  * any of its subsidiaries will export/re-export any technical data, process,
0110  * software, or service, directly or indirectly, to any country for which the
0111  * United States government or any agency thereof requires an export license,
0112  * other governmental approval, or letter of assurance, without first obtaining
0113  * such license, approval or letter.
0114  *
0115  *****************************************************************************
0116  *
0117  * Alternatively, you may choose to be licensed under the terms of the
0118  * following license:
0119  *
0120  * Redistribution and use in source and binary forms, with or without
0121  * modification, are permitted provided that the following conditions
0122  * are met:
0123  * 1. Redistributions of source code must retain the above copyright
0124  *    notice, this list of conditions, and the following disclaimer,
0125  *    without modification.
0126  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
0127  *    substantially similar to the "NO WARRANTY" disclaimer below
0128  *    ("Disclaimer") and any redistribution must be conditioned upon
0129  *    including a substantially similar Disclaimer requirement for further
0130  *    binary redistribution.
0131  * 3. Neither the names of the above-listed copyright holders nor the names
0132  *    of any contributors may be used to endorse or promote products derived
0133  *    from this software without specific prior written permission.
0134  *
0135  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
0136  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
0137  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
0138  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
0139  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
0140  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
0141  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
0142  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
0143  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
0144  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
0145  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0146  *
0147  * Alternatively, you may choose to be licensed under the terms of the
0148  * GNU General Public License ("GPL") version 2 as published by the Free
0149  * Software Foundation.
0150  *
0151  *****************************************************************************/
0152 
0153 #ifndef __ACRESRC_H__
0154 #define __ACRESRC_H__
0155 
0156 /* Need the AML resource descriptor structs */
0157 
0158 #include "amlresrc.h"
0159 
0160 
0161 /*
0162  * If possible, pack the following structures to byte alignment, since we
0163  * don't care about performance for debug output. Two cases where we cannot
0164  * pack the structures:
0165  *
0166  * 1) Hardware does not support misaligned memory transfers
0167  * 2) Compiler does not support pointers within packed structures
0168  */
0169 #if (!defined(ACPI_MISALIGNMENT_NOT_SUPPORTED) && !defined(ACPI_PACKED_POINTERS_NOT_SUPPORTED))
0170 #pragma pack(1)
0171 #endif
0172 
0173 /*
0174  * Individual entry for the resource conversion tables
0175  */
0176 typedef const struct acpi_rsconvert_info
0177 {
0178     UINT8                   Opcode;
0179     UINT8                   ResourceOffset;
0180     UINT8                   AmlOffset;
0181     UINT8                   Value;
0182 
0183 } ACPI_RSCONVERT_INFO;
0184 
0185 /* Resource conversion opcodes */
0186 
0187 typedef enum
0188 {
0189     ACPI_RSC_INITGET        = 0,
0190     ACPI_RSC_INITSET,
0191     ACPI_RSC_FLAGINIT,
0192     ACPI_RSC_1BITFLAG,
0193     ACPI_RSC_2BITFLAG,
0194     ACPI_RSC_3BITFLAG,
0195     ACPI_RSC_6BITFLAG,
0196     ACPI_RSC_ADDRESS,
0197     ACPI_RSC_BITMASK,
0198     ACPI_RSC_BITMASK16,
0199     ACPI_RSC_COUNT,
0200     ACPI_RSC_COUNT16,
0201     ACPI_RSC_COUNT_GPIO_PIN,
0202     ACPI_RSC_COUNT_GPIO_RES,
0203     ACPI_RSC_COUNT_GPIO_VEN,
0204     ACPI_RSC_COUNT_SERIAL_RES,
0205     ACPI_RSC_COUNT_SERIAL_VEN,
0206     ACPI_RSC_DATA8,
0207     ACPI_RSC_EXIT_EQ,
0208     ACPI_RSC_EXIT_LE,
0209     ACPI_RSC_EXIT_NE,
0210     ACPI_RSC_LENGTH,
0211     ACPI_RSC_MOVE_GPIO_PIN,
0212     ACPI_RSC_MOVE_GPIO_RES,
0213     ACPI_RSC_MOVE_SERIAL_RES,
0214     ACPI_RSC_MOVE_SERIAL_VEN,
0215     ACPI_RSC_MOVE8,
0216     ACPI_RSC_MOVE16,
0217     ACPI_RSC_MOVE32,
0218     ACPI_RSC_MOVE64,
0219     ACPI_RSC_SET8,
0220     ACPI_RSC_SOURCE,
0221     ACPI_RSC_SOURCEX
0222 
0223 } ACPI_RSCONVERT_OPCODES;
0224 
0225 /* Resource Conversion sub-opcodes */
0226 
0227 #define ACPI_RSC_COMPARE_AML_LENGTH     0
0228 #define ACPI_RSC_COMPARE_VALUE          1
0229 
0230 #define ACPI_RSC_TABLE_SIZE(d)          (sizeof (d) / sizeof (ACPI_RSCONVERT_INFO))
0231 
0232 #define ACPI_RS_OFFSET(f)               (UINT8) ACPI_OFFSET (ACPI_RESOURCE,f)
0233 #define AML_OFFSET(f)                   (UINT8) ACPI_OFFSET (AML_RESOURCE,f)
0234 
0235 
0236 /*
0237  * Individual entry for the resource dump tables
0238  */
0239 typedef const struct acpi_rsdump_info
0240 {
0241     UINT8                   Opcode;
0242     UINT8                   Offset;
0243     const char              *Name;
0244     const char              **Pointer;
0245 
0246 } ACPI_RSDUMP_INFO;
0247 
0248 /* Values for the Opcode field above */
0249 
0250 typedef enum
0251 {
0252     ACPI_RSD_TITLE          = 0,
0253     ACPI_RSD_1BITFLAG,
0254     ACPI_RSD_2BITFLAG,
0255     ACPI_RSD_3BITFLAG,
0256     ACPI_RSD_6BITFLAG,
0257     ACPI_RSD_ADDRESS,
0258     ACPI_RSD_DWORDLIST,
0259     ACPI_RSD_LITERAL,
0260     ACPI_RSD_LONGLIST,
0261     ACPI_RSD_SHORTLIST,
0262     ACPI_RSD_SHORTLISTX,
0263     ACPI_RSD_SOURCE,
0264     ACPI_RSD_STRING,
0265     ACPI_RSD_UINT8,
0266     ACPI_RSD_UINT16,
0267     ACPI_RSD_UINT32,
0268     ACPI_RSD_UINT64,
0269     ACPI_RSD_WORDLIST,
0270     ACPI_RSD_LABEL,
0271     ACPI_RSD_SOURCE_LABEL,
0272 
0273 } ACPI_RSDUMP_OPCODES;
0274 
0275 /* restore default alignment */
0276 
0277 #pragma pack()
0278 
0279 
0280 /* Resource tables indexed by internal resource type */
0281 
0282 extern const UINT8              AcpiGbl_AmlResourceSizes[];
0283 extern const UINT8              AcpiGbl_AmlResourceSerialBusSizes[];
0284 extern ACPI_RSCONVERT_INFO      *AcpiGbl_SetResourceDispatch[];
0285 
0286 /* Resource tables indexed by raw AML resource descriptor type */
0287 
0288 extern const UINT8              AcpiGbl_ResourceStructSizes[];
0289 extern const UINT8              AcpiGbl_ResourceStructSerialBusSizes[];
0290 extern ACPI_RSCONVERT_INFO      *AcpiGbl_GetResourceDispatch[];
0291 
0292 extern ACPI_RSCONVERT_INFO      *AcpiGbl_ConvertResourceSerialBusDispatch[];
0293 
0294 typedef struct acpi_vendor_walk_info
0295 {
0296     ACPI_VENDOR_UUID        *Uuid;
0297     ACPI_BUFFER             *Buffer;
0298     ACPI_STATUS             Status;
0299 
0300 } ACPI_VENDOR_WALK_INFO;
0301 
0302 
0303 /*
0304  * rscreate
0305  */
0306 ACPI_STATUS
0307 AcpiRsCreateResourceList (
0308     ACPI_OPERAND_OBJECT     *AmlBuffer,
0309     ACPI_BUFFER             *OutputBuffer);
0310 
0311 ACPI_STATUS
0312 AcpiRsCreateAmlResources (
0313     ACPI_BUFFER             *ResourceList,
0314     ACPI_BUFFER             *OutputBuffer);
0315 
0316 ACPI_STATUS
0317 AcpiRsCreatePciRoutingTable (
0318     ACPI_OPERAND_OBJECT     *PackageObject,
0319     ACPI_BUFFER             *OutputBuffer);
0320 
0321 
0322 /*
0323  * rsutils
0324  */
0325 ACPI_STATUS
0326 AcpiRsGetPrtMethodData (
0327     ACPI_NAMESPACE_NODE     *Node,
0328     ACPI_BUFFER             *RetBuffer);
0329 
0330 ACPI_STATUS
0331 AcpiRsGetCrsMethodData (
0332     ACPI_NAMESPACE_NODE     *Node,
0333     ACPI_BUFFER             *RetBuffer);
0334 
0335 ACPI_STATUS
0336 AcpiRsGetPrsMethodData (
0337     ACPI_NAMESPACE_NODE     *Node,
0338     ACPI_BUFFER             *RetBuffer);
0339 
0340 ACPI_STATUS
0341 AcpiRsGetMethodData (
0342     ACPI_HANDLE             Handle,
0343     const char              *Path,
0344     ACPI_BUFFER             *RetBuffer);
0345 
0346 ACPI_STATUS
0347 AcpiRsSetSrsMethodData (
0348     ACPI_NAMESPACE_NODE     *Node,
0349     ACPI_BUFFER             *RetBuffer);
0350 
0351 ACPI_STATUS
0352 AcpiRsGetAeiMethodData (
0353     ACPI_NAMESPACE_NODE     *Node,
0354     ACPI_BUFFER             *RetBuffer);
0355 
0356 /*
0357  * rscalc
0358  */
0359 ACPI_STATUS
0360 AcpiRsGetListLength (
0361     UINT8                   *AmlBuffer,
0362     UINT32                  AmlBufferLength,
0363     ACPI_SIZE               *SizeNeeded);
0364 
0365 ACPI_STATUS
0366 AcpiRsGetAmlLength (
0367     ACPI_RESOURCE           *ResourceList,
0368     ACPI_SIZE               ResourceListSize,
0369     ACPI_SIZE               *SizeNeeded);
0370 
0371 ACPI_STATUS
0372 AcpiRsGetPciRoutingTableLength (
0373     ACPI_OPERAND_OBJECT     *PackageObject,
0374     ACPI_SIZE               *BufferSizeNeeded);
0375 
0376 ACPI_STATUS
0377 AcpiRsConvertAmlToResources (
0378     UINT8                   *Aml,
0379     UINT32                  Length,
0380     UINT32                  Offset,
0381     UINT8                   ResourceIndex,
0382     void                    **Context);
0383 
0384 ACPI_STATUS
0385 AcpiRsConvertResourcesToAml (
0386     ACPI_RESOURCE           *Resource,
0387     ACPI_SIZE               AmlSizeNeeded,
0388     UINT8                   *OutputBuffer);
0389 
0390 
0391 /*
0392  * rsaddr
0393  */
0394 void
0395 AcpiRsSetAddressCommon (
0396     AML_RESOURCE            *Aml,
0397     ACPI_RESOURCE           *Resource);
0398 
0399 BOOLEAN
0400 AcpiRsGetAddressCommon (
0401     ACPI_RESOURCE           *Resource,
0402     AML_RESOURCE            *Aml);
0403 
0404 
0405 /*
0406  * rsmisc
0407  */
0408 ACPI_STATUS
0409 AcpiRsConvertAmlToResource (
0410     ACPI_RESOURCE           *Resource,
0411     AML_RESOURCE            *Aml,
0412     ACPI_RSCONVERT_INFO     *Info);
0413 
0414 ACPI_STATUS
0415 AcpiRsConvertResourceToAml (
0416     ACPI_RESOURCE           *Resource,
0417     AML_RESOURCE            *Aml,
0418     ACPI_RSCONVERT_INFO     *Info);
0419 
0420 
0421 /*
0422  * rsutils
0423  */
0424 void
0425 AcpiRsMoveData (
0426     void                    *Destination,
0427     void                    *Source,
0428     UINT16                  ItemCount,
0429     UINT8                   MoveType);
0430 
0431 UINT8
0432 AcpiRsDecodeBitmask (
0433     UINT16                  Mask,
0434     UINT8                   *List);
0435 
0436 UINT16
0437 AcpiRsEncodeBitmask (
0438     UINT8                   *List,
0439     UINT8                   Count);
0440 
0441 ACPI_RS_LENGTH
0442 AcpiRsGetResourceSource (
0443     ACPI_RS_LENGTH          ResourceLength,
0444     ACPI_RS_LENGTH          MinimumLength,
0445     ACPI_RESOURCE_SOURCE    *ResourceSource,
0446     AML_RESOURCE            *Aml,
0447     char                    *StringPtr);
0448 
0449 ACPI_RSDESC_SIZE
0450 AcpiRsSetResourceSource (
0451     AML_RESOURCE            *Aml,
0452     ACPI_RS_LENGTH          MinimumLength,
0453     ACPI_RESOURCE_SOURCE    *ResourceSource);
0454 
0455 void
0456 AcpiRsSetResourceHeader (
0457     UINT8                   DescriptorType,
0458     ACPI_RSDESC_SIZE        TotalLength,
0459     AML_RESOURCE            *Aml);
0460 
0461 void
0462 AcpiRsSetResourceLength (
0463     ACPI_RSDESC_SIZE        TotalLength,
0464     AML_RESOURCE            *Aml);
0465 
0466 
0467 /*
0468  * rsdump - Debugger support
0469  */
0470 #ifdef ACPI_DEBUGGER
0471 void
0472 AcpiRsDumpResourceList (
0473     ACPI_RESOURCE           *Resource);
0474 
0475 void
0476 AcpiRsDumpIrqList (
0477     UINT8                   *RouteTable);
0478 #endif
0479 
0480 
0481 /*
0482  * Resource conversion tables
0483  */
0484 extern ACPI_RSCONVERT_INFO      AcpiRsConvertDma[];
0485 extern ACPI_RSCONVERT_INFO      AcpiRsConvertEndDpf[];
0486 extern ACPI_RSCONVERT_INFO      AcpiRsConvertIo[];
0487 extern ACPI_RSCONVERT_INFO      AcpiRsConvertFixedIo[];
0488 extern ACPI_RSCONVERT_INFO      AcpiRsConvertEndTag[];
0489 extern ACPI_RSCONVERT_INFO      AcpiRsConvertMemory24[];
0490 extern ACPI_RSCONVERT_INFO      AcpiRsConvertGenericReg[];
0491 extern ACPI_RSCONVERT_INFO      AcpiRsConvertMemory32[];
0492 extern ACPI_RSCONVERT_INFO      AcpiRsConvertFixedMemory32[];
0493 extern ACPI_RSCONVERT_INFO      AcpiRsConvertAddress32[];
0494 extern ACPI_RSCONVERT_INFO      AcpiRsConvertAddress16[];
0495 extern ACPI_RSCONVERT_INFO      AcpiRsConvertExtIrq[];
0496 extern ACPI_RSCONVERT_INFO      AcpiRsConvertAddress64[];
0497 extern ACPI_RSCONVERT_INFO      AcpiRsConvertExtAddress64[];
0498 extern ACPI_RSCONVERT_INFO      AcpiRsConvertGpio[];
0499 extern ACPI_RSCONVERT_INFO      AcpiRsConvertFixedDma[];
0500 extern ACPI_RSCONVERT_INFO      AcpiRsConvertCsi2SerialBus[];
0501 extern ACPI_RSCONVERT_INFO      AcpiRsConvertI2cSerialBus[];
0502 extern ACPI_RSCONVERT_INFO      AcpiRsConvertSpiSerialBus[];
0503 extern ACPI_RSCONVERT_INFO      AcpiRsConvertUartSerialBus[];
0504 extern ACPI_RSCONVERT_INFO      AcpiRsConvertPinFunction[];
0505 extern ACPI_RSCONVERT_INFO      AcpiRsConvertPinConfig[];
0506 extern ACPI_RSCONVERT_INFO      AcpiRsConvertPinGroup[];
0507 extern ACPI_RSCONVERT_INFO      AcpiRsConvertPinGroupFunction[];
0508 extern ACPI_RSCONVERT_INFO      AcpiRsConvertPinGroupConfig[];
0509 extern ACPI_RSCONVERT_INFO      AcpiRsConvertClockInput[];
0510 
0511 /* These resources require separate get/set tables */
0512 
0513 extern ACPI_RSCONVERT_INFO      AcpiRsGetIrq[];
0514 extern ACPI_RSCONVERT_INFO      AcpiRsGetStartDpf[];
0515 extern ACPI_RSCONVERT_INFO      AcpiRsGetVendorSmall[];
0516 extern ACPI_RSCONVERT_INFO      AcpiRsGetVendorLarge[];
0517 
0518 extern ACPI_RSCONVERT_INFO      AcpiRsSetIrq[];
0519 extern ACPI_RSCONVERT_INFO      AcpiRsSetStartDpf[];
0520 extern ACPI_RSCONVERT_INFO      AcpiRsSetVendor[];
0521 
0522 
0523 #if defined(ACPI_DEBUG_OUTPUT) || defined(ACPI_DEBUGGER)
0524 /*
0525  * rsinfo
0526  */
0527 extern ACPI_RSDUMP_INFO         *AcpiGbl_DumpResourceDispatch[];
0528 extern ACPI_RSDUMP_INFO         *AcpiGbl_DumpSerialBusDispatch[];
0529 
0530 /*
0531  * rsdumpinfo
0532  */
0533 extern ACPI_RSDUMP_INFO         AcpiRsDumpIrq[];
0534 extern ACPI_RSDUMP_INFO         AcpiRsDumpPrt[];
0535 extern ACPI_RSDUMP_INFO         AcpiRsDumpDma[];
0536 extern ACPI_RSDUMP_INFO         AcpiRsDumpStartDpf[];
0537 extern ACPI_RSDUMP_INFO         AcpiRsDumpEndDpf[];
0538 extern ACPI_RSDUMP_INFO         AcpiRsDumpIo[];
0539 extern ACPI_RSDUMP_INFO         AcpiRsDumpIoFlags[];
0540 extern ACPI_RSDUMP_INFO         AcpiRsDumpFixedIo[];
0541 extern ACPI_RSDUMP_INFO         AcpiRsDumpVendor[];
0542 extern ACPI_RSDUMP_INFO         AcpiRsDumpEndTag[];
0543 extern ACPI_RSDUMP_INFO         AcpiRsDumpMemory24[];
0544 extern ACPI_RSDUMP_INFO         AcpiRsDumpMemory32[];
0545 extern ACPI_RSDUMP_INFO         AcpiRsDumpMemoryFlags[];
0546 extern ACPI_RSDUMP_INFO         AcpiRsDumpFixedMemory32[];
0547 extern ACPI_RSDUMP_INFO         AcpiRsDumpAddress16[];
0548 extern ACPI_RSDUMP_INFO         AcpiRsDumpAddress32[];
0549 extern ACPI_RSDUMP_INFO         AcpiRsDumpAddress64[];
0550 extern ACPI_RSDUMP_INFO         AcpiRsDumpExtAddress64[];
0551 extern ACPI_RSDUMP_INFO         AcpiRsDumpExtIrq[];
0552 extern ACPI_RSDUMP_INFO         AcpiRsDumpGenericReg[];
0553 extern ACPI_RSDUMP_INFO         AcpiRsDumpGpio[];
0554 extern ACPI_RSDUMP_INFO         AcpiRsDumpPinFunction[];
0555 extern ACPI_RSDUMP_INFO         AcpiRsDumpFixedDma[];
0556 extern ACPI_RSDUMP_INFO         AcpiRsDumpCommonSerialBus[];
0557 extern ACPI_RSDUMP_INFO         AcpiRsDumpCsi2SerialBus[];
0558 extern ACPI_RSDUMP_INFO         AcpiRsDumpI2cSerialBus[];
0559 extern ACPI_RSDUMP_INFO         AcpiRsDumpSpiSerialBus[];
0560 extern ACPI_RSDUMP_INFO         AcpiRsDumpUartSerialBus[];
0561 extern ACPI_RSDUMP_INFO         AcpiRsDumpGeneralFlags[];
0562 extern ACPI_RSDUMP_INFO         AcpiRsDumpPinConfig[];
0563 extern ACPI_RSDUMP_INFO         AcpiRsDumpPinGroup[];
0564 extern ACPI_RSDUMP_INFO         AcpiRsDumpPinGroupFunction[];
0565 extern ACPI_RSDUMP_INFO         AcpiRsDumpPinGroupConfig[];
0566 extern ACPI_RSDUMP_INFO         AcpiRsDumpClockInput[];
0567 #endif
0568 
0569 #endif  /* __ACRESRC_H__ */