1 /******************************************************************************
3 * Module Name: aslcompiler.h - common include file for iASL
5 *****************************************************************************/
7 /******************************************************************************
11 * Some or all of this work - Copyright (c) 1999 - 2021, 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 ACPI_PARSE_OBJECT
*TypeOp
);
381 MtProcessParameterTypeList (
382 ACPI_PARSE_OBJECT
*ParamTypeOp
,
387 * aslbtypes - bitfield data types
390 AnMapObjTypeToBtype (
391 ACPI_PARSE_OBJECT
*Op
);
394 AnMapArgTypeToBtype (
399 ACPI_PARSE_OBJECT
*Op
);
408 * aslanalyze - Support functions for parse tree walks
412 ACPI_PARSE_OBJECT
*Op
,
415 /* Values for Type argument above */
417 #define ASL_TYPE_HID 0
418 #define ASL_TYPE_CID 1
422 ACPI_PARSE_OBJECT
*Op
);
425 AnGetInternalMethodReturnType (
426 ACPI_PARSE_OBJECT
*Op
);
429 AnLastStatementIsReturn (
430 ACPI_PARSE_OBJECT
*Op
);
433 AnCheckMethodReturnValue (
434 ACPI_PARSE_OBJECT
*Op
,
435 const ACPI_OPCODE_INFO
*OpInfo
,
436 ACPI_PARSE_OBJECT
*ArgOp
,
437 UINT32 RequiredBtypes
,
438 UINT32 ThisNodeBtype
);
442 ACPI_PARSE_OBJECT
*Op
);
445 ApCheckForGpeNameConflict (
446 ACPI_PARSE_OBJECT
*Op
);
450 ACPI_PARSE_OBJECT
*Op
);
455 ACPI_PARSE_OBJECT
*Op
);
458 ApFindNameInDeviceTree (
460 ACPI_PARSE_OBJECT
*Op
);
463 * aslerror - error handling/reporting
470 AslDualParseOpError (
472 UINT16 MainMessageId
,
473 ACPI_PARSE_OBJECT
*MainOp
,
475 UINT16 SecondMessageId
,
476 ACPI_PARSE_OBJECT
*SecondOp
,
477 char *SecondaryMessage
);
483 ACPI_PARSE_OBJECT
*Op
,
487 AslCheckExpectedExceptions (
491 AslLogExpectedException (
492 char *MessageIdString
);
495 AslElevateException (
496 char *MessageIdString
);
499 AslDisableException (
500 char *MessageIdString
);
503 AslIsExceptionIgnored (
510 AslLogExpectedExceptionByLine (
511 char *MessageIdString
);
514 AslCoreSubsystemError (
515 ACPI_PARSE_OBJECT
*Op
,
528 UINT32 CurrentLineNumber
,
529 UINT32 LogicalLineNumber
,
530 UINT32 LogicalByteOffset
,
548 ASL_ERROR_MSG
*Enode
,
561 * asllisting - generate all "listing" type files
568 LsWriteNodeToAsmListing (
569 ACPI_PARSE_OBJECT
*Op
);
573 ACPI_PARSE_OBJECT
*Op
,
582 * asllistsup - Listing file support utilities
591 LsDumpAsciiInComment (
602 LsFlushListingBuffer (
606 LsWriteListingHexBytes (
614 UINT32 ToLogicalLineNumber
,
618 LsWriteOneSourceLine (
631 * aslhex - generate all "hex" output files (C, ASM, ASL)
639 * aslfold - constant folding
643 ACPI_PARSE_OBJECT
*Op
,
649 * aslmessages - exception strings
656 AeDecodeExceptionLevel (
660 AeBuildFullExceptionCode (
665 * asloffset - generate C offset file for BIOS support
669 ACPI_PARSE_OBJECT
*Op
,
674 LsDoOffsetTableHeader (
678 LsDoOffsetTableFooter (
683 * aslopcodes - generate AML opcodes
687 ACPI_PARSE_OBJECT
*Op
,
692 OpcAmlOpcodeUpdateWalk (
693 ACPI_PARSE_OBJECT
*Op
,
698 OpcGenerateAmlOpcode (
699 ACPI_PARSE_OBJECT
*Op
);
702 OpcSetOptimalIntegerSize (
703 ACPI_PARSE_OBJECT
*Op
);
707 ACPI_PARSE_OBJECT
*Op
);
711 * asloperands - generate AML operands for the AML opcodes
715 ACPI_PARSE_OBJECT
*Op
,
719 OpnGenerateAmlOperands (
720 ACPI_PARSE_OBJECT
*Op
);
724 ACPI_PARSE_OBJECT
*Op
);
728 * aslopt - optimization
731 OptOptimizeNamePath (
732 ACPI_PARSE_OBJECT
*Op
,
734 ACPI_WALK_STATE
*WalkState
,
736 ACPI_NAMESPACE_NODE
*TargetNode
);
740 * aslpld - ToPLD macro support
744 ACPI_PARSE_OBJECT
*Op
);
748 * aslprintf - Printf/Fprintf macros
752 ACPI_PARSE_OBJECT
*Op
);
756 ACPI_PARSE_OBJECT
*Op
);
760 * aslprune - parse tree pruner
769 * aslcodegen - code generation
772 CgGenerateAmlOutput (
776 CgLocalWriteAmlData (
777 ACPI_PARSE_OBJECT
*Op
,
793 * asllength - calculate/adjust AML package lengths
796 LnPackageLengthWalk (
797 ACPI_PARSE_OBJECT
*Op
,
803 ACPI_PARSE_OBJECT
*Op
,
808 CgGenerateAmlLengths (
809 ACPI_PARSE_OBJECT
*Op
);
813 * aslmap - opcode mappings and reserved method names
816 AslMapNamedOpcodeToDataType (
821 * aslpredef - ACPI predefined names support
824 ApCheckForPredefinedMethod (
825 ACPI_PARSE_OBJECT
*Op
,
826 ASL_METHOD_INFO
*MethodInfo
);
829 ApCheckPredefinedReturnValue (
830 ACPI_PARSE_OBJECT
*Op
,
831 ASL_METHOD_INFO
*MethodInfo
);
834 ApCheckForPredefinedName (
835 ACPI_PARSE_OBJECT
*Op
,
839 ApCheckForPredefinedObject (
840 ACPI_PARSE_OBJECT
*Op
,
845 const char *PredefinedName
,
846 ACPI_PARSE_OBJECT
*Op
,
847 UINT32 ExpectedBtypes
,
848 UINT32 PackageIndex
);
851 ApDisplayReservedNames (
856 * aslprepkg - ACPI predefined names support for packages
860 ACPI_PARSE_OBJECT
*ParentOp
,
861 const ACPI_PREDEFINED_INFO
*Predefined
);
865 * asltransform - parse tree transformations
868 TrAmlTransformWalkBegin (
869 ACPI_PARSE_OBJECT
*Op
,
874 TrAmlTransformWalkEnd (
875 ACPI_PARSE_OBJECT
*Op
,
881 * aslexternal - External opcode support
884 ExAmlExternalWalkBegin (
885 ACPI_PARSE_OBJECT
*Op
,
890 ExAmlExternalWalkEnd (
891 ACPI_PARSE_OBJECT
*Op
,
897 ACPI_PARSE_OBJECT
*Op
);
899 /* Values for "Visitation" parameter above */
901 #define ASL_WALK_VISIT_DOWNWARD 0x01
902 #define ASL_WALK_VISIT_UPWARD 0x02
903 #define ASL_WALK_VISIT_DB_SEPARATELY 0x04
904 #define ASL_WALK_VISIT_TWICE (ASL_WALK_VISIT_DOWNWARD | ASL_WALK_VISIT_UPWARD)
908 * aslparseop.c - Parse op create/allocate/cache
921 TrCreateNullTargetOp (
925 TrCreateAssignmentOp (
926 ACPI_PARSE_OBJECT
*Target
,
927 ACPI_PARSE_OBJECT
*Source
);
931 ACPI_PARSE_OBJECT
*OriginalOp
,
932 ACPI_PARSE_OBJECT
*ParentOp
);
935 TrCreateValuedLeafOp (
940 TrCreateConstantLeafOp (
954 * asltree.c - Parse tree management
958 ACPI_PARSE_OBJECT
*Op
,
959 ACPI_PARSE_OBJECT
*ParentOp
);
962 TrSetOpIntegerValue (
964 ACPI_PARSE_OBJECT
*Op
);
967 TrSetOpEndLineNumber (
968 ACPI_PARSE_OBJECT
*Op
);
971 TrSetOpCurrentFilename (
972 ACPI_PARSE_OBJECT
*Op
);
975 TrSetOpIntegerWidth (
976 ACPI_PARSE_OBJECT
*TableSignature
,
977 ACPI_PARSE_OBJECT
*Revision
);
981 ACPI_PARSE_OBJECT
*Op
,
987 ACPI_PARSE_OBJECT
*Op1
,
988 ACPI_PARSE_OBJECT
*Op2
);
992 ACPI_PARSE_OBJECT
*Op1
,
993 ACPI_PARSE_OBJECT
*Op2
);
997 ACPI_PARSE_OBJECT
*Op
,
1002 ACPI_PARSE_OBJECT
*Op
,
1012 ACPI_PARSE_OBJECT
*Op
,
1014 ASL_WALK_CALLBACK DescendingCallback
,
1015 ASL_WALK_CALLBACK AscendingCallback
,
1020 * aslfiles - File I/O support
1023 FlAddIncludeDirectory (
1029 char *FilePathname
);
1033 ACPI_PARSE_OBJECT
*Op
);
1070 ACPI_PRINTF_LIKE (2)
1091 char *InputFilename
);
1094 FlOpenAmlOutputFile (
1095 char *InputFilename
);
1098 FlOpenMiscOutputFiles (
1099 char *InputFilename
);
1103 char *InputFilename
);
1105 ASL_FILE_SWITCH_STATUS
1107 char *InputFilename
);
1115 ASL_GLOBAL_FILE_NODE
*
1120 ASL_GLOBAL_FILE_NODE
*
1121 FlGetCurrentFileNode (
1126 * aslhwmap - hardware map summary
1134 * asload - load namespace in prep for cross reference
1138 ACPI_PARSE_OBJECT
*RootOp
);
1141 * asllookup - namespace lookup functions
1144 LkFindUnreferencedObjects (
1149 * aslhelp - help screens
1160 AslDisassemblyHelp (
1165 * aslnamesp - namespace output file generation
1168 NsDisplayNamespace (
1172 NsSetupNamespaceListing (
1177 * asloptions - command line processing
1186 * aslxref - namespace cross reference
1189 XfCrossReferenceNamespace (
1206 ACPI_PARSE_OBJECT
*Op
,
1208 ASL_METHOD_INFO
*MethodInfo
);
1212 * aslutils - common compiler utilities
1221 /* Type values for above */
1223 #define ASL_DEBUG_OUTPUT 0
1224 #define ASL_PARSE_OUTPUT 1
1225 #define ASL_TREE_OUTPUT 2
1232 UtIsBigEndianMachine (
1236 UtQueryForOverwrite (
1241 ACPI_PARSE_OBJECT
*Op
,
1246 ACPI_PARSE_OBJECT
*Op
,
1248 UINT32 IntegerLength
);
1252 ACPI_PARSE_OBJECT
*Op
,
1255 ACPI_NAMESPACE_NODE
*
1256 UtGetParentMethodNode (
1257 ACPI_NAMESPACE_NODE
*Node
);
1260 UtGetParentMethodOp (
1261 ACPI_PARSE_OBJECT
*Op
);
1264 UtNodeIsDescendantOf (
1265 ACPI_NAMESPACE_NODE
*Node1
,
1266 ACPI_NAMESPACE_NODE
*Node2
);
1269 UtDisplaySupportedTables (
1273 UtDisplayConstantOpcodes (
1289 UtDisplayOneSummary (
1291 BOOLEAN DisplayErrorSummary
);
1294 UtConvertByteToHex (
1299 UtConvertByteToAsmHex (
1305 UINT32 ParseOpcode
);
1309 ACPI_PARSE_OBJECT
*Op
);
1314 char **ConvertedName
);
1317 UtNameContainsAllPrefix (
1318 ACPI_PARSE_OBJECT
*Op
);
1321 UtAttachNamepathToOwner (
1322 ACPI_PARSE_OBJECT
*Op
,
1323 ACPI_PARSE_OBJECT
*NameNode
);
1326 UtCheckIntegerRange (
1327 ACPI_PARSE_OBJECT
*Op
,
1346 * asluuid - UUID support
1353 AuConvertUuidToString (
1359 * aslresource - Resource template generation utilities
1362 RsSmallAddressCheck (
1368 ACPI_PARSE_OBJECT
*MinOp
,
1369 ACPI_PARSE_OBJECT
*MaxOp
,
1370 ACPI_PARSE_OBJECT
*LengthOp
,
1371 ACPI_PARSE_OBJECT
*AlignOp
,
1372 ACPI_PARSE_OBJECT
*Op
);
1375 RsLargeAddressCheck (
1381 ACPI_PARSE_OBJECT
*MinOp
,
1382 ACPI_PARSE_OBJECT
*MaxOp
,
1383 ACPI_PARSE_OBJECT
*LengthOp
,
1384 ACPI_PARSE_OBJECT
*GranOp
,
1385 ACPI_PARSE_OBJECT
*Op
);
1388 RsGetStringDataLength (
1389 ACPI_PARSE_OBJECT
*InitializerOp
);
1392 RsAllocateResourceNode (
1396 RsCreateResourceField (
1397 ACPI_PARSE_OBJECT
*Op
,
1406 ACPI_PARSE_OBJECT
*Op
,
1413 ACPI_PARSE_OBJECT
*Op
,
1418 RsCompleteNodeAndGetNext (
1419 ACPI_PARSE_OBJECT
*Op
);
1422 RsCheckListForDuplicates (
1423 ACPI_PARSE_OBJECT
*Op
);
1426 RsDoOneResourceDescriptor (
1427 ASL_RESOURCE_INFO
*Info
,
1430 /* Values for State above */
1432 #define ACPI_RSTATE_NORMAL 0
1433 #define ACPI_RSTATE_START_DEPENDENT 1
1434 #define ACPI_RSTATE_DEPENDENT_LIST 2
1437 RsLinkDescriptorChain (
1438 ASL_RESOURCE_NODE
**PreviousRnode
,
1439 ASL_RESOURCE_NODE
*Rnode
);
1442 RsDoResourceTemplate (
1443 ACPI_PARSE_OBJECT
*Op
);
1447 * aslrestype1 - Miscellaneous Small descriptors
1450 RsDoEndTagDescriptor (
1451 ASL_RESOURCE_INFO
*Info
);
1454 RsDoEndDependentDescriptor (
1455 ASL_RESOURCE_INFO
*Info
);
1458 RsDoMemory24Descriptor (
1459 ASL_RESOURCE_INFO
*Info
);
1462 RsDoMemory32Descriptor (
1463 ASL_RESOURCE_INFO
*Info
);
1466 RsDoMemory32FixedDescriptor (
1467 ASL_RESOURCE_INFO
*Info
);
1470 RsDoStartDependentDescriptor (
1471 ASL_RESOURCE_INFO
*Info
);
1474 RsDoStartDependentNoPriDescriptor (
1475 ASL_RESOURCE_INFO
*Info
);
1478 RsDoVendorSmallDescriptor (
1479 ASL_RESOURCE_INFO
*Info
);
1483 * aslrestype1i - I/O-related Small descriptors
1487 ASL_RESOURCE_INFO
*Info
);
1490 RsDoFixedDmaDescriptor (
1491 ASL_RESOURCE_INFO
*Info
);
1494 RsDoFixedIoDescriptor (
1495 ASL_RESOURCE_INFO
*Info
);
1499 ASL_RESOURCE_INFO
*Info
);
1503 ASL_RESOURCE_INFO
*Info
);
1506 RsDoIrqNoFlagsDescriptor (
1507 ASL_RESOURCE_INFO
*Info
);
1511 * aslrestype2 - Large resource descriptors
1514 RsDoInterruptDescriptor (
1515 ASL_RESOURCE_INFO
*Info
);
1518 RsDoVendorLargeDescriptor (
1519 ASL_RESOURCE_INFO
*Info
);
1522 RsDoGeneralRegisterDescriptor (
1523 ASL_RESOURCE_INFO
*Info
);
1526 RsDoGpioIntDescriptor (
1527 ASL_RESOURCE_INFO
*Info
);
1530 RsDoGpioIoDescriptor (
1531 ASL_RESOURCE_INFO
*Info
);
1534 RsDoI2cSerialBusDescriptor (
1535 ASL_RESOURCE_INFO
*Info
);
1538 RsDoSpiSerialBusDescriptor (
1539 ASL_RESOURCE_INFO
*Info
);
1542 RsDoUartSerialBusDescriptor (
1543 ASL_RESOURCE_INFO
*Info
);
1546 RsDoCsi2SerialBusDescriptor (
1547 ASL_RESOURCE_INFO
*Info
);
1550 RsDoPinFunctionDescriptor (
1551 ASL_RESOURCE_INFO
*Info
);
1554 RsDoPinConfigDescriptor (
1555 ASL_RESOURCE_INFO
*Info
);
1558 RsDoPinGroupDescriptor (
1559 ASL_RESOURCE_INFO
*Info
);
1562 RsDoPinGroupFunctionDescriptor (
1563 ASL_RESOURCE_INFO
*Info
);
1566 RsDoPinGroupConfigDescriptor (
1567 ASL_RESOURCE_INFO
*Info
);
1571 * aslrestype2d - DWord address descriptors
1574 RsDoDwordIoDescriptor (
1575 ASL_RESOURCE_INFO
*Info
);
1578 RsDoDwordMemoryDescriptor (
1579 ASL_RESOURCE_INFO
*Info
);
1582 RsDoDwordSpaceDescriptor (
1583 ASL_RESOURCE_INFO
*Info
);
1587 * aslrestype2e - Extended address descriptors
1590 RsDoExtendedIoDescriptor (
1591 ASL_RESOURCE_INFO
*Info
);
1594 RsDoExtendedMemoryDescriptor (
1595 ASL_RESOURCE_INFO
*Info
);
1598 RsDoExtendedSpaceDescriptor (
1599 ASL_RESOURCE_INFO
*Info
);
1603 * aslrestype2q - QWord address descriptors
1606 RsDoQwordIoDescriptor (
1607 ASL_RESOURCE_INFO
*Info
);
1610 RsDoQwordMemoryDescriptor (
1611 ASL_RESOURCE_INFO
*Info
);
1614 RsDoQwordSpaceDescriptor (
1615 ASL_RESOURCE_INFO
*Info
);
1619 * aslrestype2w - Word address descriptors
1622 RsDoWordIoDescriptor (
1623 ASL_RESOURCE_INFO
*Info
);
1626 RsDoWordSpaceDescriptor (
1627 ASL_RESOURCE_INFO
*Info
);
1630 RsDoWordBusNumberDescriptor (
1631 ASL_RESOURCE_INFO
*Info
);
1635 * Entry to data table compiler subsystem
1647 * ASL/ASL+ converter debug
1649 ACPI_PRINTF_LIKE (1)
1656 #endif /* __ASLCOMPILER_H */