acresrc.h revision 193341
167754Smsmith/******************************************************************************
267754Smsmith *
367754Smsmith * Name: acresrc.h - Resource Manager function prototypes
467754Smsmith *
567754Smsmith *****************************************************************************/
667754Smsmith
767754Smsmith/******************************************************************************
867754Smsmith *
967754Smsmith * 1. Copyright Notice
1067754Smsmith *
11193267Sjkim * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
1270243Smsmith * All rights reserved.
1367754Smsmith *
1467754Smsmith * 2. License
1567754Smsmith *
1667754Smsmith * 2.1. This is your license from Intel Corp. under its intellectual property
1767754Smsmith * rights.  You may have additional license terms from the party that provided
1867754Smsmith * you this software, covering your right to use that party's intellectual
1967754Smsmith * property rights.
2067754Smsmith *
2167754Smsmith * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
2267754Smsmith * copy of the source code appearing in this file ("Covered Code") an
2367754Smsmith * irrevocable, perpetual, worldwide license under Intel's copyrights in the
2467754Smsmith * base code distributed originally by Intel ("Original Intel Code") to copy,
2567754Smsmith
2667754Smsmith * make derivatives, distribute, use and display any portion of the Covered
2767754Smsmith * Code in any form, with the right to sublicense such rights; and
2867754Smsmith *
2967754Smsmith * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
3067754Smsmith * license (with the right to sublicense), under only those claims of Intel
3167754Smsmith * patents that are infringed by the Original Intel Code, to make, use, sell,
3267754Smsmith * offer to sell, and import the Covered Code and derivative works thereof
3367754Smsmith * solely to the minimum extent necessary to exercise the above copyright
3467754Smsmith * license, and in no event shall the patent license extend to any additions
3567754Smsmith * to or modifications of the Original Intel Code.  No other license or right
3667754Smsmith * is granted directly or by implication, estoppel or otherwise;
3767754Smsmith *
3867754Smsmith * The above copyright and patent license is granted only if the following
3967754Smsmith * conditions are met:
4067754Smsmith *
4167754Smsmith * 3. Conditions
4267754Smsmith *
4367754Smsmith * 3.1. Redistribution of Source with Rights to Further Distribute Source.
4467754Smsmith * Redistribution of source code of any substantial portion of the Covered
4567754Smsmith * Code or modification with rights to further distribute source must include
4667754Smsmith * the above Copyright Notice, the above License, this list of Conditions,
4767754Smsmith * and the following Disclaimer and Export Compliance provision.  In addition,
4867754Smsmith * Licensee must cause all Covered Code to which Licensee contributes to
4967754Smsmith * contain a file documenting the changes Licensee made to create that Covered
5067754Smsmith * Code and the date of any change.  Licensee must include in that file the
5167754Smsmith * documentation of any changes made by any predecessor Licensee.  Licensee
5267754Smsmith * must include a prominent statement that the modification is derived,
5367754Smsmith * directly or indirectly, from Original Intel Code.
5467754Smsmith *
5567754Smsmith * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
5667754Smsmith * Redistribution of source code of any substantial portion of the Covered
5767754Smsmith * Code or modification without rights to further distribute source must
5867754Smsmith * include the following Disclaimer and Export Compliance provision in the
5967754Smsmith * documentation and/or other materials provided with distribution.  In
6067754Smsmith * addition, Licensee may not authorize further sublicense of source of any
6167754Smsmith * portion of the Covered Code, and must include terms to the effect that the
6267754Smsmith * license from Licensee to its licensee is limited to the intellectual
6367754Smsmith * property embodied in the software Licensee provides to its licensee, and
6467754Smsmith * not to intellectual property embodied in modifications its licensee may
6567754Smsmith * make.
6667754Smsmith *
6767754Smsmith * 3.3. Redistribution of Executable. Redistribution in executable form of any
6867754Smsmith * substantial portion of the Covered Code or modification must reproduce the
6967754Smsmith * above Copyright Notice, and the following Disclaimer and Export Compliance
7067754Smsmith * provision in the documentation and/or other materials provided with the
7167754Smsmith * distribution.
7267754Smsmith *
7367754Smsmith * 3.4. Intel retains all right, title, and interest in and to the Original
7467754Smsmith * Intel Code.
7567754Smsmith *
7667754Smsmith * 3.5. Neither the name Intel nor any other trademark owned or controlled by
7767754Smsmith * Intel shall be used in advertising or otherwise to promote the sale, use or
7867754Smsmith * other dealings in products derived from or relating to the Covered Code
7967754Smsmith * without prior written authorization from Intel.
8067754Smsmith *
8167754Smsmith * 4. Disclaimer and Export Compliance
8267754Smsmith *
8367754Smsmith * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
8467754Smsmith * HERE.  ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
8567754Smsmith * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT,  ASSISTANCE,
8667754Smsmith * INSTALLATION, TRAINING OR OTHER SERVICES.  INTEL WILL NOT PROVIDE ANY
8767754Smsmith * UPDATES, ENHANCEMENTS OR EXTENSIONS.  INTEL SPECIFICALLY DISCLAIMS ANY
8867754Smsmith * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
8967754Smsmith * PARTICULAR PURPOSE.
9067754Smsmith *
9167754Smsmith * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
9267754Smsmith * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
9367754Smsmith * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
9467754Smsmith * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
9567754Smsmith * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
9667754Smsmith * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.  THESE LIMITATIONS
9767754Smsmith * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
9867754Smsmith * LIMITED REMEDY.
9967754Smsmith *
10067754Smsmith * 4.3. Licensee shall not export, either directly or indirectly, any of this
10167754Smsmith * software or system incorporating such software without first obtaining any
10267754Smsmith * required license or other approval from the U. S. Department of Commerce or
10367754Smsmith * any other agency or department of the United States Government.  In the
10467754Smsmith * event Licensee exports any such software from the United States or
10567754Smsmith * re-exports any such software from a foreign destination, Licensee shall
10667754Smsmith * ensure that the distribution and export/re-export of the software is in
10767754Smsmith * compliance with all laws, regulations, orders, or other restrictions of the
10867754Smsmith * U.S. Export Administration Regulations. Licensee agrees that neither it nor
10967754Smsmith * any of its subsidiaries will export/re-export any technical data, process,
11067754Smsmith * software, or service, directly or indirectly, to any country for which the
11167754Smsmith * United States government or any agency thereof requires an export license,
11267754Smsmith * other governmental approval, or letter of assurance, without first obtaining
11367754Smsmith * such license, approval or letter.
11467754Smsmith *
11567754Smsmith *****************************************************************************/
11667754Smsmith
11767754Smsmith#ifndef __ACRESRC_H__
11867754Smsmith#define __ACRESRC_H__
11967754Smsmith
120151937Sjkim/* Need the AML resource descriptor structs */
12167754Smsmith
122193341Sjkim#include <contrib/dev/acpica/include/amlresrc.h>
123151937Sjkim
124151937Sjkim
12567754Smsmith/*
126151937Sjkim * If possible, pack the following structures to byte alignment, since we
127167802Sjkim * don't care about performance for debug output. Two cases where we cannot
128167802Sjkim * pack the structures:
129167802Sjkim *
130167802Sjkim * 1) Hardware does not support misaligned memory transfers
131167802Sjkim * 2) Compiler does not support pointers within packed structures
13267754Smsmith */
133167802Sjkim#if (!defined(ACPI_MISALIGNMENT_NOT_SUPPORTED) && !defined(ACPI_PACKED_POINTERS_NOT_SUPPORTED))
134151937Sjkim#pragma pack(1)
135151937Sjkim#endif
13667754Smsmith
137151937Sjkim/*
138151937Sjkim * Individual entry for the resource conversion tables
139151937Sjkim */
140151937Sjkimtypedef const struct acpi_rsconvert_info
141151937Sjkim{
142151937Sjkim    UINT8                   Opcode;
143151937Sjkim    UINT8                   ResourceOffset;
144151937Sjkim    UINT8                   AmlOffset;
145151937Sjkim    UINT8                   Value;
14667754Smsmith
147151937Sjkim} ACPI_RSCONVERT_INFO;
14867754Smsmith
149151937Sjkim/* Resource conversion opcodes */
15067754Smsmith
151151937Sjkim#define ACPI_RSC_INITGET                0
152151937Sjkim#define ACPI_RSC_INITSET                1
153151937Sjkim#define ACPI_RSC_FLAGINIT               2
154151937Sjkim#define ACPI_RSC_1BITFLAG               3
155151937Sjkim#define ACPI_RSC_2BITFLAG               4
156151937Sjkim#define ACPI_RSC_COUNT                  5
157151937Sjkim#define ACPI_RSC_COUNT16                6
158151937Sjkim#define ACPI_RSC_LENGTH                 7
159151937Sjkim#define ACPI_RSC_MOVE8                  8
160151937Sjkim#define ACPI_RSC_MOVE16                 9
161151937Sjkim#define ACPI_RSC_MOVE32                 10
162151937Sjkim#define ACPI_RSC_MOVE64                 11
163151937Sjkim#define ACPI_RSC_SET8                   12
164151937Sjkim#define ACPI_RSC_DATA8                  13
165151937Sjkim#define ACPI_RSC_ADDRESS                14
166151937Sjkim#define ACPI_RSC_SOURCE                 15
167151937Sjkim#define ACPI_RSC_SOURCEX                16
168151937Sjkim#define ACPI_RSC_BITMASK                17
169151937Sjkim#define ACPI_RSC_BITMASK16              18
170151937Sjkim#define ACPI_RSC_EXIT_NE                19
171151937Sjkim#define ACPI_RSC_EXIT_LE                20
172193267Sjkim#define ACPI_RSC_EXIT_EQ                21
17367754Smsmith
174151937Sjkim/* Resource Conversion sub-opcodes */
175114237Snjl
176151937Sjkim#define ACPI_RSC_COMPARE_AML_LENGTH     0
177151937Sjkim#define ACPI_RSC_COMPARE_VALUE          1
17867754Smsmith
179151937Sjkim#define ACPI_RSC_TABLE_SIZE(d)          (sizeof (d) / sizeof (ACPI_RSCONVERT_INFO))
18067754Smsmith
181151937Sjkim#define ACPI_RS_OFFSET(f)               (UINT8) ACPI_OFFSET (ACPI_RESOURCE,f)
182151937Sjkim#define AML_OFFSET(f)                   (UINT8) ACPI_OFFSET (AML_RESOURCE,f)
18367754Smsmith
18467754Smsmith
185151937Sjkimtypedef const struct acpi_rsdump_info
186151937Sjkim{
187151937Sjkim    UINT8                   Opcode;
188151937Sjkim    UINT8                   Offset;
189151937Sjkim    char                    *Name;
190167802Sjkim    const char              **Pointer;
19199679Siwasaki
192151937Sjkim} ACPI_RSDUMP_INFO;
193102550Siwasaki
194151937Sjkim/* Values for the Opcode field above */
19599679Siwasaki
196151937Sjkim#define ACPI_RSD_TITLE                  0
197151937Sjkim#define ACPI_RSD_LITERAL                1
198151937Sjkim#define ACPI_RSD_STRING                 2
199151937Sjkim#define ACPI_RSD_UINT8                  3
200151937Sjkim#define ACPI_RSD_UINT16                 4
201151937Sjkim#define ACPI_RSD_UINT32                 5
202151937Sjkim#define ACPI_RSD_UINT64                 6
203151937Sjkim#define ACPI_RSD_1BITFLAG               7
204151937Sjkim#define ACPI_RSD_2BITFLAG               8
205151937Sjkim#define ACPI_RSD_SHORTLIST              9
206151937Sjkim#define ACPI_RSD_LONGLIST               10
207151937Sjkim#define ACPI_RSD_DWORDLIST              11
208151937Sjkim#define ACPI_RSD_ADDRESS                12
209151937Sjkim#define ACPI_RSD_SOURCE                 13
21099679Siwasaki
211151937Sjkim/* restore default alignment */
21299679Siwasaki
213151937Sjkim#pragma pack()
21499679Siwasaki
21599679Siwasaki
216151937Sjkim/* Resource tables indexed by internal resource type */
21799679Siwasaki
218151937Sjkimextern const UINT8              AcpiGbl_AmlResourceSizes[];
219151937Sjkimextern ACPI_RSCONVERT_INFO      *AcpiGbl_SetResourceDispatch[];
22099679Siwasaki
221151937Sjkim/* Resource tables indexed by raw AML resource descriptor type */
22267754Smsmith
223167802Sjkimextern const UINT8              AcpiGbl_ResourceStructSizes[];
224167802Sjkimextern ACPI_RSCONVERT_INFO      *AcpiGbl_GetResourceDispatch[];
22567754Smsmith
22667754Smsmith
227167802Sjkimtypedef struct acpi_vendor_walk_info
228167802Sjkim{
229167802Sjkim    ACPI_VENDOR_UUID        *Uuid;
230167802Sjkim    ACPI_BUFFER             *Buffer;
231167802Sjkim    ACPI_STATUS             Status;
232167802Sjkim
233167802Sjkim} ACPI_VENDOR_WALK_INFO;
234167802Sjkim
235167802Sjkim
236151937Sjkim/*
237151937Sjkim * rscreate
238151937Sjkim */
23967754SmsmithACPI_STATUS
240151937SjkimAcpiRsCreateResourceList (
241151937Sjkim    ACPI_OPERAND_OBJECT     *AmlBuffer,
242151937Sjkim    ACPI_BUFFER             *OutputBuffer);
24367754Smsmith
24467754SmsmithACPI_STATUS
245151937SjkimAcpiRsCreateAmlResources (
24677424Smsmith    ACPI_RESOURCE           *LinkedListBuffer,
247151937Sjkim    ACPI_BUFFER             *OutputBuffer);
24867754Smsmith
24967754SmsmithACPI_STATUS
250151937SjkimAcpiRsCreatePciRoutingTable (
25167754Smsmith    ACPI_OPERAND_OBJECT     *PackageObject,
252151937Sjkim    ACPI_BUFFER             *OutputBuffer);
25367754Smsmith
25467754Smsmith
255151937Sjkim/*
256151937Sjkim * rsutils
257151937Sjkim */
25867754SmsmithACPI_STATUS
259151937SjkimAcpiRsGetPrtMethodData (
260167802Sjkim    ACPI_NAMESPACE_NODE     *Node,
261151937Sjkim    ACPI_BUFFER             *RetBuffer);
26267754Smsmith
26367754SmsmithACPI_STATUS
264151937SjkimAcpiRsGetCrsMethodData (
265167802Sjkim    ACPI_NAMESPACE_NODE     *Node,
266151937Sjkim    ACPI_BUFFER             *RetBuffer);
26767754Smsmith
26867754SmsmithACPI_STATUS
269151937SjkimAcpiRsGetPrsMethodData (
270167802Sjkim    ACPI_NAMESPACE_NODE     *Node,
271151937Sjkim    ACPI_BUFFER             *RetBuffer);
27267754Smsmith
27367754SmsmithACPI_STATUS
274151937SjkimAcpiRsGetMethodData (
275151937Sjkim    ACPI_HANDLE             Handle,
276151937Sjkim    char                    *Path,
277151937Sjkim    ACPI_BUFFER             *RetBuffer);
27867754Smsmith
27967754SmsmithACPI_STATUS
280151937SjkimAcpiRsSetSrsMethodData (
281167802Sjkim    ACPI_NAMESPACE_NODE     *Node,
282151937Sjkim    ACPI_BUFFER             *RetBuffer);
28367754Smsmith
28467754Smsmith
285151937Sjkim/*
286151937Sjkim * rscalc
287151937Sjkim */
28867754SmsmithACPI_STATUS
289151937SjkimAcpiRsGetListLength (
290151937Sjkim    UINT8                   *AmlBuffer,
291151937Sjkim    UINT32                  AmlBufferLength,
292151937Sjkim    ACPI_SIZE               *SizeNeeded);
29367754Smsmith
29467754SmsmithACPI_STATUS
295151937SjkimAcpiRsGetAmlLength (
296151937Sjkim    ACPI_RESOURCE           *LinkedListBuffer,
297151937Sjkim    ACPI_SIZE               *SizeNeeded);
29867754Smsmith
29967754SmsmithACPI_STATUS
300151937SjkimAcpiRsGetPciRoutingTableLength (
301151937Sjkim    ACPI_OPERAND_OBJECT     *PackageObject,
302151937Sjkim    ACPI_SIZE               *BufferSizeNeeded);
30367754Smsmith
30467754SmsmithACPI_STATUS
305151937SjkimAcpiRsConvertAmlToResources (
306167802Sjkim    UINT8                   *Aml,
307167802Sjkim    UINT32                  Length,
308167802Sjkim    UINT32                  Offset,
309167802Sjkim    UINT8                   ResourceIndex,
310167802Sjkim    void                    *Context);
31167754Smsmith
31267754SmsmithACPI_STATUS
313151937SjkimAcpiRsConvertResourcesToAml (
314151937Sjkim    ACPI_RESOURCE           *Resource,
315151937Sjkim    ACPI_SIZE               AmlSizeNeeded,
316151937Sjkim    UINT8                   *OutputBuffer);
31767754Smsmith
31867754Smsmith
319151937Sjkim/*
320151937Sjkim * rsaddr
321151937Sjkim */
322151937Sjkimvoid
323151937SjkimAcpiRsSetAddressCommon (
324151937Sjkim    AML_RESOURCE            *Aml,
325151937Sjkim    ACPI_RESOURCE           *Resource);
32667754Smsmith
327151937SjkimBOOLEAN
328151937SjkimAcpiRsGetAddressCommon (
329151937Sjkim    ACPI_RESOURCE           *Resource,
330151937Sjkim    AML_RESOURCE            *Aml);
33177424Smsmith
33277424Smsmith
333151937Sjkim/*
334151937Sjkim * rsmisc
335151937Sjkim */
33677424SmsmithACPI_STATUS
337151937SjkimAcpiRsConvertAmlToResource (
338151937Sjkim    ACPI_RESOURCE           *Resource,
339151937Sjkim    AML_RESOURCE            *Aml,
340151937Sjkim    ACPI_RSCONVERT_INFO     *Info);
34167754Smsmith
34267754SmsmithACPI_STATUS
343151937SjkimAcpiRsConvertResourceToAml (
344151937Sjkim    ACPI_RESOURCE           *Resource,
345151937Sjkim    AML_RESOURCE            *Aml,
346151937Sjkim    ACPI_RSCONVERT_INFO     *Info);
34767754Smsmith
34867754Smsmith
349151937Sjkim/*
350151937Sjkim * rsutils
351151937Sjkim */
352151937Sjkimvoid
353151937SjkimAcpiRsMoveData (
354151937Sjkim    void                    *Destination,
355151937Sjkim    void                    *Source,
356151937Sjkim    UINT16                  ItemCount,
357151937Sjkim    UINT8                   MoveType);
35867754Smsmith
359151937SjkimUINT8
360151937SjkimAcpiRsDecodeBitmask (
361151937Sjkim    UINT16                  Mask,
362151937Sjkim    UINT8                   *List);
36367754Smsmith
364151937SjkimUINT16
365151937SjkimAcpiRsEncodeBitmask (
366151937Sjkim    UINT8                   *List,
367151937Sjkim    UINT8                   Count);
36867754Smsmith
369151937SjkimACPI_RS_LENGTH
370151937SjkimAcpiRsGetResourceSource (
371151937Sjkim    ACPI_RS_LENGTH          ResourceLength,
372151937Sjkim    ACPI_RS_LENGTH          MinimumLength,
373151937Sjkim    ACPI_RESOURCE_SOURCE    *ResourceSource,
374151937Sjkim    AML_RESOURCE            *Aml,
375151937Sjkim    char                    *StringPtr);
37667754Smsmith
377151937SjkimACPI_RSDESC_SIZE
378151937SjkimAcpiRsSetResourceSource (
379151937Sjkim    AML_RESOURCE            *Aml,
380151937Sjkim    ACPI_RS_LENGTH          MinimumLength,
381151937Sjkim    ACPI_RESOURCE_SOURCE    *ResourceSource);
38267754Smsmith
383151937Sjkimvoid
384151937SjkimAcpiRsSetResourceHeader (
385151937Sjkim    UINT8                   DescriptorType,
386151937Sjkim    ACPI_RSDESC_SIZE        TotalLength,
387151937Sjkim    AML_RESOURCE            *Aml);
38867754Smsmith
389151937Sjkimvoid
390151937SjkimAcpiRsSetResourceLength (
391151937Sjkim    ACPI_RSDESC_SIZE        TotalLength,
392151937Sjkim    AML_RESOURCE            *Aml);
39367754Smsmith
39467754Smsmith
395151937Sjkim/*
396151937Sjkim * rsdump
397151937Sjkim */
398151937Sjkimvoid
399151937SjkimAcpiRsDumpResourceList (
400151937Sjkim    ACPI_RESOURCE           *Resource);
40167754Smsmith
402151937Sjkimvoid
403151937SjkimAcpiRsDumpIrqList (
404151937Sjkim    UINT8                   *RouteTable);
40567754Smsmith
40667754Smsmith
407151937Sjkim/*
408151937Sjkim * Resource conversion tables
409151937Sjkim */
410151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsConvertDma[];
411151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsConvertEndDpf[];
412151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsConvertIo[];
413151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsConvertFixedIo[];
414151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsConvertEndTag[];
415151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsConvertMemory24[];
416151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsConvertGenericReg[];
417151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsConvertMemory32[];
418151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsConvertFixedMemory32[];
419151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsConvertAddress32[];
420151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsConvertAddress16[];
421151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsConvertExtIrq[];
422151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsConvertAddress64[];
423151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsConvertExtAddress64[];
42467754Smsmith
425151937Sjkim/* These resources require separate get/set tables */
42667754Smsmith
427151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsGetIrq[];
428151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsGetStartDpf[];
429151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsGetVendorSmall[];
430151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsGetVendorLarge[];
431151937Sjkim
432151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsSetIrq[];
433151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsSetStartDpf[];
434151937Sjkimextern ACPI_RSCONVERT_INFO      AcpiRsSetVendor[];
435151937Sjkim
436151937Sjkim
437151937Sjkim#if defined(ACPI_DEBUG_OUTPUT) || defined(ACPI_DEBUGGER)
438151937Sjkim/*
439151937Sjkim * rsinfo
440151937Sjkim */
441151937Sjkimextern ACPI_RSDUMP_INFO         *AcpiGbl_DumpResourceDispatch[];
442151937Sjkim
443151937Sjkim/*
444151937Sjkim * rsdump
445151937Sjkim */
446151937Sjkimextern ACPI_RSDUMP_INFO         AcpiRsDumpIrq[];
447151937Sjkimextern ACPI_RSDUMP_INFO         AcpiRsDumpDma[];
448151937Sjkimextern ACPI_RSDUMP_INFO         AcpiRsDumpStartDpf[];
449151937Sjkimextern ACPI_RSDUMP_INFO         AcpiRsDumpEndDpf[];
450151937Sjkimextern ACPI_RSDUMP_INFO         AcpiRsDumpIo[];
451151937Sjkimextern ACPI_RSDUMP_INFO         AcpiRsDumpFixedIo[];
452151937Sjkimextern ACPI_RSDUMP_INFO         AcpiRsDumpVendor[];
453151937Sjkimextern ACPI_RSDUMP_INFO         AcpiRsDumpEndTag[];
454151937Sjkimextern ACPI_RSDUMP_INFO         AcpiRsDumpMemory24[];
455151937Sjkimextern ACPI_RSDUMP_INFO         AcpiRsDumpMemory32[];
456151937Sjkimextern ACPI_RSDUMP_INFO         AcpiRsDumpFixedMemory32[];
457151937Sjkimextern ACPI_RSDUMP_INFO         AcpiRsDumpAddress16[];
458151937Sjkimextern ACPI_RSDUMP_INFO         AcpiRsDumpAddress32[];
459151937Sjkimextern ACPI_RSDUMP_INFO         AcpiRsDumpAddress64[];
460151937Sjkimextern ACPI_RSDUMP_INFO         AcpiRsDumpExtAddress64[];
461151937Sjkimextern ACPI_RSDUMP_INFO         AcpiRsDumpExtIrq[];
462151937Sjkimextern ACPI_RSDUMP_INFO         AcpiRsDumpGenericReg[];
463151937Sjkim#endif
464151937Sjkim
46567754Smsmith#endif  /* __ACRESRC_H__ */
466