1 /******************************************************************************
3 * Module Name: aslcompiler.h - common include file for iASL
5 *****************************************************************************/
7 /******************************************************************************
11 * Some or all of this work - Copyright (c) 1999 - 2019, Intel Corp.
12 * All rights reserved.
16 * 2.1. This is your license from Intel Corp. under its intellectual property
17 * rights. You may have additional license terms from the party that provided
18 * you this software, covering your right to use that party's intellectual
21 * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
22 * copy of the source code appearing in this file ("Covered Code") an
23 * irrevocable, perpetual, worldwide license under Intel's copyrights in the
24 * base code distributed originally by Intel ("Original Intel Code") to copy,
25 * make derivatives, distribute, use and display any portion of the Covered
26 * Code in any form, with the right to sublicense such rights; and
28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
29 * license (with the right to sublicense), under only those claims of Intel
30 * patents that are infringed by the Original Intel Code, to make, use, sell,
31 * offer to sell, and import the Covered Code and derivative works thereof
32 * solely to the minimum extent necessary to exercise the above copyright
33 * license, and in no event shall the patent license extend to any additions
34 * to or modifications of the Original Intel Code. No other license or right
35 * is granted directly or by implication, estoppel or otherwise;
37 * The above copyright and patent license is granted only if the following
42 * 3.1. Redistribution of Source with Rights to Further Distribute Source.
43 * Redistribution of source code of any substantial portion of the Covered
44 * Code or modification with rights to further distribute source must include
45 * the above Copyright Notice, the above License, this list of Conditions,
46 * and the following Disclaimer and Export Compliance provision. In addition,
47 * Licensee must cause all Covered Code to which Licensee contributes to
48 * contain a file documenting the changes Licensee made to create that Covered
49 * Code and the date of any change. Licensee must include in that file the
50 * documentation of any changes made by any predecessor Licensee. Licensee
51 * must include a prominent statement that the modification is derived,
52 * directly or indirectly, from Original Intel Code.
54 * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
55 * Redistribution of source code of any substantial portion of the Covered
56 * Code or modification without rights to further distribute source must
57 * include the following Disclaimer and Export Compliance provision in the
58 * documentation and/or other materials provided with distribution. In
59 * addition, Licensee may not authorize further sublicense of source of any
60 * portion of the Covered Code, and must include terms to the effect that the
61 * license from Licensee to its licensee is limited to the intellectual
62 * property embodied in the software Licensee provides to its licensee, and
63 * not to intellectual property embodied in modifications its licensee may
66 * 3.3. Redistribution of Executable. Redistribution in executable form of any
67 * substantial portion of the Covered Code or modification must reproduce the
68 * above Copyright Notice, and the following Disclaimer and Export Compliance
69 * provision in the documentation and/or other materials provided with the
72 * 3.4. Intel retains all right, title, and interest in and to the Original
75 * 3.5. Neither the name Intel nor any other trademark owned or controlled by
76 * Intel shall be used in advertising or otherwise to promote the sale, use or
77 * other dealings in products derived from or relating to the Covered Code
78 * without prior written authorization from Intel.
80 * 4. Disclaimer and Export Compliance
82 * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
83 * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
84 * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE,
85 * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY
86 * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY
87 * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
90 * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
91 * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
92 * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
93 * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
94 * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
95 * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS
96 * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
99 * 4.3. Licensee shall not export, either directly or indirectly, any of this
100 * software or system incorporating such software without first obtaining any
101 * required license or other approval from the U. S. Department of Commerce or
102 * any other agency or department of the United States Government. In the
103 * event Licensee exports any such software from the United States or
104 * re-exports any such software from a foreign destination, Licensee shall
105 * ensure that the distribution and export/re-export of the software is in
106 * compliance with all laws, regulations, orders, or other restrictions of the
107 * U.S. Export Administration Regulations. Licensee agrees that neither it nor
108 * any of its subsidiaries will export/re-export any technical data, process,
109 * software, or service, directly or indirectly, to any country for which the
110 * United States government or any agency thereof requires an export license,
111 * other governmental approval, or letter of assurance, without first obtaining
112 * such license, approval or letter.
114 *****************************************************************************
116 * Alternatively, you may choose to be licensed under the terms of the
119 * Redistribution and use in source and binary forms, with or without
120 * modification, are permitted provided that the following conditions
122 * 1. Redistributions of source code must retain the above copyright
123 * notice, this list of conditions, and the following disclaimer,
124 * without modification.
125 * 2. Redistributions in binary form must reproduce at minimum a disclaimer
126 * substantially similar to the "NO WARRANTY" disclaimer below
127 * ("Disclaimer") and any redistribution must be conditioned upon
128 * including a substantially similar Disclaimer requirement for further
129 * binary redistribution.
130 * 3. Neither the names of the above-listed copyright holders nor the names
131 * of any contributors may be used to endorse or promote products derived
132 * from this software without specific prior written permission.
134 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
135 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
136 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
137 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
138 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
139 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
140 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
141 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
142 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
143 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
144 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
146 * Alternatively, you may choose to be licensed under the terms of the
147 * GNU General Public License ("GPL") version 2 as published by the Free
148 * Software Foundation.
150 *****************************************************************************/
152 #ifndef __ASLCOMPILER_H
153 #define __ASLCOMPILER_H
156 #include "accommon.h"
157 #include "amlresrc.h"
160 /* Microsoft-specific */
162 #if (defined WIN32 || defined WIN64)
164 /* warn : used #pragma pack */
165 #pragma warning(disable:4103)
167 /* warn : named type definition in parentheses */
168 #pragma warning(disable:4115)
177 /* Compiler headers */
179 #include "asldefine.h"
180 #include "asltypes.h"
181 #include "aslmessages.h"
182 #include "aslglobal.h"
183 #include "preprocess.h"
184 #include "dtcompiler.h"
187 /*******************************************************************************
189 * Compiler prototypes
191 ******************************************************************************/
194 * Main ASL parser - generated from flex/bison, lex/yacc, etc.
205 AslResetCurrentLineBuffer (
209 AslInsertLineBuffer (
213 AslPopInputFileStack (
217 AslPushInputFileStack (
227 * aslstartup - entered from main()
230 AslInitializeGlobals (
234 ACPI_STATUS (*ASL_PATHNAME_CALLBACK) (
242 AslCheckForErrorExit (
247 * aslcompile - compile mainline
254 AslCompilerFileHeader (
262 CmDoAslMiddleAndBackEnd (
279 * aslallocate - memory allocation
286 UtExpandLineBuffers (
290 UtReallocLineBuffers (
301 * aslcache - local cache support
308 UtParseOpCacheCalloc (
312 UtSubtableCacheCalloc (
320 UtDeleteLocalCaches (
325 * aslascii - ascii support
328 FlIsFileAsciiSource (
330 BOOLEAN DisplayErrors);
334 * aslwalks - semantic analysis and parse tree walks
337 AnOtherSemanticAnalysisWalkBegin (
338 ACPI_PARSE_OBJECT *Op,
343 AnOtherSemanticAnalysisWalkEnd (
344 ACPI_PARSE_OBJECT *Op,
349 AnOperandTypecheckWalkEnd (
350 ACPI_PARSE_OBJECT *Op,
355 AnMethodTypingWalkEnd (
356 ACPI_PARSE_OBJECT *Op,
362 * aslmethod - Control method analysis walk
365 MtMethodAnalysisWalkBegin (
366 ACPI_PARSE_OBJECT *Op,
371 MtMethodAnalysisWalkEnd (
372 ACPI_PARSE_OBJECT *Op,
378 * aslbtypes - bitfield data types
381 AnMapObjTypeToBtype (
382 ACPI_PARSE_OBJECT *Op);
385 AnMapArgTypeToBtype (
390 ACPI_PARSE_OBJECT *Op);
399 * aslanalyze - Support functions for parse tree walks
403 ACPI_PARSE_OBJECT *Op,
406 /* Values for Type argument above */
408 #define ASL_TYPE_HID 0
409 #define ASL_TYPE_CID 1
413 ACPI_PARSE_OBJECT *Op);
416 AnGetInternalMethodReturnType (
417 ACPI_PARSE_OBJECT *Op);
420 AnLastStatementIsReturn (
421 ACPI_PARSE_OBJECT *Op);
424 AnCheckMethodReturnValue (
425 ACPI_PARSE_OBJECT *Op,
426 const ACPI_OPCODE_INFO *OpInfo,
427 ACPI_PARSE_OBJECT *ArgOp,
428 UINT32 RequiredBtypes,
429 UINT32 ThisNodeBtype);
433 ACPI_PARSE_OBJECT *Op);
436 ApCheckForGpeNameConflict (
437 ACPI_PARSE_OBJECT *Op);
441 ACPI_PARSE_OBJECT *Op);
446 ACPI_PARSE_OBJECT *Op);
449 ApFindNameInDeviceTree (
451 ACPI_PARSE_OBJECT *Op);
454 * aslerror - error handling/reporting
461 AslDualParseOpError (
463 UINT16 MainMessageId,
464 ACPI_PARSE_OBJECT *MainOp,
466 UINT16 SecondMessageId,
467 ACPI_PARSE_OBJECT *SecondOp,
468 char *SecondaryMessage);
474 ACPI_PARSE_OBJECT *Op,
478 AslCheckExpectedExceptions (
483 char *MessageIdString);
486 AslElevateException (
487 char *MessageIdString);
490 AslDisableException (
491 char *MessageIdString);
494 AslIsExceptionIgnored (
499 AslCoreSubsystemError (
500 ACPI_PARSE_OBJECT *Op,
513 UINT32 CurrentLineNumber,
514 UINT32 LogicalLineNumber,
515 UINT32 LogicalByteOffset,
533 ASL_ERROR_MSG *Enode,
546 * asllisting - generate all "listing" type files
553 LsWriteNodeToAsmListing (
554 ACPI_PARSE_OBJECT *Op);
558 ACPI_PARSE_OBJECT *Op,
567 * asllistsup - Listing file support utilities
576 LsDumpAsciiInComment (
587 LsFlushListingBuffer (
591 LsWriteListingHexBytes (
599 UINT32 ToLogicalLineNumber,
603 LsWriteOneSourceLine (
616 * aslhex - generate all "hex" output files (C, ASM, ASL)
624 * aslfold - constant folding
628 ACPI_PARSE_OBJECT *Op,
634 * aslmessages - exception strings
641 AeDecodeExceptionLevel (
645 AeBuildFullExceptionCode (
650 * asloffset - generate C offset file for BIOS support
654 ACPI_PARSE_OBJECT *Op,
659 LsDoOffsetTableHeader (
663 LsDoOffsetTableFooter (
668 * aslopcodes - generate AML opcodes
672 ACPI_PARSE_OBJECT *Op,
677 OpcAmlOpcodeUpdateWalk (
678 ACPI_PARSE_OBJECT *Op,
683 OpcGenerateAmlOpcode (
684 ACPI_PARSE_OBJECT *Op);
687 OpcSetOptimalIntegerSize (
688 ACPI_PARSE_OBJECT *Op);
692 ACPI_PARSE_OBJECT *Op);
696 * asloperands - generate AML operands for the AML opcodes
700 ACPI_PARSE_OBJECT *Op,
704 OpnGenerateAmlOperands (
705 ACPI_PARSE_OBJECT *Op);
709 ACPI_PARSE_OBJECT *Op);
713 * aslopt - optimization
716 OptOptimizeNamePath (
717 ACPI_PARSE_OBJECT *Op,
719 ACPI_WALK_STATE *WalkState,
721 ACPI_NAMESPACE_NODE *TargetNode);
725 * aslpld - ToPLD macro support
729 ACPI_PARSE_OBJECT *Op);
733 * aslprintf - Printf/Fprintf macros
737 ACPI_PARSE_OBJECT *Op);
741 ACPI_PARSE_OBJECT *Op);
745 * aslprune - parse tree pruner
754 * aslcodegen - code generation
757 CgGenerateAmlOutput (
761 CgLocalWriteAmlData (
762 ACPI_PARSE_OBJECT *Op,
778 * asllength - calculate/adjust AML package lengths
781 LnPackageLengthWalk (
782 ACPI_PARSE_OBJECT *Op,
788 ACPI_PARSE_OBJECT *Op,
793 CgGenerateAmlLengths (
794 ACPI_PARSE_OBJECT *Op);
798 * aslmap - opcode mappings and reserved method names
801 AslMapNamedOpcodeToDataType (
806 * aslpredef - ACPI predefined names support
809 ApCheckForPredefinedMethod (
810 ACPI_PARSE_OBJECT *Op,
811 ASL_METHOD_INFO *MethodInfo);
814 ApCheckPredefinedReturnValue (
815 ACPI_PARSE_OBJECT *Op,
816 ASL_METHOD_INFO *MethodInfo);
819 ApCheckForPredefinedName (
820 ACPI_PARSE_OBJECT *Op,
824 ApCheckForPredefinedObject (
825 ACPI_PARSE_OBJECT *Op,
830 const char *PredefinedName,
831 ACPI_PARSE_OBJECT *Op,
832 UINT32 ExpectedBtypes,
833 UINT32 PackageIndex);
836 ApDisplayReservedNames (
841 * aslprepkg - ACPI predefined names support for packages
845 ACPI_PARSE_OBJECT *ParentOp,
846 const ACPI_PREDEFINED_INFO *Predefined);
850 * asltransform - parse tree transformations
853 TrAmlTransformWalkBegin (
854 ACPI_PARSE_OBJECT *Op,
859 TrAmlTransformWalkEnd (
860 ACPI_PARSE_OBJECT *Op,
866 * aslexternal - External opcode support
869 ExAmlExternalWalkBegin (
870 ACPI_PARSE_OBJECT *Op,
875 ExAmlExternalWalkEnd (
876 ACPI_PARSE_OBJECT *Op,
882 ACPI_PARSE_OBJECT *Op);
884 /* Values for "Visitation" parameter above */
886 #define ASL_WALK_VISIT_DOWNWARD 0x01
887 #define ASL_WALK_VISIT_UPWARD 0x02
888 #define ASL_WALK_VISIT_DB_SEPARATELY 0x04
889 #define ASL_WALK_VISIT_TWICE (ASL_WALK_VISIT_DOWNWARD | ASL_WALK_VISIT_UPWARD)
893 * aslparseop.c - Parse op create/allocate/cache
906 TrCreateNullTargetOp (
910 TrCreateAssignmentOp (
911 ACPI_PARSE_OBJECT *Target,
912 ACPI_PARSE_OBJECT *Source);
916 ACPI_PARSE_OBJECT *OriginalOp,
917 ACPI_PARSE_OBJECT *ParentOp);
920 TrCreateValuedLeafOp (
925 TrCreateConstantLeafOp (
939 * asltree.c - Parse tree management
943 ACPI_PARSE_OBJECT *Op,
944 ACPI_PARSE_OBJECT *ParentOp);
947 TrSetOpIntegerValue (
949 ACPI_PARSE_OBJECT *Op);
952 TrSetOpEndLineNumber (
953 ACPI_PARSE_OBJECT *Op);
956 TrSetOpCurrentFilename (
957 ACPI_PARSE_OBJECT *Op);
960 TrSetOpIntegerWidth (
961 ACPI_PARSE_OBJECT *TableSignature,
962 ACPI_PARSE_OBJECT *Revision);
966 ACPI_PARSE_OBJECT *Op,
972 ACPI_PARSE_OBJECT *Op1,
973 ACPI_PARSE_OBJECT *Op2);
977 ACPI_PARSE_OBJECT *Op1,
978 ACPI_PARSE_OBJECT *Op2);
982 ACPI_PARSE_OBJECT *Op,
987 ACPI_PARSE_OBJECT *Op,
997 ACPI_PARSE_OBJECT *Op,
999 ASL_WALK_CALLBACK DescendingCallback,
1000 ASL_WALK_CALLBACK AscendingCallback,
1005 * aslfiles - File I/O support
1008 FlAddIncludeDirectory (
1014 char *FilePathname);
1018 ACPI_PARSE_OBJECT *Op);
1075 char *InputFilename);
1078 FlOpenAmlOutputFile (
1079 char *InputFilename);
1082 FlOpenMiscOutputFiles (
1083 char *InputFilename);
1087 char *InputFilename);
1089 ASL_FILE_SWITCH_STATUS
1091 char *InputFilename);
1099 ASL_GLOBAL_FILE_NODE *
1104 ASL_GLOBAL_FILE_NODE *
1105 FlGetCurrentFileNode (
1110 * aslhwmap - hardware map summary
1118 * asload - load namespace in prep for cross reference
1122 ACPI_PARSE_OBJECT *RootOp);
1125 * asllookup - namespace lookup functions
1128 LkFindUnreferencedObjects (
1133 * aslhelp - help screens
1144 AslDisassemblyHelp (
1149 * aslnamesp - namespace output file generation
1152 NsDisplayNamespace (
1156 NsSetupNamespaceListing (
1161 * asloptions - command line processing
1170 * aslxref - namespace cross reference
1173 XfCrossReferenceNamespace (
1190 ACPI_PARSE_OBJECT *Op,
1192 ASL_METHOD_INFO *MethodInfo);
1196 * aslutils - common compiler utilities
1204 /* Type values for above */
1206 #define ASL_DEBUG_OUTPUT 0
1207 #define ASL_PARSE_OUTPUT 1
1208 #define ASL_TREE_OUTPUT 2
1211 UtIsBigEndianMachine (
1215 UtQueryForOverwrite (
1220 ACPI_PARSE_OBJECT *Op,
1225 ACPI_PARSE_OBJECT *Op,
1227 UINT32 IntegerLength);
1231 ACPI_PARSE_OBJECT *Op,
1236 ACPI_NAMESPACE_NODE *Node);
1239 UtNodeIsDescendantOf (
1240 ACPI_NAMESPACE_NODE *Node1,
1241 ACPI_NAMESPACE_NODE *Node2);
1244 UtDisplaySupportedTables (
1248 UtDisplayConstantOpcodes (
1264 UtDisplayOneSummary (
1266 BOOLEAN DisplayErrorSummary);
1269 UtConvertByteToHex (
1274 UtConvertByteToAsmHex (
1280 UINT32 ParseOpcode);
1284 ACPI_PARSE_OBJECT *Op);
1289 char **ConvertedName);
1292 UtAttachNamepathToOwner (
1293 ACPI_PARSE_OBJECT *Op,
1294 ACPI_PARSE_OBJECT *NameNode);
1297 UtCheckIntegerRange (
1298 ACPI_PARSE_OBJECT *Op,
1308 * asluuid - UUID support
1315 AuConvertUuidToString (
1321 * aslresource - Resource template generation utilities
1324 RsSmallAddressCheck (
1330 ACPI_PARSE_OBJECT *MinOp,
1331 ACPI_PARSE_OBJECT *MaxOp,
1332 ACPI_PARSE_OBJECT *LengthOp,
1333 ACPI_PARSE_OBJECT *AlignOp,
1334 ACPI_PARSE_OBJECT *Op);
1337 RsLargeAddressCheck (
1343 ACPI_PARSE_OBJECT *MinOp,
1344 ACPI_PARSE_OBJECT *MaxOp,
1345 ACPI_PARSE_OBJECT *LengthOp,
1346 ACPI_PARSE_OBJECT *GranOp,
1347 ACPI_PARSE_OBJECT *Op);
1350 RsGetStringDataLength (
1351 ACPI_PARSE_OBJECT *InitializerOp);
1354 RsAllocateResourceNode (
1358 RsCreateResourceField (
1359 ACPI_PARSE_OBJECT *Op,
1368 ACPI_PARSE_OBJECT *Op,
1375 ACPI_PARSE_OBJECT *Op,
1380 RsCompleteNodeAndGetNext (
1381 ACPI_PARSE_OBJECT *Op);
1384 RsCheckListForDuplicates (
1385 ACPI_PARSE_OBJECT *Op);
1388 RsDoOneResourceDescriptor (
1389 ASL_RESOURCE_INFO *Info,
1392 /* Values for State above */
1394 #define ACPI_RSTATE_NORMAL 0
1395 #define ACPI_RSTATE_START_DEPENDENT 1
1396 #define ACPI_RSTATE_DEPENDENT_LIST 2
1399 RsLinkDescriptorChain (
1400 ASL_RESOURCE_NODE **PreviousRnode,
1401 ASL_RESOURCE_NODE *Rnode);
1404 RsDoResourceTemplate (
1405 ACPI_PARSE_OBJECT *Op);
1409 * aslrestype1 - Miscellaneous Small descriptors
1412 RsDoEndTagDescriptor (
1413 ASL_RESOURCE_INFO *Info);
1416 RsDoEndDependentDescriptor (
1417 ASL_RESOURCE_INFO *Info);
1420 RsDoMemory24Descriptor (
1421 ASL_RESOURCE_INFO *Info);
1424 RsDoMemory32Descriptor (
1425 ASL_RESOURCE_INFO *Info);
1428 RsDoMemory32FixedDescriptor (
1429 ASL_RESOURCE_INFO *Info);
1432 RsDoStartDependentDescriptor (
1433 ASL_RESOURCE_INFO *Info);
1436 RsDoStartDependentNoPriDescriptor (
1437 ASL_RESOURCE_INFO *Info);
1440 RsDoVendorSmallDescriptor (
1441 ASL_RESOURCE_INFO *Info);
1445 * aslrestype1i - I/O-related Small descriptors
1449 ASL_RESOURCE_INFO *Info);
1452 RsDoFixedDmaDescriptor (
1453 ASL_RESOURCE_INFO *Info);
1456 RsDoFixedIoDescriptor (
1457 ASL_RESOURCE_INFO *Info);
1461 ASL_RESOURCE_INFO *Info);
1465 ASL_RESOURCE_INFO *Info);
1468 RsDoIrqNoFlagsDescriptor (
1469 ASL_RESOURCE_INFO *Info);
1473 * aslrestype2 - Large resource descriptors
1476 RsDoInterruptDescriptor (
1477 ASL_RESOURCE_INFO *Info);
1480 RsDoVendorLargeDescriptor (
1481 ASL_RESOURCE_INFO *Info);
1484 RsDoGeneralRegisterDescriptor (
1485 ASL_RESOURCE_INFO *Info);
1488 RsDoGpioIntDescriptor (
1489 ASL_RESOURCE_INFO *Info);
1492 RsDoGpioIoDescriptor (
1493 ASL_RESOURCE_INFO *Info);
1496 RsDoI2cSerialBusDescriptor (
1497 ASL_RESOURCE_INFO *Info);
1500 RsDoSpiSerialBusDescriptor (
1501 ASL_RESOURCE_INFO *Info);
1504 RsDoUartSerialBusDescriptor (
1505 ASL_RESOURCE_INFO *Info);
1508 RsDoPinFunctionDescriptor (
1509 ASL_RESOURCE_INFO *Info);
1512 RsDoPinConfigDescriptor (
1513 ASL_RESOURCE_INFO *Info);
1516 RsDoPinGroupDescriptor (
1517 ASL_RESOURCE_INFO *Info);
1520 RsDoPinGroupFunctionDescriptor (
1521 ASL_RESOURCE_INFO *Info);
1524 RsDoPinGroupConfigDescriptor (
1525 ASL_RESOURCE_INFO *Info);
1529 * aslrestype2d - DWord address descriptors
1532 RsDoDwordIoDescriptor (
1533 ASL_RESOURCE_INFO *Info);
1536 RsDoDwordMemoryDescriptor (
1537 ASL_RESOURCE_INFO *Info);
1540 RsDoDwordSpaceDescriptor (
1541 ASL_RESOURCE_INFO *Info);
1545 * aslrestype2e - Extended address descriptors
1548 RsDoExtendedIoDescriptor (
1549 ASL_RESOURCE_INFO *Info);
1552 RsDoExtendedMemoryDescriptor (
1553 ASL_RESOURCE_INFO *Info);
1556 RsDoExtendedSpaceDescriptor (
1557 ASL_RESOURCE_INFO *Info);
1561 * aslrestype2q - QWord address descriptors
1564 RsDoQwordIoDescriptor (
1565 ASL_RESOURCE_INFO *Info);
1568 RsDoQwordMemoryDescriptor (
1569 ASL_RESOURCE_INFO *Info);
1572 RsDoQwordSpaceDescriptor (
1573 ASL_RESOURCE_INFO *Info);
1577 * aslrestype2w - Word address descriptors
1580 RsDoWordIoDescriptor (
1581 ASL_RESOURCE_INFO *Info);
1584 RsDoWordSpaceDescriptor (
1585 ASL_RESOURCE_INFO *Info);
1588 RsDoWordBusNumberDescriptor (
1589 ASL_RESOURCE_INFO *Info);
1593 * Entry to data table compiler subsystem
1605 * ASL/ASL+ converter debug
1613 #endif /* __ASLCOMPILER_H */