ahaslops.c revision 1.1.1.2 1 1.1 jruoho /******************************************************************************
2 1.1 jruoho *
3 1.1 jruoho * Module Name: ahaslops - Table of all known ASL operators
4 1.1 jruoho *
5 1.1 jruoho *****************************************************************************/
6 1.1 jruoho
7 1.1 jruoho /*
8 1.1.1.2 christos * Copyright (C) 2000 - 2013, Intel Corp.
9 1.1 jruoho * All rights reserved.
10 1.1 jruoho *
11 1.1 jruoho * Redistribution and use in source and binary forms, with or without
12 1.1 jruoho * modification, are permitted provided that the following conditions
13 1.1 jruoho * are met:
14 1.1 jruoho * 1. Redistributions of source code must retain the above copyright
15 1.1 jruoho * notice, this list of conditions, and the following disclaimer,
16 1.1 jruoho * without modification.
17 1.1 jruoho * 2. Redistributions in binary form must reproduce at minimum a disclaimer
18 1.1 jruoho * substantially similar to the "NO WARRANTY" disclaimer below
19 1.1 jruoho * ("Disclaimer") and any redistribution must be conditioned upon
20 1.1 jruoho * including a substantially similar Disclaimer requirement for further
21 1.1 jruoho * binary redistribution.
22 1.1 jruoho * 3. Neither the names of the above-listed copyright holders nor the names
23 1.1 jruoho * of any contributors may be used to endorse or promote products derived
24 1.1 jruoho * from this software without specific prior written permission.
25 1.1 jruoho *
26 1.1 jruoho * Alternatively, this software may be distributed under the terms of the
27 1.1 jruoho * GNU General Public License ("GPL") version 2 as published by the Free
28 1.1 jruoho * Software Foundation.
29 1.1 jruoho *
30 1.1 jruoho * NO WARRANTY
31 1.1 jruoho * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32 1.1 jruoho * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33 1.1 jruoho * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
34 1.1 jruoho * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35 1.1 jruoho * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36 1.1 jruoho * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
37 1.1 jruoho * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38 1.1 jruoho * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39 1.1 jruoho * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
40 1.1 jruoho * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41 1.1 jruoho * POSSIBILITY OF SUCH DAMAGES.
42 1.1 jruoho */
43 1.1 jruoho
44 1.1 jruoho #include "acpihelp.h"
45 1.1 jruoho
46 1.1 jruoho /*
47 1.1 jruoho * ASL operators with syntax (directly from ACPI specification).
48 1.1 jruoho * Note: All tokens require a space separator.
49 1.1 jruoho * Long lines are automatically split during output.
50 1.1 jruoho */
51 1.1 jruoho const AH_ASL_OPERATOR AslOperatorInfo[] =
52 1.1 jruoho {
53 1.1.1.2 christos {"AccessAs", "(AccessType, AccessAttribKeyword | "
54 1.1.1.2 christos "ExtendedAttribKeyword (AccessLength))",
55 1.1.1.2 christos "ChangeFieldUnitAccess"},
56 1.1 jruoho {"Acquire", "(SyncObject, TimeoutValue) => Boolean",
57 1.1 jruoho "Acquire a mutex"},
58 1.1 jruoho {"Add", "(Addend1, Addend2, Result) => Integer",
59 1.1 jruoho "Integer Add"},
60 1.1 jruoho {"Alias", "(SourceObject, AliasObject)",
61 1.1 jruoho "Define a name alias"},
62 1.1 jruoho {"And", "(Source1, Source2, Result) => Integer",
63 1.1 jruoho "Integer Bitwise And"},
64 1.1 jruoho {"Arg", "Arg0 - Arg6",
65 1.1 jruoho "Method argument data objects"},
66 1.1.1.2 christos {"BankField", "(RegionName, BankName, BankValue, "
67 1.1.1.2 christos "AccessTypeKeyword, LockRuleKeyword, "
68 1.1.1.2 christos "UpdateRuleKeyword) {FieldUnitList}",
69 1.1 jruoho "Declare fields in a banked configuration object"},
70 1.1.1.2 christos {"Break", "No parameters",
71 1.1 jruoho "Continue following the innermost enclosing While"},
72 1.1.1.2 christos {"BreakPoint", "No parameters",
73 1.1 jruoho "Used for debugging, stops execution in the debugger"},
74 1.1 jruoho {"Buffer", "(BufferSize) {String or ByteList} => Buffer",
75 1.1 jruoho "Declare Buffer object"},
76 1.1 jruoho {"Case", "(Value) {TermList}",
77 1.1 jruoho "Expression for conditional execution"},
78 1.1 jruoho {"Concatenate", "(Source1, Source2, Result) => ComputationalData",
79 1.1.1.2 christos "Concatenate two strings, integers or buffers"},
80 1.1 jruoho {"ConcatenateResTemplate", "(Source1, Source2, Result) => Buffer",
81 1.1 jruoho "Concatenate two resource templates"},
82 1.1 jruoho {"CondRefOf", "(Source, Result) => Boolean",
83 1.1 jruoho "Conditional reference to an object"},
84 1.1.1.2 christos {"Connection", "(ResourceMacro)",
85 1.1.1.2 christos "Associate connection with FieldUnits within a Field object"},
86 1.1.1.2 christos {"Continue", "No parameters",
87 1.1 jruoho "Continue innermost enclosing While loop"},
88 1.1 jruoho {"CopyObject", "(Source, Destination) => DataRefObject",
89 1.1 jruoho "Copy and existing object"},
90 1.1 jruoho {"CreateBitField", "(SourceBuffer, BitIndex, BitFieldName)",
91 1.1 jruoho "Declare a bit field object of a buffer object"},
92 1.1 jruoho {"CreateByteField", "(SourceBuffer, ByteIndex, ByteFieldName)",
93 1.1 jruoho "Declare a byte field object of a buffer object"},
94 1.1 jruoho {"CreateDWordField", "(SourceBuffer, ByteIndex, DWordFieldName)",
95 1.1 jruoho "Declare a DWord field object of a buffer object"},
96 1.1 jruoho {"CreateField", "(SourceBuffer, BitIndex, NumBits, FieldName)",
97 1.1 jruoho "Declare an arbitrary length bit field of a buffer object"},
98 1.1 jruoho {"CreateQWordField", "(SourceBuffer, ByteIndex, QWordFieldName)",
99 1.1 jruoho "Declare a QWord field object of a buffer object"},
100 1.1 jruoho {"CreateWordField", "(SourceBuffer, ByteIndex, WordFieldName)",
101 1.1 jruoho "Declare a Word field object of a buffer object"},
102 1.1 jruoho {"DataTableRegion", "(RegionName, SignatureString, OemIDString, OemTableIDString)",
103 1.1 jruoho "Declare a Data Table Region"},
104 1.1.1.2 christos {"Debug", "No parameters",
105 1.1 jruoho "Debugger output"},
106 1.1 jruoho {"Decrement", "(Minuend) => Integer",
107 1.1 jruoho "Decrement an Integer"},
108 1.1 jruoho {"Default", "{TermList}",
109 1.1 jruoho "Default execution path in Switch()"},
110 1.1.1.2 christos {"DefinitionBlock", "(AmlFileName, TableSignature, ComplianceRevision, "
111 1.1.1.2 christos "OemId, TableId, OemRevision) {TermList}",
112 1.1 jruoho "Declare a Definition Block"},
113 1.1 jruoho {"DerefOf", "(Source) => Object",
114 1.1 jruoho "Dereference an object reference"},
115 1.1 jruoho {"Device", "(DeviceName) {ObjectList}",
116 1.1 jruoho "Declare a bus/device object"},
117 1.1 jruoho {"Divide", "(Dividend, Divisor, Remainder, Result) => Integer",
118 1.1 jruoho "Integer Divide"},
119 1.1.1.2 christos {"DMA", "(DmaTypeKeyword, BusMasterKeyword, XferTypeKeyword, "
120 1.1.1.2 christos "DescriptorName) {DmaChannelList} => Buffer",
121 1.1 jruoho "DMA Resource Descriptor macro"},
122 1.1.1.2 christos {"DWordIO", "(ResourceTypeKeyword, MinKeyword, MaxKeyword, "
123 1.1.1.2 christos "DecodeKeyword, RangeTypeKeyword, AddressGranularity, "
124 1.1.1.2 christos "AddressMinimum, AddressMaximum, AddressTranslation, "
125 1.1.1.2 christos "RangeLength, ResourceSourceIndex, "
126 1.1.1.2 christos "ResourceSource, DescriptorName, TypeKeyword, TranslationKeyword)",
127 1.1 jruoho "DWord IO Resource Descriptor macro"},
128 1.1.1.2 christos {"DWordMemory", "(ResourceTypeKeyword, DecodeKeyword, MinKeyword, "
129 1.1.1.2 christos "MaxKeyword, MemTypeKeyword, ReadWriteKeyword, "
130 1.1 jruoho "AddressGranularity, AddressMinimum, AddressMaximum, AddressTranslation, "
131 1.1.1.2 christos "RangeLength, ResourceSourceIndex, ResourceSource, DescriptorName, AddressKeyword, "
132 1.1.1.2 christos "TypeKeyword)",
133 1.1 jruoho "DWord Memory Resource Descriptor macro"},
134 1.1.1.2 christos {"DWordSpace", "(ResourceType, ResourceTypeKeyword, DecodeKeyword, "
135 1.1.1.2 christos "MinKeyword, MaxKeyword, TypeSpecificFlags, "
136 1.1.1.2 christos "AddressGranularity, AddressMinimum, AddressMaximum, "
137 1.1.1.2 christos "AddressTranslation, RangeLength, "
138 1.1 jruoho "ResourceSourceIndex, ResourceSource, DescriptorName)",
139 1.1 jruoho "DWord Space Resource Descriptor macro"},
140 1.1 jruoho {"EISAID", "(EisaIdString) => DWordConst",
141 1.1 jruoho "EISA ID String to Integer conversion macro"},
142 1.1 jruoho {"Else", "{TermList}",
143 1.1 jruoho "Alternate conditional execution"},
144 1.1 jruoho {"ElseIf", "(Predicate)",
145 1.1 jruoho "Conditional execution"},
146 1.1 jruoho {"EndDependentFn", "() => Buffer",
147 1.1 jruoho "End Dependent Function Resource Descriptor macro"},
148 1.1 jruoho {"Event", "(EventName)",
149 1.1 jruoho "Declare an event synchronization object"},
150 1.1.1.2 christos {"ExtendedIO", "(ResourceTypeKeyword, MinKeyword, MaxKeyword, "
151 1.1.1.2 christos "DecodeKeyword, RangeTypeKeyword, AddressGranularity, "
152 1.1 jruoho "AddressMinimum, AddressMaximum, AddressTranslation, RangeLength, "
153 1.1.1.2 christos "TypeSpecificAttributes, DescriptorName, TypeKeyword, TranslationKeyword)",
154 1.1 jruoho "Extended IO Resource Descriptor macro"},
155 1.1.1.2 christos {"ExtendedMemory", "(ResourceTypeKeyword, DecodeKeyword, MinKeyword, "
156 1.1.1.2 christos "MaxKeyword, MemTypeKeyword, ReadWriteKeyword, "
157 1.1 jruoho "AddressGranularity, AddressMinimum, AddressMaximum, AddressTranslation, "
158 1.1.1.2 christos "RangeLength, TypeSpecificAttributes, DescriptorName, "
159 1.1.1.2 christos "AddressKeyword, TypeKeyword)",
160 1.1 jruoho "Extended Memory Resource Descriptor macro"},
161 1.1.1.2 christos {"ExtendedSpace", "(ResourceType, ResourceTypeKeyword, DecodeKeyword, "
162 1.1.1.2 christos "MinKeyword, MaxKeyword, TypeSpecificFlags, "
163 1.1 jruoho "AddressGranularity, AddressMinimum, AddressMaximum, AddressTranslation, "
164 1.1 jruoho "RangeLength, TypeSpecificAttributes, DescriptorName)",
165 1.1 jruoho "Extended Space Resource Descriptor macro"},
166 1.1.1.2 christos {"External", "(ObjectName, ObjectTypeKeyword, ReturnType, ParameterTypes)",
167 1.1 jruoho "Declare external objects"},
168 1.1 jruoho {"Fatal", "(Type, Code, Arg)",
169 1.1 jruoho "Fatal error check"},
170 1.1.1.2 christos {"Field", "(RegionName, AccessTypeKeyword, LockRuleKeyword, "
171 1.1.1.2 christos "UpdateRuleKeyword) {FieldUnitList}",
172 1.1 jruoho "Declare fields of an operation region object"},
173 1.1 jruoho {"FindSetLeftBit", "(Source, Result) => Integer",
174 1.1 jruoho "Index of first least significant bit set"},
175 1.1 jruoho {"FindSetRightBit", "(Source, Result) => Integer",
176 1.1 jruoho "Index of first most significant bit set"},
177 1.1.1.2 christos {"FixedDMA", "(DmaRequestLine, Channel, TransferWidthKeyword, DescriptorName) => Buffer",
178 1.1.1.2 christos "Fixed DMA Resource Descriptor macro"},
179 1.1 jruoho {"FixedIO", "(AddressBase, RangeLength, DescriptorName) => Buffer",
180 1.1 jruoho "Fixed I/O Resource Descriptor macro"},
181 1.1 jruoho {"FromBCD", "(BCDValue, Result) => Integer",
182 1.1 jruoho "Convert from BCD to numeric"},
183 1.1 jruoho {"Function", "(FunctionName, ReturnType, ParameterTypes) {TermList}",
184 1.1 jruoho "Declare control method"},
185 1.1.1.2 christos {"GpioInt", "(InterruptTypeKeyword, InterruptLevelKeyword, "
186 1.1.1.2 christos "ShareTypeKeyword, PinConfigKeyword, "
187 1.1.1.2 christos "DebounceTimeout, ResourceSource, "
188 1.1.1.2 christos "ResourceSourceIndex, ResourceTypeKeyword, DescriptorName, "
189 1.1.1.2 christos "RawDataBuffer() {VendorData}) {Pin}",
190 1.1.1.2 christos "GPIO Interrupt Connection Resource Descriptor Macro"},
191 1.1.1.2 christos {"GpioIo", "(ShareTypeKeyword, PinConfigKeyword, DebounceTimeout, DriveStrength, "
192 1.1.1.2 christos "IoRestrictionKeyword, ResourceSource, "
193 1.1.1.2 christos "ResourceSourceIndex, ResourceTypeKeyword, DescriptorName, "
194 1.1.1.2 christos "RawDataBuffer() {VendorData}) {PinList}",
195 1.1.1.2 christos "GPIO I/O Connection Resource Descriptor Macro"},
196 1.1.1.2 christos {"I2cSerialBus", "(SlaveAddress, SlaveModeKeyword, ConnectionSpeed, "
197 1.1.1.2 christos "AddressingModeKeyword, ResourceSource, "
198 1.1.1.2 christos "ResourceSourceIndex, ResourceTypeKeyword, DescriptorName, "
199 1.1.1.2 christos "RawDataBuffer() {VendorData})",
200 1.1.1.2 christos "I2C Serial Bus Connection Resource Descriptor Macro"},
201 1.1 jruoho {"If", "(Predicate) {TermList}",
202 1.1 jruoho "Conditional execution"},
203 1.1 jruoho {"Include", "(FilePathName)",
204 1.1 jruoho "Include another ASL file"},
205 1.1 jruoho {"Increment", "(Addend) => Integer",
206 1.1 jruoho "Increment a Integer"},
207 1.1 jruoho {"Index", "(Source, Index, Destination) => ObjectReference",
208 1.1 jruoho "Indexed Reference to member object"},
209 1.1.1.2 christos {"IndexField", "(IndexName, DataName, AccessTypeKeyword, LockRuleKeyword, "
210 1.1.1.2 christos "UpdateRuleKeyword) {FieldUnitList}",
211 1.1 jruoho "Declare Index/Data Fields"},
212 1.1.1.2 christos {"Interrupt", "(ResourceTypeKeyword, InterruptTypeKeyword, InterruptLevelKeyword, "
213 1.1.1.2 christos "ShareTypeKeyword, ResourceSourceIndex, "
214 1.1 jruoho "ResourceSource, DescriptorName) {InterruptList} => Buffer",
215 1.1 jruoho "Interrupt Resource Descriptor macro"},
216 1.1.1.2 christos {"IO", "(IoDecodeKeyword, AddressMin, AddressMax, AddressAlignment, "
217 1.1.1.2 christos "RangeLength, DescriptorName) => Buffer",
218 1.1 jruoho "IO Resource Descriptor macro"},
219 1.1.1.2 christos {"IRQ", "(InterruptTypeKeyword, InterruptLevelKeyword, ShareTypeKeyword, "
220 1.1.1.2 christos "DescriptorName) {InterruptList} => Buffer",
221 1.1 jruoho "Interrupt Resource Descriptor macro"},
222 1.1 jruoho {"IRQNoFlags", "(DescriptorName) {InterruptList} => Buffer",
223 1.1 jruoho "Short Interrupt Resource Descriptor macro"},
224 1.1 jruoho {"LAnd", "(Source1, Source2) => Boolean",
225 1.1 jruoho "Logical And"},
226 1.1 jruoho {"LEqual", "(Source1, Source2) => Boolean",
227 1.1 jruoho "Logical Equal"},
228 1.1 jruoho {"LGreater", "(Source1, Source2) => Boolean",
229 1.1 jruoho "Logical Greater"},
230 1.1 jruoho {"LGreaterEqual", "(Source1, Source2) => Boolean",
231 1.1 jruoho "Logical Not less"},
232 1.1 jruoho {"LLess", "(Source1, Source2) => Boolean",
233 1.1 jruoho "Logical Less"},
234 1.1 jruoho {"LLessEqual", "(Source1, Source2) => Boolean",
235 1.1 jruoho "Logical Not greater"},
236 1.1 jruoho {"LNot", "(Source) => Boolean",
237 1.1 jruoho "Logical Not"},
238 1.1 jruoho {"LNotEqual", "(Source1, Source2) => Boolean",
239 1.1 jruoho "Logical Not equal"},
240 1.1 jruoho {"Load", "(Object, DDBHandle)",
241 1.1 jruoho "Load differentiating definition block"},
242 1.1.1.2 christos {"LoadTable", "(SignatureString, OemIdString, OemTableIdString, RootPathString, "
243 1.1 jruoho "ParameterPathString, ParameterData) => DDBHandle",
244 1.1 jruoho "Load Table from RSDT/XSDT"},
245 1.1.1.2 christos {"Local", "Local0 - Local7",
246 1.1 jruoho "Method local data objects"},
247 1.1 jruoho {"LOr", "(Source1, Source2) => Boolean",
248 1.1 jruoho "Logical Or"},
249 1.1.1.2 christos {"Match", "(SearchPackage, MatchOpKeyword, MatchObject1, MatchOpKeyword, "
250 1.1.1.2 christos "MatchObject2, StartIndex) => Ones | Integer",
251 1.1 jruoho "Search for match in package array"},
252 1.1.1.2 christos {"Memory24", "(ReadWriteKeyword, AddressMinimum, AddressMaximum, AddressAlignment, "
253 1.1 jruoho "RangeLength, DescriptorName)",
254 1.1 jruoho "Memory Resource Descriptor macro"},
255 1.1.1.2 christos {"Memory32", "(ReadWriteKeyword, AddressMinimum, AddressMaximum, AddressAlignment, "
256 1.1 jruoho "RangeLength, DescriptorName)",
257 1.1 jruoho "Memory Resource Descriptor macro"},
258 1.1.1.2 christos {"Memory32Fixed", "(ReadWriteKeyword, AddressBase, RangeLength, DescriptorName)",
259 1.1 jruoho "Memory Resource Descriptor macro"},
260 1.1.1.2 christos {"Method", "(MethodName, NumArgs, SerializeRuleKeyword, "
261 1.1.1.2 christos "SyncLevel, ReturnType, ParameterTypes) "
262 1.1 jruoho "{TermList}",
263 1.1 jruoho "Declare a control method"},
264 1.1 jruoho {"Mid", "(Source, Index, Length, Result) => Buffer or String",
265 1.1 jruoho "Return a portion of buffer or string"},
266 1.1 jruoho {"Mod", "(Dividend, Divisor, Result) => Integer",
267 1.1 jruoho "Integer Modulo"},
268 1.1 jruoho {"Multiply", "(Multiplicand, Multiplier, Result) => Integer",
269 1.1 jruoho "Integer Multiply"},
270 1.1 jruoho {"Mutex", "(MutexName, SyncLevel)",
271 1.1 jruoho "Declare a mutex synchronization object"},
272 1.1 jruoho {"Name", "(ObjectName, Object)",
273 1.1 jruoho "Declare a Named object"},
274 1.1 jruoho {"NAnd", "(Source1, Source2, Result) => Integer",
275 1.1 jruoho "Integer Bitwise Nand"},
276 1.1.1.2 christos {"NoOp", "No parameters",
277 1.1 jruoho "No operation"},
278 1.1 jruoho {"NOr", "(Source1, Source2, Result) => Integer",
279 1.1 jruoho "Integer Bitwise Nor"},
280 1.1 jruoho {"Not", "(Source, Result) => Integer",
281 1.1 jruoho "Integer Bitwise Not"},
282 1.1 jruoho {"Notify", "(Object, NotificationValue)",
283 1.1 jruoho "Notify Object of event"},
284 1.1 jruoho {"ObjectType", "(Object) => Integer",
285 1.1 jruoho "Type of object"},
286 1.1.1.2 christos {"Offset", "(ByteOffset)",
287 1.1.1.2 christos "Change Current Field Unit Offset"},
288 1.1 jruoho {"One", "=> Integer",
289 1.1 jruoho "Constant One Object (1)"},
290 1.1 jruoho {"Ones", "=> Integer",
291 1.1.1.2 christos "Constant Ones Object (0xFFFFFFFF or 0xFFFFFFFFFFFFFFFF)"},
292 1.1.1.2 christos {"OperationRegion", "(RegionName, RegionSpaceKeyword, Offset, Length)",
293 1.1 jruoho "Declare an operational region"},
294 1.1 jruoho {"Or", "(Source1, Source2, Result) => Integer",
295 1.1 jruoho "Integer Bitwise Or"},
296 1.1 jruoho {"Package", "(NumElements) {PackageList} => Package",
297 1.1 jruoho "Declare a package object"},
298 1.1 jruoho {"PowerResource", "(ResourceName, SystemLevel, ResourceOrder) {ObjectList}",
299 1.1 jruoho "Declare a power resource object"},
300 1.1 jruoho {"Processor", "(ProcessorName, ProcessorID, PBlockAddress, PblockLength) {ObjectList}",
301 1.1 jruoho "Declare a processor package"},
302 1.1.1.2 christos {"QWordIO", "(ResourceTypeKeyword, MinKeyword, MaxKeyword, DecodeKeyword, "
303 1.1.1.2 christos "RangeTypeKeyword, AddressGranularity, "
304 1.1 jruoho "AddressMinimum, AddressMaximum, AddressTranslation, RangeLength, "
305 1.1.1.2 christos "ResourceSourceIndex, ResourceSource, DescriptorName, TypeKeyword, "
306 1.1.1.2 christos "TranslationKeyword)",
307 1.1 jruoho "QWord IO Resource Descriptor macro"},
308 1.1.1.2 christos {"QWordMemory", "(ResourceTypeKeyword, DecodeKeyword, MinKeyword, MaxKeyword, "
309 1.1.1.2 christos "MemTypeKeyword, ReadWriteKeyword, "
310 1.1 jruoho "AddressGranularity, AddressMinimum, AddressMaximum, AddressTranslation, "
311 1.1.1.2 christos "RangeLength, ResourceSourceIndex, ResourceSource, "
312 1.1.1.2 christos "DescriptorName, AddressKeyword, "
313 1.1.1.2 christos "TypeKeyword)",
314 1.1 jruoho "QWord Memory Resource Descriptor macro"},
315 1.1.1.2 christos {"QWordSpace", "(ResourceType, ResourceTypeKeyword, DecodeKeyword, "
316 1.1.1.2 christos "MinKeyword, MaxKeyword, TypeSpecificFlags, "
317 1.1 jruoho "AddressGranularity, AddressMinimum, AddressMaximum, AddressTranslation, "
318 1.1 jruoho "RangeLength, ResourceSourceIndex, ResourceSource, DescriptorName)",
319 1.1 jruoho "Qword Space Resource Descriptor macro"},
320 1.1.1.2 christos {"RawDataBuffer", "(BufferSize) {ByteList} => RawDataBuffer",
321 1.1.1.2 christos "Create a raw data buffer (does not use Buffer AML opcode)"},
322 1.1 jruoho {"RefOf", "(Object) => ObjectReference",
323 1.1 jruoho "Create Reference to an object"},
324 1.1.1.2 christos {"Register", "(AddressSpaceKeyword, RegisterBitWidth, "
325 1.1.1.2 christos "RegisterBitOffset, RegisterAddress, "
326 1.1 jruoho "AccessSize, DescriptorName)",
327 1.1 jruoho "Generic register Resource Descriptor macro"},
328 1.1 jruoho {"Release", "(SyncObject)",
329 1.1 jruoho "Release a synchronization object"},
330 1.1 jruoho {"Reset", "(SyncObject)",
331 1.1 jruoho "Reset a synchronization object"},
332 1.1 jruoho {"ResourceTemplate", "() {ResourceMacroList} => Buffer",
333 1.1 jruoho "Resource to buffer conversion macro"},
334 1.1 jruoho {"Return", "None | () | (ReturnArg)",
335 1.1 jruoho "Return from method execution"},
336 1.1 jruoho {"Revision", "=> Integer",
337 1.1 jruoho "Constant revision object"},
338 1.1 jruoho {"Scope", "(Location) {ObjectList}",
339 1.1 jruoho "Open named scope "},
340 1.1 jruoho {"ShiftLeft", "(Source, ShiftCount, Result) => Integer",
341 1.1 jruoho "Integer shift value left"},
342 1.1 jruoho {"ShiftRight", "(Source, ShiftCount, Result) => Integer",
343 1.1 jruoho "Integer shift value right"},
344 1.1 jruoho {"Signal", "(SyncObject)",
345 1.1 jruoho "Signal a synchronization object"},
346 1.1 jruoho {"SizeOf", "(ObjectName) => Integer",
347 1.1 jruoho "Get the size of a buffer}, string}, or package"},
348 1.1.1.2 christos {"Sleep", "(Milliseconds)",
349 1.1 jruoho "Sleep n milliseconds (yields the processor)"},
350 1.1.1.2 christos {"SpiSerialBus", "(DeviceSelection, PolarityKeyword, WireModeKeyword, "
351 1.1.1.2 christos "DataBitLength, SlaveModeKeyword, "
352 1.1.1.2 christos "ConnectionSpeed, ClockPolarityKeyword, ClockPhaseKeyword, "
353 1.1.1.2 christos "ResourceSource, ResourceSourceIndex, "
354 1.1.1.2 christos "ResourceTypeKeyword, DescriptorName, RawDataBuffer() {VendorData})",
355 1.1.1.2 christos "SPI Serial Bus Connection Resource Descriptor Macro"},
356 1.1.1.2 christos {"Stall", "(Microseconds)",
357 1.1 jruoho "Delay n microseconds (does not yield the processor)"},
358 1.1 jruoho {"StartDependentFn", "(CompatibilityPriority, PerformancePriority) {ResourceList}",
359 1.1 jruoho "Start Dependent Function Resource Descriptor macro"},
360 1.1 jruoho {"StartDependentFnNoPri", "() {ResourceList}",
361 1.1 jruoho "Start Dependent Function Resource Descriptor macro"},
362 1.1 jruoho {"Store", "(Source, Destination) => DataRefObject",
363 1.1 jruoho "Store object"},
364 1.1 jruoho {"Subtract", "(Minuend, Subtrahend, Result) => Integer",
365 1.1 jruoho "Integer Subtract"},
366 1.1 jruoho {"Switch", "(Expression) {CaseTermList}",
367 1.1 jruoho "Select code to execute based on expression value"},
368 1.1 jruoho {"ThermalZone", "(ThermalZoneName) {ObjectList}",
369 1.1 jruoho "Declare a thermal zone package"},
370 1.1 jruoho {"Timer", "=> Integer",
371 1.1 jruoho "Get 64-bit timer value"},
372 1.1 jruoho {"ToBCD", "(Value, Result) => Integer",
373 1.1 jruoho "Convert Integer to BCD"},
374 1.1 jruoho {"ToBuffer", "(Data, Result) => Buffer",
375 1.1 jruoho "Convert data type to buffer"},
376 1.1 jruoho {"ToDecimalString", "(Data, Result) => String",
377 1.1 jruoho "Convert data type to decimal string"},
378 1.1 jruoho {"ToHexString", "(Data, Result) => String",
379 1.1 jruoho "Convert data type to hexadecimal string"},
380 1.1 jruoho {"ToInteger", "(Data, Result) => Integer",
381 1.1 jruoho "Convert data type to integer"},
382 1.1 jruoho {"ToString", "(Source, Length, Result) => String",
383 1.1 jruoho "Copy ASCII string from buffer"},
384 1.1 jruoho {"ToUUID", "(AsciiString) => Buffer",
385 1.1 jruoho "Convert Ascii string to UUID"},
386 1.1.1.2 christos {"UartSerialBus", "(ConnectionSpeed, ByteLengthKeyword, StopBitsKeyword, "
387 1.1.1.2 christos "LinesInUse, EndianKeyword, ParityKeyword, "
388 1.1.1.2 christos "FlowControlKeyword, ReceiveBufferSize, TransmitBufferSize, ResourceSource, "
389 1.1.1.2 christos "ResourceSourceIndex, ResourceTypeKeyword, DescriptorName, "
390 1.1.1.2 christos "RawDataBuffer() {VendorData})",
391 1.1.1.2 christos "UART Serial Bus Connection Resource Descriptor Macro"},
392 1.1 jruoho {"Unicode", "(String) => Buffer",
393 1.1 jruoho "String to Unicode conversion macro"},
394 1.1 jruoho {"Unload", "(Handle)",
395 1.1 jruoho "Unload definition block"},
396 1.1 jruoho {"VendorLong", "(DescriptorName) {VendorByteList}",
397 1.1 jruoho "Vendor Resource Descriptor"},
398 1.1 jruoho {"VendorShort", "(DescriptorName) {VendorByteList}",
399 1.1 jruoho "Vendor Resource Descriptor"},
400 1.1 jruoho {"Wait", "(SyncObject, TimeoutValue) => Boolean",
401 1.1 jruoho "Wait on an Event"},
402 1.1 jruoho {"While", "(Predicate) {TermList}",
403 1.1 jruoho "Conditional loop"},
404 1.1.1.2 christos {"WordBusNumber", "(ResourceTypeKeyword, MinKeyword, MaxKeyword, DecodeKeyword, "
405 1.1.1.2 christos "AddressGranularity, AddressMinimum, "
406 1.1 jruoho "AddressMaximum, AddressTranslation, RangeLength, ResourceSourceIndex, "
407 1.1 jruoho "ResourceSource, DescriptorName)",
408 1.1 jruoho "Word Bus number Resource Descriptor macro"},
409 1.1.1.2 christos {"WordIO", "(ResourceTypeKeyword, MinKeyword, MaxKeyword, DecodeKeyword, "
410 1.1.1.2 christos "RangeTypeKeyword, AddressGranularity, "
411 1.1 jruoho "AddressMinimum, AddressMaximum, AddressTranslation, RangeLength, "
412 1.1.1.2 christos "ResourceSourceIndex, ResourceSource, DescriptorName, TypeKeyword, "
413 1.1.1.2 christos "TranslationKeyword)",
414 1.1 jruoho "Word IO Resource Descriptor macro"},
415 1.1.1.2 christos {"WordSpace", "(ResourceType, ResourceTypeKeyword, DecodeKeyword, MinKeyword, "
416 1.1.1.2 christos "MaxKeyword, TypeSpecificFlags, "
417 1.1 jruoho "AddressGranularity, AddressMinimum, AddressMaximum, AddressTranslation, "
418 1.1 jruoho "RangeLength, ResourceSourceIndex, ResourceSource, DescriptorName)",
419 1.1 jruoho "Word Space Resource Descriptor macro"},
420 1.1 jruoho {"XOr", "(Source1, Source2, Result) => Integer",
421 1.1 jruoho "Integer Bitwise Xor"},
422 1.1 jruoho {"Zero", "=> Integer",
423 1.1 jruoho "Constant Zero object (0)"},
424 1.1 jruoho {NULL, NULL, NULL}
425 1.1 jruoho };
426