Debian Codegraph @

tests/aslts/src/runtime/collections/complex/operand/common/ocommon.asl

raw
1 /*
2 * Some or all of this work - Copyright (c) 2006 - 2021, Intel Corp.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without modification,
6 * are permitted provided that the following conditions are met:
7 *
8 * Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer.
10 * Redistributions in binary form must reproduce the above copyright notice,
11 * this list of conditions and the following disclaimer in the documentation
12 * and/or other materials provided with the distribution.
13 * Neither the name of Intel Corporation nor the names of its contributors
14 * may be used to endorse or promote products derived from this software
15 * without specific prior written permission.
16 *
17 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
21 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
25 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
26 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28 /*
29 * Implicit Source Operand Conversion, complex test
30 *
31 *
32 * Integer to String implicit conversion Cases.
33 * There are following cases when this type of conversion is applied:
34 * - to the Integer second operand of Logical operators when the first
35 * operand is evaluated as String (LEqual, LGreater, LGreaterEqual,
36 * LLess, LLessEqual, LNotEqual)
37 * - to the Integer second operand of Concatenate operator when the first
38 * operand is evaluated as String
39 * - to the Integer elements of a search package of Match operator
40 * when some MatchObject is evaluated as String
41 * - to the Integer value of Expression of Case statement when
42 * Expression in Switch is either static String data or explicitly
43 * converted to String by ToDecimalString, ToHexString or ToString
44 *
45 * Integer to Buffer implicit conversion Cases.
46 * There are following cases when this type of conversion is applied:
47 * - to the Integer second operand of Logical operators when the first
48 * operand is evaluated as Buffer (LEqual, LGreater, LGreaterEqual,
49 * LLess, LLessEqual, LNotEqual)
50 * - to both Integer operands of Concatenate operator
51 * - to the Integer second operand of Concatenate operator when the first
52 * operand is evaluated as Buffer
53 * - to the Integer Source operand of ToString operator
54 * - to the Integer Source operand of Mid operator
55 * - to the Integer elements of a search package of Match operator
56 * when some MatchObject is evaluated as Buffer
57 * - to the Integer value of Expression of Case statement when
58 * Expression in Switch is either static Buffer data or explicitly
59 * converted to Buffer by ToBuffer
60 *
61 * String to Integer implicit conversion Cases.
62 * There are following cases when this type of conversion is applied:
63 * - to the String sole operand of the 1-parameter Integer arithmetic
64 * operators (Decrement, Increment, FindSetLeftBit, FindSetRightBit, Not)
65 * - to the String sole operand of the LNot Logical Integer operator
66 * - to the String sole operand of the FromBCD and ToBCD conversion operators
67 * - to each String operand of the 2-parameter Integer arithmetic
68 * operators (Add, And, Divide, Mod, Multiply, NAnd, NOr, Or,
69 * ShiftLeft, ShiftRight, Subtract, Xor)
70 * - to each String operand of the 2-parameter Logical Integer
71 * operators LAnd and LOr
72 * - to the String second operand of Logical operators when the first
73 * operand is evaluated as Integer (LEqual, LGreater, LGreaterEqual,
74 * LLess, LLessEqual, LNotEqual)
75 * - intermediately to the String second operand of Concatenate operator
76 * in case the first one is Integer
77 * - to the String Length (second) operand of ToString operator
78 * - to the String Index (second) operand of Index operator
79 * - to the String Arg (third) operand of Fatal operator
80 * (it can only be checked an exception does not occur)
81 * - to the String Index and Length operands of Mid operator
82 * - to the String StartIndex operand of Match operator
83 * - to the String elements of a search package of Match operator
84 * when some MatchObject is evaluated as Integer
85 * - to the String sole operand of the Method execution control operators
86 * (Sleep, Stall)
87 * - to the String TimeoutValue (second) operand of the Acquire operator ???
88 * - to the String TimeoutValue (second) operand of the Wait operator
89 * - to the String value of Predicate of the Method execution control
90 * statements (If, ElseIf, While)
91 * - to the String value of Expression of Case statement when
92 * Expression in Switch is evaluated as Integer
93 *
94 * String to Buffer implicit conversion Cases.
95 * There are following cases when this type of conversion is applied:
96 * - to the String second operand of Logical operators when the first
97 * operand is evaluated as Buffer (LEqual, LGreater, LGreaterEqual,
98 * LLess, LLessEqual, LNotEqual)
99 * - to the String second operand of Concatenate operator when the first
100 * operand is evaluated as Buffer
101 * - to the String Source operand of ToString operator (has a visual
102 * effect in shortening of the String taken the null character.
103 * - to the String elements of a search package of Match operator
104 * when some MatchObject is evaluated as Buffer
105 * - to the String value of Expression of Case statement when
106 * Expression in Switch is either static Buffer data or explicitly
107 * converted to Buffer by ToBuffer
108 *
109 * Buffer to Integer implicit conversion Cases.
110 * There are following cases when this type of conversion is applied:
111 * - to the Buffer sole operand of the 1-parameter Integer arithmetic
112 * operators (Decrement, Increment, FindSetLeftBit, FindSetRightBit, Not)
113 * - to the Buffer sole operand of the LNot Logical Integer operator
114 * - to the Buffer sole operand of the FromBCD and ToBCD conversion operators
115 * - to each Buffer operand of the 2-parameter Integer arithmetic
116 * operators (Add, And, Divide, Mod, Multiply, NAnd, NOr, Or,
117 * ShiftLeft, ShiftRight, Subtract, Xor)
118 * - to each Buffer operand of the 2-parameter Logical Integer
119 * operators LAnd and LOr
120 * - to the Buffer second operand of Logical operators when the first
121 * operand is evaluated as Integer (LEqual, LGreater, LGreaterEqual,
122 * LLess, LLessEqual, LNotEqual)
123 * - intermediately to the Buffer second operand of Concatenate operator
124 * in case the first one is Integer
125 * - to the Buffer Length (second) operand of ToString operator
126 * - to the Buffer Index (second) operand of Index operator
127 * - to the Buffer Arg (third) operand of Fatal operator
128 * (it can only be checked an exception does not occur)
129 * - to the Buffer Index and Length operands of Mid operator
130 * - to the Buffer StartIndex operand of Match operator
131 * - to the Buffer elements of a search package of Match operator
132 * when some MatchObject is evaluated as Integer
133 * - to the Buffer sole operand of the Method execution control operators
134 * (Sleep, Stall)
135 * - to the Buffer TimeoutValue (second) operand of the Acquire operator ???
136 * - to the Buffer TimeoutValue (second) operand of the Wait operator
137 * - to the Buffer value of Predicate of the Method execution control
138 * statements (If, ElseIf, While)
139 * - to the Buffer value of Expression of Case statement when
140 * Expression in Switch is evaluated as Integer
141 *
142 * Buffer to String implicit conversion Cases.
143 * There are following cases when this type of conversion is applied:
144 * - to the Buffer second operand of Logical operators when the first
145 * operand is evaluated as String (LEqual, LGreater, LGreaterEqual,
146 * LLess, LLessEqual, LNotEqual)
147 * - to the Buffer second operand of Concatenate operator when the first
148 * operand is evaluated as String
149 * - to the Buffer elements of a search package of Match operator
150 * when some MatchObject is evaluated as String
151 * - to the Buffer value of Expression of Case statement when
152 * Expression in Switch is either static String data or explicitly
153 * converted to String by ToDecimalString, ToHexString or ToString
154 *
155 * Note 1: Only an expression that is evaluated to a constant
156 * can be used as the Expression of Case
157 *
158 * Note 2: So as initial elements of a package are either constant
159 * data or name strings then check of implicit conversion
160 * applied to the elements of the search package of Match
161 * operator is limited to a data images case.
162 *
163 * Buffer field to Integer implicit conversion Cases.
164 * First, Buffer field is evaluated either as Integer or as Buffer.
165 * Conversion only takes place for Buffer in which case
166 * Buffer to Integer test constructions should be used.
167 *
168 * Buffer field to Buffer implicit conversion Cases.
169 * First, Buffer field is evaluated either as Integer or as Buffer.
170 * Conversion only takes place for Integer in which case
171 * Integer to Buffer test constructions should be used.
172 *
173 * Buffer field to String implicit conversion Cases.
174 * First, Buffer field is evaluated either as Integer or as Buffer
175 * For Integer case Integer to String test constructions should be used.
176 * For Buffer case Buffer to String test constructions should be used.
177 *
178 * Field unit implicit conversion is considered similar to
179 * Buffer field one.
180 *
181 *
182 * Cases when there are more than one operand for implicit conversion
183 * - when the first operand of Concatenate operator is Integer,
184 * there are additional conversions besides this Integer to Buffer:
185 * = String to Integer conversion if second operand is String
186 * = Buffer to Integer conversion if second operand is Buffer
187 * = Integer to Buffer conversion of the converted second operand
188 *
189 *
190 * EXCEPTIONAL Conditions during implicit conversion
191 *
192 * String to Integer implicit conversion Cases.
193 *
194 * Buffer to String implicit conversion Cases.
195 *
196 * Buffer field to String implicit conversion Cases.
197 *
198 * Field unit to String implicit conversion Cases.
199 *
200 */
201 Name (Z084, 0x54)
202 Name (TERR, "Test error")
203 /* Test Data by types */
204 /* Test Integers */
205 Name (I601, 0xD1)
206 Name (I602, 0x000000024CB016EA)
207 Name (I603, 0xC179B3FE)
208 Name (I604, 0xFE7CB391D650A284)
209 Name (I605, 0x00)
210 Name (I606, 0xFFFFFFFF)
211 Name (I607, 0xFFFFFFFFFFFFFFFF)
212 Name (I608, 0x00ABCDEF)
213 Name (I609, 0x00ABCDEF)
214 Name (I60A, 0xFF)
215 Name (I60B, 0x000000FFFFFFFFFF)
216 Name (I60C, 0x6179534E)
217 Name (I60D, 0x6E7C534136502214)
218 Name (I60E, 0x6E00534136002214)
219 Name (I60F, 0x6E7C534136002214)
220 Name (PI60, Package (0x10)
221 {
222 0x01,
223 0xD1,
224 0x000000024CB016EA,
225 0xC179B3FE,
226 0xFE7CB391D650A284,
227 0x00,
228 0xFFFFFFFF,
229 0xFFFFFFFFFFFFFFFF,
230 0x00ABCDEF,
231 0x00ABCDEF,
232 0xFF,
233 0x000000FFFFFFFFFF,
234 0x6179534E,
235 0x6E7C534136502214,
236 0x6E00534136002214,
237 0x6E7C534136002214
238 })
239 /* Test Strings */
240
241 Name (S600, "0")
242 Name (S601, "0321")
243 Name (S602, "321")
244 Name (S603, "ba9876")
245 Name (S604, "C179B3FE")
246 Name (S605, "FE7CB391D650A284")
247 Name (S606, "ffffffff")
248 Name (S607, "ffffffffffffffff")
249 Name (S608, "fe7cb391d650a2841")
250 Name (S609, "9876543210")
251 Name (S60A, "0xfe7cb3")
252 Name (S60B, "1234q")
253 Name (S60C, "")
254 Name (S60D, " ")
255 /* of size 200 chars */
256
257 Name (S60E, "!\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !\"#$%&\'()*")
258 /* all symbols 0x01-0x7f */
259
260 Name (S60F, "\x01\x02\x03\x04\x05\x06\a\b\t\n\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F")
261 Name (S610, "abcdef")
262 Name (S611, "ABCDEF")
263 Name (S612, "ff")
264 Name (S613, "ffffffffff")
265 Name (S614, "B")
266 Name (S615, "3789012345678901")
267 Name (S616, "D76162EE9EC35")
268 Name (S617, "90123456")
269 Name (S618, "55F2CC0")
270 Name (S619, "c179B3FE")
271 Name (S61A, "fE7CB391D650A284")
272 Name (S61B, "63")
273 Name (PS60, Package (0x1C)
274 {
275 "0",
276 "0321",
277 "321",
278 "ba9876",
279 "C179B3FE",
280 "FE7CB391D650A284",
281 "ffffffff",
282 "ffffffffffffffff",
283 "fe7cb391d650a2841",
284 "9876543210",
285 "0xfe7cb3",
286 "1234q",
287 "",
288 " ",
289 /* of size 200 chars */
290
291 "!\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !\"#$%&\'()*",
292 /* all symbols 0x01-0x7f */
293
294 "\x01\x02\x03\x04\x05\x06\a\b\t\n\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F",
295 "abcdef",
296 "ABCDEF",
297 "ff",
298 "ffffffffff",
299 "B",
300 "3789012345678901",
301 "D76162EE9EC35",
302 "90123456",
303 "55F2CC0",
304 "c179B3FE",
305 "fE7CB391D650A284",
306 "63"
307 })
308 /* Test Buffers */
309
310 Name (B600, Buffer (0x01)
311 {
312 0x00 // .
313 })
314 Name (B601, Buffer (0x01)
315 {
316 0xA5 // .
317 })
318 Name (B602, Buffer (0x02)
319 {
320 0x21, 0x03 // !.
321 })
322 Name (B603, Buffer (0x03)
323 {
324 0x21, 0x03, 0x5A // !.Z
325 })
326 Name (B604, Buffer (0x03)
327 {
328 0x21, 0x03, 0x5A // !.Z
329 })
330 Name (B605, Buffer (0x03)
331 {
332 0x21, 0x03 // !.
333 })
334 Name (B606, Buffer (0x03)
335 {
336 0x21, 0x03, 0x00 // !..
337 })
338 Name (B607, Buffer (0x04)
339 {
340 0xFE, 0xB3, 0x79, 0xC1 // ..y.
341 })
342 Name (B608, Buffer (0x05)
343 {
344 0xFE, 0xB3, 0x79, 0xC1, 0xA5 // ..y..
345 })
346 Name (B609, Buffer (0x08)
347 {
348 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFE // ..P...|.
349 })
350 Name (B60A, Buffer (0x09)
351 {
352 /* 0000 */ 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFE, // ..P...|.
353 /* 0008 */ 0xA5 // .
354 })
355 Name (B60B, Buffer (0x0101)
356 {
357 0x00 // .
358 })
359 Name (B60C, Buffer (0x43)
360 {
361 /* 0000 */ 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, // !"#$%&'(
362 /* 0008 */ 0x29, 0x2A, 0x2B, 0x2C, 0x2D, 0x2E, 0x2F, 0x30, // )*+,-./0
363 /* 0010 */ 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, // 12345678
364 /* 0018 */ 0x39, 0x3A, 0x3B, 0x3C, 0x3D, 0x3E, 0x3F, 0x40, // 9:;<=>?@
365 /* 0020 */ 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, // ABCDEFGH
366 /* 0028 */ 0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F, 0x50, // IJKLMNOP
367 /* 0030 */ 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, // QRSTUVWX
368 /* 0038 */ 0x59, 0x5A, 0x5B, 0x5C, 0x5D, 0x5E, 0x5F, 0x60, // YZ[\]^_`
369 /* 0040 */ 0x61, 0x62, 0x63 // abc
370 })
371 Name (B60D, Buffer (0x44)
372 {
373 "!\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abc"
374 })
375 Name (B60E, Buffer (0x01)
376 {
377 0x0B // .
378 })
379 Name (B60F, Buffer (0x08)
380 {
381 0x01, 0x89, 0x67, 0x45, 0x23, 0x01, 0x89, 0x37 // ..gE#..7
382 })
383 Name (B610, Buffer (0x07)
384 {
385 0x35, 0xEC, 0xE9, 0x2E, 0x16, 0x76, 0x0D // 5....v.
386 })
387 Name (B611, Buffer (0x04)
388 {
389 0x56, 0x34, 0x12, 0x90 // V4..
390 })
391 Name (B612, Buffer (0x04)
392 {
393 0xC0, 0x2C, 0x5F, 0x05 // .,_.
394 })
395 Name (B613, Buffer (0x01)
396 {
397 0x3F // ?
398 })
399 Name (PB60, Package (0x14)
400 {
401 Buffer (0x01)
402 {
403 0x00 // .
404 },
405
406 Buffer (0x01)
407 {
408 0xA5 // .
409 },
410
411 Buffer (0x02)
412 {
413 0x21, 0x03 // !.
414 },
415
416 Buffer (0x03)
417 {
418 0x21, 0x03, 0x5A // !.Z
419 },
420
421 Buffer (0x03)
422 {
423 0x21, 0x03, 0x5A // !.Z
424 },
425
426 Buffer (0x03)
427 {
428 0x21, 0x03 // !.
429 },
430
431 Buffer (0x03)
432 {
433 0x21, 0x03, 0x00 // !..
434 },
435
436 Buffer (0x04)
437 {
438 0xFE, 0xB3, 0x79, 0xC1 // ..y.
439 },
440
441 Buffer (0x05)
442 {
443 0xFE, 0xB3, 0x79, 0xC1, 0xA5 // ..y..
444 },
445
446 Buffer (0x08)
447 {
448 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFE // ..P...|.
449 },
450
451 Buffer (0x09)
452 {
453 /* 0000 */ 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFE, // ..P...|.
454 /* 0008 */ 0xA5 // .
455 },
456
457 Buffer (0x0101)
458 {
459 0x00 // .
460 },
461
462 Buffer (0x43)
463 {
464 /* 0000 */ 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, // !"#$%&'(
465 /* 0008 */ 0x29, 0x2A, 0x2B, 0x2C, 0x2D, 0x2E, 0x2F, 0x30, // )*+,-./0
466 /* 0010 */ 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, // 12345678
467 /* 0018 */ 0x39, 0x3A, 0x3B, 0x3C, 0x3D, 0x3E, 0x3F, 0x40, // 9:;<=>?@
468 /* 0020 */ 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, // ABCDEFGH
469 /* 0028 */ 0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F, 0x50, // IJKLMNOP
470 /* 0030 */ 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, // QRSTUVWX
471 /* 0038 */ 0x59, 0x5A, 0x5B, 0x5C, 0x5D, 0x5E, 0x5F, 0x60, // YZ[\]^_`
472 /* 0040 */ 0x61, 0x62, 0x63 // abc
473 },
474
475 Buffer (0x44)
476 {
477 "!\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abc"
478 },
479
480 Buffer (0x01)
481 {
482 0x0B // .
483 },
484
485 Buffer (0x08)
486 {
487 0x01, 0x89, 0x67, 0x45, 0x23, 0x01, 0x89, 0x37 // ..gE#..7
488 },
489
490 Buffer (0x07)
491 {
492 0x35, 0xEC, 0xE9, 0x2E, 0x16, 0x76, 0x0D // 5....v.
493 },
494
495 Buffer (0x04)
496 {
497 0x56, 0x34, 0x12, 0x90 // V4..
498 },
499
500 Buffer (0x04)
501 {
502 0xC0, 0x2C, 0x5F, 0x05 // .,_.
503 },
504
505 Buffer (0x01)
506 {
507 0x3F // ?
508 }
509 })
510 /* Test Buffer Fields */
511 /*Name(b630, Buffer(428){}) */
512 Name (B630, Buffer (0x01C4){})
513 CreateField (B630, 0x00, 0x1F, BF61)
514 CreateField (B630, 0x1F, 0x20, BF62)
515 CreateField (B630, 0x3F, 0x21, BF63)
516 CreateField (B630, 0x60, 0x3F, BF64)
517 CreateField (B630, 0x9F, 0x40, BF65)
518 CreateField (B630, 0xDF, 0x41, BF66)
519 CreateField (B630, 0x0120, 0x0218, BF69)
520 CreateField (B630, 0x0338, 0x0220, BF6A)
521 CreateField (B630, 0x0558, 0x0808, BF6B)
522 /* 3424 */
523
524 CreateField (B630, 0x0D60, 0x1F, BF91)
525 CreateField (B630, 0x0D7F, 0x40, BF95)
526 CreateField (B630, 0x0DBF, 0x1F, BFA1)
527 CreateField (B630, 0x0DDE, 0x40, BFA5)
528 /* 3614 */
529
530 Name (B631, Buffer (0x45){})
531 CreateField (B631, 0x00, 0x41, BF6C)
532 CreateField (B631, 0x41, 0x41, BF6D)
533 CreateField (B631, 0x82, 0x21, BF6E)
534 CreateField (B631, 0xA3, 0x21, BF6F)
535 CreateField (B631, 0xC4, 0x20, BF70)
536 CreateField (B631, 0xE4, 0x40, BF71)
537 CreateField (B631, 0x0124, 0x40, BF72)
538 CreateField (B631, 0x0164, 0x40, BF73)
539 CreateField (B631, 0x01A4, 0x21, BF74)
540 CreateField (B631, 0x01C5, 0x21, BF75)
541 CreateField (B631, 0x01E6, 0x21, BF76)
542 CreateField (B631, 0x0207, 0x20, BF77)
543 /* 551 */
544 /* Test Packages */
545 Name (P601, Package (0x01)
546 {
547 0xC179B3FE
548 })
549 Name (P602, Package (0x01)
550 {
551 0xFE7CB391D650A284
552 })
553 /* Auxiliary agents triggering implicit conversion */
554 /* Auxiliary Integers */
555 Name (AUI0, Ones)
556 Name (AUI1, 0x0321)
557 Name (AUI2, 0x000000024CB016EA)
558 Name (AUI3, 0xC179B3FE)
559 Name (AUI4, 0xFE7CB391D650A284)
560 Name (AUI5, 0x00)
561 Name (AUI6, 0x01)
562 Name (AUI7, 0x03)
563 Name (AUI8, 0x04)
564 Name (AUI9, 0x05)
565 Name (AUIA, 0x08)
566 Name (AUIB, 0x09)
567 Name (AUIC, 0xC179B3FF)
568 Name (AUID, 0xFE7CB391D650A285)
569 Name (AUIE, 0xC179B3FD)
570 Name (AUIF, 0xFE7CB391D650A283)
571 Name (AUIG, 0x0322)
572 Name (AUIH, 0x0320)
573 Name (AUII, 0xFFFFFFFF)
574 Name (AUIJ, 0xFFFFFFFFFFFFFFFF)
575 Name (AUIK, 0xD650A284)
576 Name (AUIL, 0xD650A285)
577 Name (AUIM, 0xD650A283)
578 Name (PAUI, Package (0x17)
579 {
580 Ones,
581 0x0321,
582 0x000000024CB016EA,
583 0xC179B3FE,
584 0xFE7CB391D650A284,
585 0x00,
586 0x01,
587 0x03,
588 0x04,
589 0x05,
590 0x08,
591 0x09,
592 0xC179B3FF,
593 0xFE7CB391D650A285,
594 0xC179B3FD,
595 0xFE7CB391D650A283,
596 0x0322,
597 0x0320,
598 0xFFFFFFFF,
599 0xFFFFFFFFFFFFFFFF,
600 0xD650A284,
601 0xD650A285,
602 0xD650A283
603 })
604 /* Auxiliary Strings */
605
606 Name (AUS0, "")
607 Name (AUS1, "1234q")
608 Name (AUS2, "c179B3FE")
609 Name (AUS3, "C179B3FE")
610 Name (AUS4, "FE7CB391D650A284")
611 Name (AUS5, "fE7CB391D650A284")
612 Name (AUS6, "This is auxiliary String")
613 Name (AUS7, "0321")
614 Name (AUS8, "321")
615 Name (AUS9, "21 03 00")
616 Name (AUSA, "21 03 01")
617 Name (AUSB, "21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 62 63")
618 Name (AUSC, "21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 62 64")
619 Name (PAUS, Package (0x0D)
620 {
621 "",
622 "1234q",
623 "c179B3FE",
624 "C179B3FE",
625 "FE7CB391D650A284",
626 "fE7CB391D650A284",
627 "This is auxiliary String",
628 "0321",
629 "321",
630 "21 03 00",
631 "21 03 01",
632 "21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 62 63",
633 "21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 62 64"
634 })
635 /* Auxiliary Buffers */
636
637 Name (AUB0, Buffer (0x01)
638 {
639 0x5A // Z
640 })
641 Name (AUB1, Buffer (0x02)
642 {
643 "Z"
644 })
645 Name (AUB2, Buffer (0x04)
646 {
647 0xFE, 0xB3, 0x79, 0xC2 // ..y.
648 })
649 Name (AUB3, Buffer (0x04)
650 {
651 0xFE, 0xB3, 0x79, 0xC1 // ..y.
652 })
653 Name (AUB4, Buffer (0x08)
654 {
655 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFE // ..P...|.
656 })
657 Name (AUB5, Buffer (0x08)
658 {
659 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFF // ..P...|.
660 })
661 Name (AUB6, Buffer (0x19)
662 {
663 "This is auxiliary Buffer"
664 })
665 Name (AUB7, Buffer (0x05)
666 {
667 "0321"
668 })
669 Name (AUB8, Buffer (0x05)
670 {
671 0x30, 0x33, 0x32, 0x31, 0x01 // 0321.
672 })
673 Name (AUB9, Buffer (0x01)
674 {
675 0x00 // .
676 })
677 Name (AUBA, Buffer (0x01)
678 {
679 0x01 // .
680 })
681 Name (AUBB, Buffer (0xC9)
682 {
683 "!\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !\"#$%&\'()*"
684 })
685 Name (AUBC, Buffer (0xC9)
686 {
687 /* 0000 */ 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, // !"#$%&'(
688 /* 0008 */ 0x29, 0x2A, 0x2B, 0x2C, 0x2D, 0x2E, 0x2F, 0x30, // )*+,-./0
689 /* 0010 */ 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, // 12345678
690 /* 0018 */ 0x39, 0x3A, 0x3B, 0x3C, 0x3D, 0x3E, 0x3F, 0x40, // 9:;<=>?@
691 /* 0020 */ 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, // ABCDEFGH
692 /* 0028 */ 0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F, 0x50, // IJKLMNOP
693 /* 0030 */ 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, // QRSTUVWX
694 /* 0038 */ 0x59, 0x5A, 0x5B, 0x5C, 0x5D, 0x5E, 0x5F, 0x60, // YZ[\]^_`
695 /* 0040 */ 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, // abcdefgh
696 /* 0048 */ 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, 0x70, // ijklmnop
697 /* 0050 */ 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, // qrstuvwx
698 /* 0058 */ 0x79, 0x7A, 0x7B, 0x7C, 0x7D, 0x7E, 0x20, 0x21, // yz{|}~ !
699 /* 0060 */ 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, // "#$%&'()
700 /* 0068 */ 0x2A, 0x2B, 0x2C, 0x2D, 0x2E, 0x2F, 0x30, 0x31, // *+,-./01
701 /* 0070 */ 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, // 23456789
702 /* 0078 */ 0x3A, 0x3B, 0x3C, 0x3D, 0x3E, 0x3F, 0x40, 0x41, // :;<=>?@A
703 /* 0080 */ 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, // BCDEFGHI
704 /* 0088 */ 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F, 0x50, 0x51, // JKLMNOPQ
705 /* 0090 */ 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, // RSTUVWXY
706 /* 0098 */ 0x5A, 0x5B, 0x5C, 0x5D, 0x5E, 0x5F, 0x60, 0x61, // Z[\]^_`a
707 /* 00A0 */ 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, // bcdefghi
708 /* 00A8 */ 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, 0x70, 0x71, // jklmnopq
709 /* 00B0 */ 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79, // rstuvwxy
710 /* 00B8 */ 0x7A, 0x7B, 0x7C, 0x7D, 0x7E, 0x20, 0x21, 0x22, // z{|}~ !"
711 /* 00C0 */ 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2A, // #$%&'()*
712 /* 00C8 */ 0x01 // .
713 })
714 Name (PAUB, Package (0x0D)
715 {
716 Buffer (0x01)
717 {
718 0x5A // Z
719 },
720
721 Buffer (0x02)
722 {
723 "Z"
724 },
725
726 Buffer (0x04)
727 {
728 0xFE, 0xB3, 0x79, 0xC2 // ..y.
729 },
730
731 Buffer (0x04)
732 {
733 0xFE, 0xB3, 0x79, 0xC1 // ..y.
734 },
735
736 Buffer (0x08)
737 {
738 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFE // ..P...|.
739 },
740
741 Buffer (0x08)
742 {
743 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFF // ..P...|.
744 },
745
746 Buffer (0x19)
747 {
748 "This is auxiliary Buffer"
749 },
750
751 Buffer (0x05)
752 {
753 "0321"
754 },
755
756 Buffer (0x05)
757 {
758 0x30, 0x33, 0x32, 0x31, 0x01 // 0321.
759 },
760
761 Buffer (0x01)
762 {
763 0x00 // .
764 },
765
766 Buffer (0x01)
767 {
768 0x01 // .
769 },
770
771 Buffer (0xC9)
772 {
773 "!\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !\"#$%&\'()*"
774 },
775
776 Buffer (0xC9)
777 {
778 /* 0000 */ 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, // !"#$%&'(
779 /* 0008 */ 0x29, 0x2A, 0x2B, 0x2C, 0x2D, 0x2E, 0x2F, 0x30, // )*+,-./0
780 /* 0010 */ 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, // 12345678
781 /* 0018 */ 0x39, 0x3A, 0x3B, 0x3C, 0x3D, 0x3E, 0x3F, 0x40, // 9:;<=>?@
782 /* 0020 */ 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, // ABCDEFGH
783 /* 0028 */ 0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F, 0x50, // IJKLMNOP
784 /* 0030 */ 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, // QRSTUVWX
785 /* 0038 */ 0x59, 0x5A, 0x5B, 0x5C, 0x5D, 0x5E, 0x5F, 0x60, // YZ[\]^_`
786 /* 0040 */ 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, // abcdefgh
787 /* 0048 */ 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, 0x70, // ijklmnop
788 /* 0050 */ 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, // qrstuvwx
789 /* 0058 */ 0x79, 0x7A, 0x7B, 0x7C, 0x7D, 0x7E, 0x20, 0x21, // yz{|}~ !
790 /* 0060 */ 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, // "#$%&'()
791 /* 0068 */ 0x2A, 0x2B, 0x2C, 0x2D, 0x2E, 0x2F, 0x30, 0x31, // *+,-./01
792 /* 0070 */ 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, // 23456789
793 /* 0078 */ 0x3A, 0x3B, 0x3C, 0x3D, 0x3E, 0x3F, 0x40, 0x41, // :;<=>?@A
794 /* 0080 */ 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, // BCDEFGHI
795 /* 0088 */ 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F, 0x50, 0x51, // JKLMNOPQ
796 /* 0090 */ 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, // RSTUVWXY
797 /* 0098 */ 0x5A, 0x5B, 0x5C, 0x5D, 0x5E, 0x5F, 0x60, 0x61, // Z[\]^_`a
798 /* 00A0 */ 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, // bcdefghi
799 /* 00A8 */ 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, 0x70, 0x71, // jklmnopq
800 /* 00B0 */ 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79, // rstuvwxy
801 /* 00B8 */ 0x7A, 0x7B, 0x7C, 0x7D, 0x7E, 0x20, 0x21, 0x22, // z{|}~ !"
802 /* 00C0 */ 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2A, // #$%&'()*
803 /* 00C8 */ 0x01 // .
804 }
805 })
806 /* Auxiliary Packages */
807
808 Name (AUP0, Package (0x0F)
809 {
810 0x0A50,
811 0x0A51,
812 0x0A52,
813 0x0A53,
814 0x0A54,
815 0x0A55,
816 0x0A56,
817 0x0A57,
818 0x0A58,
819 0x0A59,
820 0x0A5A,
821 0x0A5B,
822 0x0A5C,
823 0x0A5D,
824 0x0A5E
825 })
826 Name (AUP1, Package (0x01)
827 {
828 0xFE7CB391D650A284
829 })
830 Name (AUP2, Package (0x01)
831 {
832 0xC179B3FE
833 })
834 Name (PAUP, Package (0x03)
835 {
836 Package (0x0F)
837 {
838 0x0A50,
839 0x0A51,
840 0x0A52,
841 0x0A53,
842 0x0A54,
843 0x0A55,
844 0x0A56,
845 0x0A57,
846 0x0A58,
847 0x0A59,
848 0x0A5A,
849 0x0A5B,
850 0x0A5C,
851 0x0A5D,
852 0x0A5E
853 },
854
855 Package (0x01)
856 {
857 0xFE7CB391D650A284
858 },
859
860 Package (0x01)
861 {
862 0xC179B3FE
863 }
864 })
865 /* Benchmark Data */
866 /* Benchmark Integer Values in case conversion */
867 /* Derefof(Index(..., String->Integer)) */
868 Name (BI10, 0x69)
869 Name (BI11, 0x0A5B)
870 /* Benchmark Integer Values in case conversion */
871 /* Decrement/Increment(String/Buffer->Integer)) */
872 Name (BI12, 0x0320)
873 Name (BI13, 0x0321)
874 Name (BI14, 0xC179B3FD)
875 Name (BI15, 0xC179B3FE)
876 Name (BI16, 0xFE7CB391D650A283)
877 Name (BI17, 0xFE7CB391D650A284)
878 Name (BI18, 0xD650A283)
879 Name (BI19, 0xD650A284)
880 Name (BI23, 0x0322)
881 Name (BI27, 0xFE7CB391D650A285)
882 Name (BI29, 0xD650A285)
883 /* Benchmark Strings in case conversion */
884 /* Concatenate(String, Integer->String) */
885 Name (BS10, "FE7CB391D650A284")
886 Name (BS11, "1234qFE7CB391D650A284")
887 Name (BS12, "C179B3FE")
888 Name (BS13, "1234qC179B3FE")
889 Name (BS14, "D650A284")
890 Name (BS15, "1234qD650A284")
891 /* Benchmark Strings in case conversion */
892 /* ToString(Integer->Buffer, ...) */
893 Name (BS16, "NSya")
894 Name (BS17, "NSy")
895 Name (BS18, "\x14\"P6AS|n")
896 Name (BS19, "\x14\"P")
897 Name (BS1A, "\x14\"")
898 /* Benchmark Strings in case conversion */
899 /* ToString(..., String->Integer) */
900 Name (BS1B, "This is aux")
901 Name (BS1C, "This is auxiliary Buffer")
902 /* Benchmark Strings in case conversion */
903 /* Mid(String, String->Integer, Integer) */
904 Name (BS1D, "iliary Str")
905 Name (BS1E, "This is auxiliary String")
906 Name (BS1F, "iliary String")
907 /* Benchmark Strings in case conversion */
908 /* ToString(String->Buffer, ...) */
909 Name (BS20, "0321")
910 Name (BS21, "032")
911 Name (BS22, "")
912 Name (BS23, "!\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !\"#$%&\'()*")
913 Name (BS24, "!\"#")
914 /* Benchmark Strings in case conversion */
915 /* Concatenate(String, Buffer->String) */
916 Name (BS25, "21 03 00")
917 Name (BS26, "1234q21 03 00")
918 Name (BS27, "21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 62 63")
919 /* Benchmark Buffers in case conversion */
920 /* Concatenate(Buffer, Integer->Buffer) */
921 Name (BB10, Buffer (0x09)
922 {
923 /* 0000 */ 0x5A, 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, // Z..P...|
924 /* 0008 */ 0xFE // .
925 })
926 Name (BB11, Buffer (0x0A)
927 {
928 /* 0000 */ 0x5A, 0x00, 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, // Z...P...
929 /* 0008 */ 0x7C, 0xFE // |.
930 })
931 Name (BB12, Buffer (0x05)
932 {
933 0x5A, 0xFE, 0xB3, 0x79, 0xC1 // Z..y.
934 })
935 Name (BB13, Buffer (0x06)
936 {
937 0x5A, 0x00, 0xFE, 0xB3, 0x79, 0xC1 // Z...y.
938 })
939 Name (BB14, Buffer (0x05)
940 {
941 0x5A, 0x84, 0xA2, 0x50, 0xD6 // Z..P.
942 })
943 Name (BB15, Buffer (0x06)
944 {
945 0x5A, 0x00, 0x84, 0xA2, 0x50, 0xD6 // Z...P.
946 })
947 Name (BB16, Buffer (0x10)
948 {
949 /* 0000 */ 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFE, // ..P...|.
950 /* 0008 */ 0x5A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 // Z.......
951 })
952 Name (BB17, Buffer (0x10)
953 {
954 /* 0000 */ 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFE, // ..P...|.
955 /* 0008 */ 0x5A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 // Z.......
956 })
957 Name (BB18, Buffer (0x08)
958 {
959 0xFE, 0xB3, 0x79, 0xC1, 0x5A, 0x00, 0x00, 0x00 // ..y.Z...
960 })
961 Name (BB19, Buffer (0x08)
962 {
963 0xFE, 0xB3, 0x79, 0xC1, 0x5A, 0x00, 0x00, 0x00 // ..y.Z...
964 })
965 Name (BB1A, Buffer (0x08)
966 {
967 0x84, 0xA2, 0x50, 0xD6, 0x5A, 0x00, 0x00, 0x00 // ..P.Z...
968 })
969 Name (BB1B, Buffer (0x08)
970 {
971 0x84, 0xA2, 0x50, 0xD6, 0x5A, 0x00, 0x00, 0x00 // ..P.Z...
972 })
973 /* Benchmark Integer->Buffer Buffers */
974 /* If no buffer object exists, a new buffer */
975 /* object is created based on the size of */
976 /* the integer (4 bytes for 32-bit integers */
977 /* and 8 bytes for 64-bit integers). */
978 Name (BB1C, Buffer (0x04)
979 {
980 0xFE, 0xB3, 0x79, 0xC1 // ..y.
981 })
982 Name (BB1D, Buffer (0x08)
983 {
984 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFE // ..P...|.
985 })
986 /* Benchmark Buffers in case conversion */
987 /* Mid(Buffer Field->Integer->Buffer, 0, n, ...) */
988 Name (BB1E, Buffer (0x05)
989 {
990 0xFE, 0xB3, 0x79, 0xC1, 0x01 // ..y..
991 })
992 Name (BB1F, Buffer (0x09)
993 {
994 /* 0000 */ 0x21, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // !.......
995 /* 0008 */ 0x01 // .
996 })
997 /* Benchmark Buffers in case conversion */
998 /* Concatenate(Integer->Buffer, Integer->Buffer) */
999 Name (BB20, Buffer (0x10)
1000 {
1001 /* 0000 */ 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFE, // ..P...|.
1002 /* 0008 */ 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFE // ..P...|.
1003 })
1004 Name (BB21, Buffer (0x10)
1005 {
1006 /* 0000 */ 0x21, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // !.......
1007 /* 0008 */ 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFE // ..P...|.
1008 })
1009 Name (BB22, Buffer (0x10)
1010 {
1011 /* 0000 */ 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFE, // ..P...|.
1012 /* 0008 */ 0x21, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 // !.......
1013 })
1014 Name (BB23, Buffer (0x08)
1015 {
1016 0xFE, 0xB3, 0x79, 0xC1, 0xFE, 0xB3, 0x79, 0xC1 // ..y...y.
1017 })
1018 Name (BB24, Buffer (0x08)
1019 {
1020 0x21, 0x03, 0x00, 0x00, 0xFE, 0xB3, 0x79, 0xC1 // !.....y.
1021 })
1022 Name (BB25, Buffer (0x08)
1023 {
1024 0xFE, 0xB3, 0x79, 0xC1, 0x21, 0x03, 0x00, 0x00 // ..y.!...
1025 })
1026 /* Benchmark Buffers in case conversion */
1027 /* Concatenate(Integer->Buffer, String->Integer->Buffer) */
1028 /* Concatenate(Integer->Buffer, Buffer->Integer->Buffer) */
1029 Name (BB26, Buffer (0x10)
1030 {
1031 /* 0000 */ 0x21, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // !.......
1032 /* 0008 */ 0x21, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 // !.......
1033 })
1034 Name (BB27, Buffer (0x08)
1035 {
1036 0x21, 0x03, 0x00, 0x00, 0x21, 0x03, 0x00, 0x00 // !...!...
1037 })
1038 Name (BB28, Buffer (0x08)
1039 {
1040 0x21, 0x03, 0x00, 0x00, 0x84, 0xA2, 0x50, 0xD6 // !.....P.
1041 })
1042 /* Benchmark Buffers in case conversion */
1043 /* Concatenate(Buffer, String->Buffer) */
1044 Name (BB29, Buffer (0x06)
1045 {
1046 "Z0321"
1047 })
1048 Name (BB2A, Buffer (0x07)
1049 {
1050 0x5A, 0x00, 0x30, 0x33, 0x32, 0x31, 0x00 // Z.0321.
1051 })
1052 Name (BB2B, Buffer (0x02)
1053 {
1054 "Z"
1055 })
1056 Name (BB2C, Buffer (0x03)
1057 {
1058 0x5A, 0x00, 0x00 // Z..
1059 })
1060 Name (BB2D, Buffer (0xC9)
1061 {
1062 "!\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !\"#$%&\'()*"
1063 })
1064 /* Benchmark Buffers in case conversion */
1065 /* Mid(Integer->Buffer, 1, n, ...) */
1066 Name (BB30, Buffer (0x07)
1067 {
1068 0x22, 0x00, 0x36, 0x41, 0x53, 0x7C, 0x6E // ".6AS|n
1069 })
1070 Name (BB31, Buffer (0x03)
1071 {
1072 0x22, 0x00, 0x36 // ".6
1073 })
1074 /* Benchmark Buffers in case conversion */
1075 /* Mid(Buffer, String->Integer, Integer) */
1076 Name (BB32, Buffer (0x0A)
1077 {
1078 /* 0000 */ 0x69, 0x6C, 0x69, 0x61, 0x72, 0x79, 0x20, 0x42, // iliary B
1079 /* 0008 */ 0x75, 0x66 // uf
1080 })
1081 Name (BB33, Buffer (0x0B)
1082 {
1083 /* 0000 */ 0x54, 0x68, 0x69, 0x73, 0x20, 0x69, 0x73, 0x20, // This is
1084 /* 0008 */ 0x61, 0x75, 0x78 // aux
1085 })
1086 Name (BB34, Buffer (0x19)
1087 {
1088 "This is auxiliary Buffer"
1089 })
1090 Name (BB35, Buffer (0x0E)
1091 {
1092 "iliary Buffer"
1093 })
1094 /* Check Result of operation on equal to Benchmark value */
1095 /* m600(<method name>, */
1096 /* <internal type of error if it occurs>, */
1097 /* <Result>, */
1098 /* <Benchmark value>) */
1099 Method (M600, 4, NotSerialized)
1100 {
1101 Local0 = ObjectType (Arg2)
1102 Local1 = ObjectType (Arg3)
1103 If ((Local0 != Local1))
1104 {
1105 ERR (Concatenate (Arg0, "-OType"), Z084, __LINE__, 0x00, 0x00, Local0, Local1)
1106 }
1107 ElseIf ((Arg2 != Arg3))
1108 {
1109 ERR (Arg0, Z084, __LINE__, 0x00, 0x00, Arg2, Arg3)
1110 }
1111 }
1112
1113 /* Obtain specified Constant Auxiliary Object */
1114 /* as result of a Method invocation (by Return) */
1115 /* m601(<type>, */
1116 /* <opcode>) */
1117 Method (M601, 2, Serialized)
1118 {
1119 Switch (ToInteger (Arg0))
1120 {
1121 Case (0x01)
1122 {
1123 /* Integer */
1124
1125 Switch (ToInteger (Arg1))
1126 {
1127 Case (0x00)
1128 {
1129 Local0 = 0x00
1130 Return (Ones)
1131 }
1132 Case (0x01)
1133 {
1134 Return (0x0321)
1135 }
1136 Case (0x02)
1137 {
1138 Return (0x000000024CB016EA)
1139 }
1140 Case (0x03)
1141 {
1142 Return (0xC179B3FE)
1143 }
1144 Case (0x04)
1145 {
1146 Return (0xFE7CB391D650A284)
1147 }
1148 Case (0x05)
1149 {
1150 Return (0x00)
1151 }
1152 Case (0x06)
1153 {
1154 Return (0x01)
1155 }
1156 Case (0x07)
1157 {
1158 Return (0x03)
1159 }
1160 Case (0x08)
1161 {
1162 Return (0x04)
1163 }
1164 Case (0x09)
1165 {
1166 Return (0x05)
1167 }
1168 Case (0x0A)
1169 {
1170 Return (0x08)
1171 }
1172 Case (0x0B)
1173 {
1174 Return (0x09)
1175 }
1176 Case (0x0C)
1177 {
1178 Return (0xC179B3FF)
1179 }
1180 Case (0x0D)
1181 {
1182 Return (0xFE7CB391D650A285)
1183 }
1184 Case (0x0E)
1185 {
1186 Return (0xC179B3FD)
1187 }
1188 Case (0x0F)
1189 {
1190 Return (0xFE7CB391D650A283)
1191 }
1192 Case (0x10)
1193 {
1194 Return (0x0322)
1195 }
1196 Case (0x11)
1197 {
1198 Return (0x0320)
1199 }
1200 Case (0x12)
1201 {
1202 Return (0xFFFFFFFF)
1203 }
1204 Case (0x13)
1205 {
1206 Return (0xFFFFFFFFFFFFFFFF)
1207 }
1208 Case (0x14)
1209 {
1210 Return (0xD650A284)
1211 }
1212 Case (0x15)
1213 {
1214 Return (0xD650A285)
1215 }
1216 Case (0x16)
1217 {
1218 Return (0xD650A283)
1219 }
1220 Default
1221 {
1222 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg0, Arg1)
1223 }
1224
1225 }
1226 }
1227 Case (0x02)
1228 {
1229 /* String */
1230
1231 Switch (ToInteger (Arg1))
1232 {
1233 Case (0x00)
1234 {
1235 Return ("")
1236 }
1237 Case (0x01)
1238 {
1239 Return ("1234q")
1240 }
1241 Case (0x02)
1242 {
1243 Return ("c179B3FE")
1244 }
1245 Case (0x03)
1246 {
1247 Return ("C179B3FE")
1248 }
1249 Case (0x04)
1250 {
1251 Return ("FE7CB391D650A284")
1252 }
1253 Case (0x05)
1254 {
1255 Return ("fE7CB391D650A284")
1256 }
1257 Case (0x06)
1258 {
1259 Return ("This is auxiliary String")
1260 }
1261 Case (0x07)
1262 {
1263 Return ("0321")
1264 }
1265 Case (0x08)
1266 {
1267 Return ("321")
1268 }
1269 Case (0x09)
1270 {
1271 Return ("21 03 00")
1272 }
1273 Case (0x0A)
1274 {
1275 Return ("21 03 01")
1276 }
1277 Default
1278 {
1279 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg0, Arg1)
1280 }
1281
1282 }
1283 }
1284 Case (0x03)
1285 {
1286 /* Buffer */
1287
1288 Switch (ToInteger (Arg1))
1289 {
1290 Case (0x00)
1291 {
1292 Return (Buffer (0x01)
1293 {
1294 0x5A // Z
1295 })
1296 }
1297 Case (0x01)
1298 {
1299 Return (Buffer (0x02)
1300 {
1301 "Z"
1302 })
1303 }
1304 Case (0x02)
1305 {
1306 Return (Buffer (0x04)
1307 {
1308 0xFE, 0xB3, 0x79, 0xC2 // ..y.
1309 })
1310 }
1311 Case (0x03)
1312 {
1313 Return (Buffer (0x04)
1314 {
1315 0xFE, 0xB3, 0x79, 0xC1 // ..y.
1316 })
1317 }
1318 Case (0x04)
1319 {
1320 Return (Buffer (0x08)
1321 {
1322 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFE // ..P...|.
1323 })
1324 }
1325 Case (0x05)
1326 {
1327 Return (Buffer (0x08)
1328 {
1329 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFF // ..P...|.
1330 })
1331 }
1332 Case (0x06)
1333 {
1334 Return (Buffer (0x19)
1335 {
1336 "This is auxiliary Buffer"
1337 })
1338 }
1339 Case (0x07)
1340 {
1341 Return (Buffer (0x05)
1342 {
1343 "0321"
1344 })
1345 }
1346 Case (0x08)
1347 {
1348 Return (Buffer (0x05)
1349 {
1350 0x30, 0x33, 0x32, 0x31, 0x01 // 0321.
1351 })
1352 }
1353 Default
1354 {
1355 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg0, Arg1)
1356 }
1357
1358 }
1359 }
1360 Case (0x04)
1361 {
1362 /* Package */
1363
1364 Switch (ToInteger (Arg1))
1365 {
1366 Case (0x00)
1367 {
1368 Return (Package (0x0F)
1369 {
1370 0x0A50,
1371 0x0A51,
1372 0x0A52,
1373 0x0A53,
1374 0x0A54,
1375 0x0A55,
1376 0x0A56,
1377 0x0A57,
1378 0x0A58,
1379 0x0A59,
1380 0x0A5A,
1381 0x0A5B,
1382 0x0A5C,
1383 0x0A5D,
1384 0x0A5E
1385 })
1386 }
1387 Default
1388 {
1389 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg0, Arg1)
1390 }
1391
1392 }
1393 }
1394 Default
1395 {
1396 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg0, Arg1)
1397 }
1398
1399 }
1400
1401 Return (Local0)
1402 }
1403
1404 /* Obtain specified Auxiliary Global Named Object */
1405 /* or reference to it as result of a Method invocation */
1406 /* (by Return) */
1407 /* m602(<type>, */
1408 /* <opcode>, */
1409 /* <ref_key>) */
1410 Method (M602, 3, Serialized)
1411 {
1412 If ((Arg2 < 0x03))
1413 {
1414 Switch (ToInteger (Arg0))
1415 {
1416 Case (0x01)
1417 {
1418 /* Integer */
1419
1420 Switch (ToInteger (Arg1))
1421 {
1422 Case (0x00)
1423 {
1424 If ((Arg2 == 0x00))
1425 {
1426 Return (AUI0) /* \AUI0 */
1427 }
1428 ElseIf ((Arg2 == 0x01))
1429 {
1430 Return (RefOf (AUI0))
1431 }
1432 ElseIf ((Arg2 == 0x02))
1433 {
1434 CondRefOf (AUI0, Local0)
1435 Return (Local0)
1436 }
1437 }
1438 Case (0x01)
1439 {
1440 If ((Arg2 == 0x00))
1441 {
1442 Return (AUI1) /* \AUI1 */
1443 }
1444 ElseIf ((Arg2 == 0x01))
1445 {
1446 Return (RefOf (AUI1))
1447 }
1448 ElseIf ((Arg2 == 0x02))
1449 {
1450 CondRefOf (AUI1, Local0)
1451 Return (Local0)
1452 }
1453 }
1454 Case (0x02)
1455 {
1456 If ((Arg2 == 0x00))
1457 {
1458 Return (AUI2) /* \AUI2 */
1459 }
1460 ElseIf ((Arg2 == 0x01))
1461 {
1462 Return (RefOf (AUI2))
1463 }
1464 ElseIf ((Arg2 == 0x02))
1465 {
1466 CondRefOf (AUI2, Local0)
1467 Return (Local0)
1468 }
1469 }
1470 Case (0x03)
1471 {
1472 If ((Arg2 == 0x00))
1473 {
1474 Return (AUI3) /* \AUI3 */
1475 }
1476 ElseIf ((Arg2 == 0x01))
1477 {
1478 Return (RefOf (AUI3))
1479 }
1480 ElseIf ((Arg2 == 0x02))
1481 {
1482 CondRefOf (AUI3, Local0)
1483 Return (Local0)
1484 }
1485 }
1486 Case (0x04)
1487 {
1488 If ((Arg2 == 0x00))
1489 {
1490 Return (AUI4) /* \AUI4 */
1491 }
1492 ElseIf ((Arg2 == 0x01))
1493 {
1494 Return (RefOf (AUI4))
1495 }
1496 ElseIf ((Arg2 == 0x02))
1497 {
1498 CondRefOf (AUI4, Local0)
1499 Return (Local0)
1500 }
1501 }
1502 Case (0x05)
1503 {
1504 If ((Arg2 == 0x00))
1505 {
1506 Return (AUI5) /* \AUI5 */
1507 }
1508 ElseIf ((Arg2 == 0x01))
1509 {
1510 Return (RefOf (AUI5))
1511 }
1512 ElseIf ((Arg2 == 0x02))
1513 {
1514 CondRefOf (AUI5, Local0)
1515 Return (Local0)
1516 }
1517 }
1518 Case (0x06)
1519 {
1520 If ((Arg2 == 0x00))
1521 {
1522 Return (AUI6) /* \AUI6 */
1523 }
1524 ElseIf ((Arg2 == 0x01))
1525 {
1526 Return (RefOf (AUI6))
1527 }
1528 ElseIf ((Arg2 == 0x02))
1529 {
1530 CondRefOf (AUI6, Local0)
1531 Return (Local0)
1532 }
1533 }
1534 Case (0x07)
1535 {
1536 If ((Arg2 == 0x00))
1537 {
1538 Return (AUI7) /* \AUI7 */
1539 }
1540 ElseIf ((Arg2 == 0x01))
1541 {
1542 Return (RefOf (AUI7))
1543 }
1544 ElseIf ((Arg2 == 0x02))
1545 {
1546 CondRefOf (AUI7, Local0)
1547 Return (Local0)
1548 }
1549 }
1550 Case (0x08)
1551 {
1552 If ((Arg2 == 0x00))
1553 {
1554 Return (AUI8) /* \AUI8 */
1555 }
1556 ElseIf ((Arg2 == 0x01))
1557 {
1558 Return (RefOf (AUI8))
1559 }
1560 ElseIf ((Arg2 == 0x02))
1561 {
1562 CondRefOf (AUI8, Local0)
1563 Return (Local0)
1564 }
1565 }
1566 Case (0x09)
1567 {
1568 If ((Arg2 == 0x00))
1569 {
1570 Return (AUI9) /* \AUI9 */
1571 }
1572 ElseIf ((Arg2 == 0x01))
1573 {
1574 Return (RefOf (AUI9))
1575 }
1576 ElseIf ((Arg2 == 0x02))
1577 {
1578 CondRefOf (AUI9, Local0)
1579 Return (Local0)
1580 }
1581 }
1582 Case (0x0A)
1583 {
1584 If ((Arg2 == 0x00))
1585 {
1586 Return (AUIA) /* \AUIA */
1587 }
1588 ElseIf ((Arg2 == 0x01))
1589 {
1590 Return (RefOf (AUIA))
1591 }
1592 ElseIf ((Arg2 == 0x02))
1593 {
1594 CondRefOf (AUIA, Local0)
1595 Return (Local0)
1596 }
1597 }
1598 Case (0x0B)
1599 {
1600 If ((Arg2 == 0x00))
1601 {
1602 Return (AUIB) /* \AUIB */
1603 }
1604 ElseIf ((Arg2 == 0x01))
1605 {
1606 Return (RefOf (AUIB))
1607 }
1608 ElseIf ((Arg2 == 0x02))
1609 {
1610 CondRefOf (AUIB, Local0)
1611 Return (Local0)
1612 }
1613 }
1614 Case (0x0C)
1615 {
1616 If ((Arg2 == 0x00))
1617 {
1618 Return (AUIC) /* \AUIC */
1619 }
1620 ElseIf ((Arg2 == 0x01))
1621 {
1622 Return (RefOf (AUIC))
1623 }
1624 ElseIf ((Arg2 == 0x02))
1625 {
1626 CondRefOf (AUIC, Local0)
1627 Return (Local0)
1628 }
1629 }
1630 Case (0x0D)
1631 {
1632 If ((Arg2 == 0x00))
1633 {
1634 Return (AUID) /* \AUID */
1635 }
1636 ElseIf ((Arg2 == 0x01))
1637 {
1638 Return (RefOf (AUID))
1639 }
1640 ElseIf ((Arg2 == 0x02))
1641 {
1642 CondRefOf (AUID, Local0)
1643 Return (Local0)
1644 }
1645 }
1646 Case (0x0E)
1647 {
1648 If ((Arg2 == 0x00))
1649 {
1650 Return (AUIE) /* \AUIE */
1651 }
1652 ElseIf ((Arg2 == 0x01))
1653 {
1654 Return (RefOf (AUIE))
1655 }
1656 ElseIf ((Arg2 == 0x02))
1657 {
1658 CondRefOf (AUIE, Local0)
1659 Return (Local0)
1660 }
1661 }
1662 Case (0x0F)
1663 {
1664 If ((Arg2 == 0x00))
1665 {
1666 Return (AUIF) /* \AUIF */
1667 }
1668 ElseIf ((Arg2 == 0x01))
1669 {
1670 Return (RefOf (AUIF))
1671 }
1672 ElseIf ((Arg2 == 0x02))
1673 {
1674 CondRefOf (AUIF, Local0)
1675 Return (Local0)
1676 }
1677 }
1678 Case (0x10)
1679 {
1680 If ((Arg2 == 0x00))
1681 {
1682 Return (AUIG) /* \AUIG */
1683 }
1684 ElseIf ((Arg2 == 0x01))
1685 {
1686 Return (RefOf (AUIG))
1687 }
1688 ElseIf ((Arg2 == 0x02))
1689 {
1690 CondRefOf (AUIG, Local0)
1691 Return (Local0)
1692 }
1693 }
1694 Case (0x11)
1695 {
1696 If ((Arg2 == 0x00))
1697 {
1698 Return (AUIH) /* \AUIH */
1699 }
1700 ElseIf ((Arg2 == 0x01))
1701 {
1702 Return (RefOf (AUIH))
1703 }
1704 ElseIf ((Arg2 == 0x02))
1705 {
1706 CondRefOf (AUIH, Local0)
1707 Return (Local0)
1708 }
1709 }
1710 Case (0x12)
1711 {
1712 If ((Arg2 == 0x00))
1713 {
1714 Return (AUII) /* \AUII */
1715 }
1716 ElseIf ((Arg2 == 0x01))
1717 {
1718 Return (RefOf (AUII))
1719 }
1720 ElseIf ((Arg2 == 0x02))
1721 {
1722 CondRefOf (AUII, Local0)
1723 Return (Local0)
1724 }
1725 }
1726 Case (0x13)
1727 {
1728 If ((Arg2 == 0x00))
1729 {
1730 Return (AUIJ) /* \AUIJ */
1731 }
1732 ElseIf ((Arg2 == 0x01))
1733 {
1734 Return (RefOf (AUIJ))
1735 }
1736 ElseIf ((Arg2 == 0x02))
1737 {
1738 CondRefOf (AUIJ, Local0)
1739 Return (Local0)
1740 }
1741 }
1742 Case (0x14)
1743 {
1744 If ((Arg2 == 0x00))
1745 {
1746 Return (AUIK) /* \AUIK */
1747 }
1748 ElseIf ((Arg2 == 0x01))
1749 {
1750 Return (RefOf (AUIK))
1751 }
1752 ElseIf ((Arg2 == 0x02))
1753 {
1754 CondRefOf (AUIK, Local0)
1755 Return (Local0)
1756 }
1757 }
1758 Case (0x15)
1759 {
1760 If ((Arg2 == 0x00))
1761 {
1762 Return (AUIL) /* \AUIL */
1763 }
1764 ElseIf ((Arg2 == 0x01))
1765 {
1766 Return (RefOf (AUIL))
1767 }
1768 ElseIf ((Arg2 == 0x02))
1769 {
1770 CondRefOf (AUIL, Local0)
1771 Return (Local0)
1772 }
1773 }
1774 Case (0x16)
1775 {
1776 If ((Arg2 == 0x00))
1777 {
1778 Return (AUIM) /* \AUIM */
1779 }
1780 ElseIf ((Arg2 == 0x01))
1781 {
1782 Return (RefOf (AUIM))
1783 }
1784 ElseIf ((Arg2 == 0x02))
1785 {
1786 CondRefOf (AUIM, Local0)
1787 Return (Local0)
1788 }
1789 }
1790 Default
1791 {
1792 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg0, Arg1)
1793 }
1794
1795 }
1796 }
1797 Case (0x02)
1798 {
1799 /* String */
1800
1801 Switch (ToInteger (Arg1))
1802 {
1803 Case (0x00)
1804 {
1805 If ((Arg2 == 0x00))
1806 {
1807 Return (AUS0) /* \AUS0 */
1808 }
1809 ElseIf ((Arg2 == 0x01))
1810 {
1811 Return (RefOf (AUS0))
1812 }
1813 ElseIf ((Arg2 == 0x02))
1814 {
1815 CondRefOf (AUS0, Local0)
1816 Return (Local0)
1817 }
1818 }
1819 Case (0x01)
1820 {
1821 If ((Arg2 == 0x00))
1822 {
1823 Return (AUS1) /* \AUS1 */
1824 }
1825 ElseIf ((Arg2 == 0x01))
1826 {
1827 Return (RefOf (AUS1))
1828 }
1829 ElseIf ((Arg2 == 0x02))
1830 {
1831 CondRefOf (AUS1, Local0)
1832 Return (Local0)
1833 }
1834 }
1835 Case (0x02)
1836 {
1837 If ((Arg2 == 0x00))
1838 {
1839 Return (AUS2) /* \AUS2 */
1840 }
1841 ElseIf ((Arg2 == 0x01))
1842 {
1843 Return (RefOf (AUS2))
1844 }
1845 ElseIf ((Arg2 == 0x02))
1846 {
1847 CondRefOf (AUS2, Local0)
1848 Return (Local0)
1849 }
1850 }
1851 Case (0x03)
1852 {
1853 If ((Arg2 == 0x00))
1854 {
1855 Return (AUS3) /* \AUS3 */
1856 }
1857 ElseIf ((Arg2 == 0x01))
1858 {
1859 Return (RefOf (AUS3))
1860 }
1861 ElseIf ((Arg2 == 0x02))
1862 {
1863 CondRefOf (AUS3, Local0)
1864 Return (Local0)
1865 }
1866 }
1867 Case (0x04)
1868 {
1869 If ((Arg2 == 0x00))
1870 {
1871 Return (AUS4) /* \AUS4 */
1872 }
1873 ElseIf ((Arg2 == 0x01))
1874 {
1875 Return (RefOf (AUS4))
1876 }
1877 ElseIf ((Arg2 == 0x02))
1878 {
1879 CondRefOf (AUS4, Local0)
1880 Return (Local0)
1881 }
1882 }
1883 Case (0x05)
1884 {
1885 If ((Arg2 == 0x00))
1886 {
1887 Return (AUS5) /* \AUS5 */
1888 }
1889 ElseIf ((Arg2 == 0x01))
1890 {
1891 Return (RefOf (AUS5))
1892 }
1893 ElseIf ((Arg2 == 0x02))
1894 {
1895 CondRefOf (AUS5, Local0)
1896 Return (Local0)
1897 }
1898 }
1899 Case (0x06)
1900 {
1901 If ((Arg2 == 0x00))
1902 {
1903 Return (AUS6) /* \AUS6 */
1904 }
1905 ElseIf ((Arg2 == 0x01))
1906 {
1907 Return (RefOf (AUS6))
1908 }
1909 ElseIf ((Arg2 == 0x02))
1910 {
1911 CondRefOf (AUS6, Local0)
1912 Return (Local0)
1913 }
1914 }
1915 Case (0x07)
1916 {
1917 If ((Arg2 == 0x00))
1918 {
1919 Return (AUS7) /* \AUS7 */
1920 }
1921 ElseIf ((Arg2 == 0x01))
1922 {
1923 Return (RefOf (AUS7))
1924 }
1925 ElseIf ((Arg2 == 0x02))
1926 {
1927 CondRefOf (AUS7, Local0)
1928 Return (Local0)
1929 }
1930 }
1931 Case (0x08)
1932 {
1933 If ((Arg2 == 0x00))
1934 {
1935 Return (AUS8) /* \AUS8 */
1936 }
1937 ElseIf ((Arg2 == 0x01))
1938 {
1939 Return (RefOf (AUS8))
1940 }
1941 ElseIf ((Arg2 == 0x02))
1942 {
1943 CondRefOf (AUS8, Local0)
1944 Return (Local0)
1945 }
1946 }
1947 Case (0x09)
1948 {
1949 If ((Arg2 == 0x00))
1950 {
1951 Return (AUS9) /* \AUS9 */
1952 }
1953 ElseIf ((Arg2 == 0x01))
1954 {
1955 Return (RefOf (AUS9))
1956 }
1957 ElseIf ((Arg2 == 0x02))
1958 {
1959 CondRefOf (AUS9, Local0)
1960 Return (Local0)
1961 }
1962 }
1963 Case (0x0A)
1964 {
1965 If ((Arg2 == 0x00))
1966 {
1967 Return (AUSA) /* \AUSA */
1968 }
1969 ElseIf ((Arg2 == 0x01))
1970 {
1971 Return (RefOf (AUSA))
1972 }
1973 ElseIf ((Arg2 == 0x02))
1974 {
1975 CondRefOf (AUSA, Local0)
1976 Return (Local0)
1977 }
1978 }
1979 Default
1980 {
1981 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg0, Arg1)
1982 }
1983
1984 }
1985 }
1986 Case (0x03)
1987 {
1988 /* Buffer */
1989
1990 Switch (ToInteger (Arg1))
1991 {
1992 Case (0x00)
1993 {
1994 If ((Arg2 == 0x00))
1995 {
1996 Return (AUB0) /* \AUB0 */
1997 }
1998 ElseIf ((Arg2 == 0x01))
1999 {
2000 Return (RefOf (AUB0))
2001 }
2002 ElseIf ((Arg2 == 0x02))
2003 {
2004 CondRefOf (AUB0, Local0)
2005 Return (Local0)
2006 }
2007 }
2008 Case (0x01)
2009 {
2010 If ((Arg2 == 0x00))
2011 {
2012 Return (AUB1) /* \AUB1 */
2013 }
2014 ElseIf ((Arg2 == 0x01))
2015 {
2016 Return (RefOf (AUB1))
2017 }
2018 ElseIf ((Arg2 == 0x02))
2019 {
2020 CondRefOf (AUB1, Local0)
2021 Return (Local0)
2022 }
2023 }
2024 Case (0x02)
2025 {
2026 If ((Arg2 == 0x00))
2027 {
2028 Return (AUB2) /* \AUB2 */
2029 }
2030 ElseIf ((Arg2 == 0x01))
2031 {
2032 Return (RefOf (AUB2))
2033 }
2034 ElseIf ((Arg2 == 0x02))
2035 {
2036 CondRefOf (AUB2, Local0)
2037 Return (Local0)
2038 }
2039 }
2040 Case (0x03)
2041 {
2042 If ((Arg2 == 0x00))
2043 {
2044 Return (AUB3) /* \AUB3 */
2045 }
2046 ElseIf ((Arg2 == 0x01))
2047 {
2048 Return (RefOf (AUB3))
2049 }
2050 ElseIf ((Arg2 == 0x02))
2051 {
2052 CondRefOf (AUB3, Local0)
2053 Return (Local0)
2054 }
2055 }
2056 Case (0x04)
2057 {
2058 If ((Arg2 == 0x00))
2059 {
2060 Return (AUB4) /* \AUB4 */
2061 }
2062 ElseIf ((Arg2 == 0x01))
2063 {
2064 Return (RefOf (AUB4))
2065 }
2066 ElseIf ((Arg2 == 0x02))
2067 {
2068 CondRefOf (AUB4, Local0)
2069 Return (Local0)
2070 }
2071 }
2072 Case (0x05)
2073 {
2074 If ((Arg2 == 0x00))
2075 {
2076 Return (AUB5) /* \AUB5 */
2077 }
2078 ElseIf ((Arg2 == 0x01))
2079 {
2080 Return (RefOf (AUB5))
2081 }
2082 ElseIf ((Arg2 == 0x02))
2083 {
2084 CondRefOf (AUB5, Local0)
2085 Return (Local0)
2086 }
2087 }
2088 Case (0x06)
2089 {
2090 If ((Arg2 == 0x00))
2091 {
2092 Return (AUB6) /* \AUB6 */
2093 }
2094 ElseIf ((Arg2 == 0x01))
2095 {
2096 Return (RefOf (AUB6))
2097 }
2098 ElseIf ((Arg2 == 0x02))
2099 {
2100 CondRefOf (AUB6, Local0)
2101 Return (Local0)
2102 }
2103 }
2104 Case (0x07)
2105 {
2106 If ((Arg2 == 0x00))
2107 {
2108 Return (AUB7) /* \AUB7 */
2109 }
2110 ElseIf ((Arg2 == 0x01))
2111 {
2112 Return (RefOf (AUB7))
2113 }
2114 ElseIf ((Arg2 == 0x02))
2115 {
2116 CondRefOf (AUB7, Local0)
2117 Return (Local0)
2118 }
2119 }
2120 Case (0x08)
2121 {
2122 If ((Arg2 == 0x00))
2123 {
2124 Return (AUB8) /* \AUB8 */
2125 }
2126 ElseIf ((Arg2 == 0x01))
2127 {
2128 Return (RefOf (AUB8))
2129 }
2130 ElseIf ((Arg2 == 0x02))
2131 {
2132 CondRefOf (AUB8, Local0)
2133 Return (Local0)
2134 }
2135 }
2136 Default
2137 {
2138 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg0, Arg1)
2139 }
2140
2141 }
2142 }
2143 Case (0x04)
2144 {
2145 /* Package */
2146
2147 Switch (ToInteger (Arg1))
2148 {
2149 Case (0x00)
2150 {
2151 If ((Arg2 == 0x00))
2152 {
2153 Return (AUP0) /* \AUP0 */
2154 }
2155 ElseIf ((Arg2 == 0x01))
2156 {
2157 Return (RefOf (AUP0))
2158 }
2159 ElseIf ((Arg2 == 0x02))
2160 {
2161 CondRefOf (AUP0, Local0)
2162 Return (Local0)
2163 }
2164 }
2165 Default
2166 {
2167 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg0, Arg1)
2168 }
2169
2170 }
2171 }
2172 Default
2173 {
2174 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg0, Arg1)
2175 }
2176
2177 }
2178 }
2179 Else
2180 {
2181 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg1, Arg2)
2182 }
2183
2184 Return (Local0)
2185 }
2186
2187 /* Obtain specified Auxiliary Element of Package */
2188 /* or reference to it as result of a Method invocation */
2189 /* (by Return) */
2190 /* m603(<type>, */
2191 /* <opcode>, */
2192 /* <ref_key>) */
2193 Method (M603, 3, Serialized)
2194 {
2195 Switch (ToInteger (Arg0))
2196 {
2197 Case (0x01)
2198 {
2199 /* Integer */
2200
2201 If ((Arg1 < 0x17))
2202 {
2203 Switch (ToInteger (Arg2))
2204 {
2205 Case (0x00)
2206 {
2207 Return (DerefOf (PAUI [Arg1]))
2208 }
2209 Case (0x01)
2210 {
2211 Return (PAUI [Arg1])
2212 }
2213 Case (0x02)
2214 {
2215 Local0 = PAUI [Arg1]
2216 Return (Local0)
2217 }
2218 Default
2219 {
2220 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg1, Arg2)
2221 }
2222
2223 }
2224 }
2225 Else
2226 {
2227 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg0, Arg1)
2228 }
2229 }
2230 Case (0x02)
2231 {
2232 /* String */
2233
2234 If ((Arg1 < 0x0B))
2235 {
2236 Switch (ToInteger (Arg2))
2237 {
2238 Case (0x00)
2239 {
2240 Return (DerefOf (PAUS [Arg1]))
2241 }
2242 Case (0x01)
2243 {
2244 Return (PAUS [Arg1])
2245 }
2246 Case (0x02)
2247 {
2248 Local0 = PAUS [Arg1]
2249 Return (Local0)
2250 }
2251 Default
2252 {
2253 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg1, Arg2)
2254 }
2255
2256 }
2257 }
2258 Else
2259 {
2260 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg0, Arg1)
2261 }
2262 }
2263 Case (0x03)
2264 {
2265 /* Buffer */
2266
2267 If ((Arg1 < 0x09))
2268 {
2269 Switch (ToInteger (Arg2))
2270 {
2271 Case (0x00)
2272 {
2273 Return (DerefOf (PAUB [Arg1]))
2274 }
2275 Case (0x01)
2276 {
2277 Return (PAUB [Arg1])
2278 }
2279 Case (0x02)
2280 {
2281 Local0 = PAUB [Arg1]
2282 Return (Local0)
2283 }
2284 Default
2285 {
2286 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg1, Arg2)
2287 }
2288
2289 }
2290 }
2291 Else
2292 {
2293 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg0, Arg1)
2294 }
2295 }
2296 Case (0x04)
2297 {
2298 /* Package */
2299
2300 If ((Arg1 < 0x06))
2301 {
2302 Switch (ToInteger (Arg2))
2303 {
2304 Case (0x00)
2305 {
2306 Return (DerefOf (PAUP [Arg1]))
2307 }
2308 Case (0x01)
2309 {
2310 Return (PAUP [Arg1])
2311 }
2312 Case (0x02)
2313 {
2314 Local0 = PAUP [Arg1]
2315 Return (Local0)
2316 }
2317 Default
2318 {
2319 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg1, Arg2)
2320 }
2321
2322 }
2323 }
2324 Else
2325 {
2326 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg0, Arg1)
2327 }
2328 }
2329 Default
2330 {
2331 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg0, Arg1)
2332 }
2333
2334 }
2335
2336 Return (Local0)
2337 }
2338
2339 /* Obtain specified Test Object or reference to it by Return */
2340 /* m604(<carrier> */
2341 /* <type>, */
2342 /* <opcode>, */
2343 /* <ref_key>) */
2344 Method (M604, 4, Serialized)
2345 {
2346 Switch (ToInteger (Arg0))
2347 {
2348 Case (0x00)
2349 {
2350 /* Constant */
2351
2352 If (Arg3)
2353 {
2354 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg1, Arg2)
2355 }
2356
2357 Switch (ToInteger (Arg1))
2358 {
2359 Case (0x01)
2360 {
2361 /* Integer */
2362
2363 Switch (ToInteger (Arg2))
2364 {
2365 Case (0x03)
2366 {
2367 Return (0xC179B3FE)
2368 }
2369 Case (0x04)
2370 {
2371 Return (0xFE7CB391D650A284)
2372 }
2373 Case (0x0C)
2374 {
2375 Return (0x6179534E)
2376 }
2377 Case (0x0D)
2378 {
2379 Return (0x6E7C534136502214)
2380 }
2381 Case (0x0E)
2382 {
2383 Return (0x6E00534136002214)
2384 }
2385 Case (0x0F)
2386 {
2387 Return (0x6E7C534136002214)
2388 }
2389 Default
2390 {
2391 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg1, Arg2)
2392 }
2393
2394 }
2395 }
2396 Case (0x02)
2397 {
2398 /* String */
2399
2400 Switch (ToInteger (Arg2))
2401 {
2402 Case (0x00)
2403 {
2404 Return ("0")
2405 }
2406 Case (0x01)
2407 {
2408 Return ("0321")
2409 }
2410 Case (0x04)
2411 {
2412 Return ("C179B3FE")
2413 }
2414 Case (0x05)
2415 {
2416 Return ("FE7CB391D650A284")
2417 }
2418 Case (0x0C)
2419 {
2420 Return ("")
2421 }
2422 Case (0x0E)
2423 {
2424 Return ("!\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !\"#$%&\'()*")
2425 }
2426 Case (0x14)
2427 {
2428 Return ("B")
2429 }
2430 Case (0x15)
2431 {
2432 Return ("3789012345678901")
2433 }
2434 Case (0x16)
2435 {
2436 Return ("D76162EE9EC35")
2437 }
2438 Case (0x17)
2439 {
2440 Return ("90123456")
2441 }
2442 Case (0x18)
2443 {
2444 Return ("55F2CC0")
2445 }
2446 Case (0x1B)
2447 {
2448 Return ("63")
2449 }
2450 Default
2451 {
2452 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg1, Arg2)
2453 }
2454
2455 }
2456 }
2457 Case (0x03)
2458 {
2459 /* Buffer */
2460
2461 Switch (ToInteger (Arg2))
2462 {
2463 Case (0x00)
2464 {
2465 Return (Buffer (0x01)
2466 {
2467 0x00 // .
2468 })
2469 }
2470 Case (0x06)
2471 {
2472 Return (Buffer (0x03)
2473 {
2474 0x21, 0x03, 0x00 // !..
2475 })
2476 }
2477 Case (0x0A)
2478 {
2479 Return (Buffer (0x09)
2480 {
2481 /* 0000 */ 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFE, // ..P...|.
2482 /* 0008 */ 0xA5 // .
2483 })
2484 }
2485 Case (0x0C)
2486 {
2487 Return (Buffer (0x43)
2488 {
2489 /* 0000 */ 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, // !"#$%&'(
2490 /* 0008 */ 0x29, 0x2A, 0x2B, 0x2C, 0x2D, 0x2E, 0x2F, 0x30, // )*+,-./0
2491 /* 0010 */ 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, // 12345678
2492 /* 0018 */ 0x39, 0x3A, 0x3B, 0x3C, 0x3D, 0x3E, 0x3F, 0x40, // 9:;<=>?@
2493 /* 0020 */ 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, // ABCDEFGH
2494 /* 0028 */ 0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F, 0x50, // IJKLMNOP
2495 /* 0030 */ 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, // QRSTUVWX
2496 /* 0038 */ 0x59, 0x5A, 0x5B, 0x5C, 0x5D, 0x5E, 0x5F, 0x60, // YZ[\]^_`
2497 /* 0040 */ 0x61, 0x62, 0x63 // abc
2498 })
2499 }
2500 Case (0x0E)
2501 {
2502 Return (Buffer (0x01)
2503 {
2504 0x0B // .
2505 })
2506 }
2507 Case (0x0F)
2508 {
2509 Return (Buffer (0x08)
2510 {
2511 0x01, 0x89, 0x67, 0x45, 0x23, 0x01, 0x89, 0x37 // ..gE#..7
2512 })
2513 }
2514 Case (0x10)
2515 {
2516 Return (Buffer (0x07)
2517 {
2518 0x35, 0xEC, 0xE9, 0x2E, 0x16, 0x76, 0x0D // 5....v.
2519 })
2520 }
2521 Case (0x11)
2522 {
2523 Return (Buffer (0x04)
2524 {
2525 0x56, 0x34, 0x12, 0x90 // V4..
2526 })
2527 }
2528 Case (0x12)
2529 {
2530 Return (Buffer (0x04)
2531 {
2532 0xC0, 0x2C, 0x5F, 0x05 // .,_.
2533 })
2534 }
2535 Case (0x13)
2536 {
2537 Return (Buffer (0x01)
2538 {
2539 0x3F // ?
2540 })
2541 }
2542 Default
2543 {
2544 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg1, Arg2)
2545 }
2546
2547 }
2548 }
2549 Default
2550 {
2551 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg1, Arg2)
2552 }
2553
2554 }
2555 }
2556 Case (0x01)
2557 {
2558 /* Global Named Object */
2559
2560 Switch (ToInteger (Arg1))
2561 {
2562 Case (0x01)
2563 {
2564 /* Integer */
2565
2566 Switch (ToInteger (Arg2))
2567 {
2568 Case (0x03)
2569 {
2570 Switch (ToInteger (Arg3))
2571 {
2572 Case (0x00)
2573 {
2574 Return (I603) /* \I603 */
2575 }
2576 Case (0x01)
2577 {
2578 Return (RefOf (I603))
2579 }
2580 Case (0x02)
2581 {
2582 CondRefOf (I603, Local0)
2583 Return (Local0)
2584 }
2585 Default
2586 {
2587 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg2, Arg3)
2588 }
2589
2590 }
2591 }
2592 Case (0x04)
2593 {
2594 Switch (ToInteger (Arg3))
2595 {
2596 Case (0x00)
2597 {
2598 Return (I604) /* \I604 */
2599 }
2600 Case (0x01)
2601 {
2602 Return (RefOf (I604))
2603 }
2604 Case (0x02)
2605 {
2606 CondRefOf (I604, Local0)
2607 Return (Local0)
2608 }
2609 Default
2610 {
2611 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg2, Arg3)
2612 }
2613
2614 }
2615 }
2616 Default
2617 {
2618 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg1, Arg2)
2619 }
2620
2621 }
2622 }
2623 Default
2624 {
2625 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg1, Arg2)
2626 }
2627
2628 }
2629 }
2630 Case (0x02)
2631 {
2632 /* Element of Package */
2633
2634 Switch (ToInteger (Arg1))
2635 {
2636 Case (0x01)
2637 {
2638 /* Integer */
2639
2640 If ((Arg2 < 0x10))
2641 {
2642 Switch (ToInteger (Arg3))
2643 {
2644 Case (0x00)
2645 {
2646 Return (DerefOf (PI60 [Arg2]))
2647 }
2648 Case (0x01)
2649 {
2650 Return (PI60 [Arg2])
2651 }
2652 Case (0x02)
2653 {
2654 Local0 = PI60 [Arg2]
2655 Return (Local0)
2656 }
2657 Default
2658 {
2659 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg2, Arg3)
2660 }
2661
2662 }
2663 }
2664 Else
2665 {
2666 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg1, Arg2)
2667 }
2668 }
2669 Case (0x02)
2670 {
2671 /* String */
2672
2673 If ((Arg2 < 0x1C))
2674 {
2675 Switch (ToInteger (Arg3))
2676 {
2677 Case (0x00)
2678 {
2679 Return (DerefOf (PS60 [Arg2]))
2680 }
2681 Case (0x01)
2682 {
2683 Return (PS60 [Arg2])
2684 }
2685 Case (0x02)
2686 {
2687 Local0 = PS60 [Arg2]
2688 Return (Local0)
2689 }
2690 Default
2691 {
2692 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg2, Arg3)
2693 }
2694
2695 }
2696 }
2697 Else
2698 {
2699 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg1, Arg2)
2700 }
2701 }
2702 Case (0x03)
2703 {
2704 /* Buffer */
2705
2706 If ((Arg2 < 0x14))
2707 {
2708 Switch (ToInteger (Arg3))
2709 {
2710 Case (0x00)
2711 {
2712 Return (DerefOf (PB60 [Arg2]))
2713 }
2714 Case (0x01)
2715 {
2716 Return (PB60 [Arg2])
2717 }
2718 Case (0x02)
2719 {
2720 Local0 = PB60 [Arg2]
2721 Return (Local0)
2722 }
2723 Default
2724 {
2725 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg2, Arg3)
2726 }
2727
2728 }
2729 }
2730 Else
2731 {
2732 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg1, Arg2)
2733 }
2734 }
2735 Default
2736 {
2737 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg1, Arg2)
2738 }
2739
2740 }
2741 }
2742 Default
2743 {
2744 ERR (TERR, Z084, __LINE__, 0x00, 0x00, Arg0, Arg1)
2745 }
2746
2747 }
2748
2749 Return (Local0)
2750 }
2751
2752 /* Check consistency of the test Named Objects */
2753 /* in the root Scope of the Global ACPI namespace */
2754 /* m605(<msg>, */
2755 /* <type>, */
2756 /* <pack_flag>) */
2757 Method (M605, 3, NotSerialized)
2758 {
2759 If ((Arg1 == 0x01))
2760 {
2761 If (Arg2)
2762 {
2763 /* Test Integers Package */
2764
2765 M600 (Arg0, 0x01, DerefOf (PI60 [0x01]), 0xD1)
2766 M600 (Arg0, 0x02, DerefOf (PI60 [0x02]), 0x000000024CB016EA)
2767 M600 (Arg0, 0x03, DerefOf (PI60 [0x03]), 0xC179B3FE)
2768 M600 (Arg0, 0x04, DerefOf (PI60 [0x04]), 0xFE7CB391D650A284)
2769 M600 (Arg0, 0x05, DerefOf (PI60 [0x05]), 0x00)
2770 M600 (Arg0, 0x06, DerefOf (PI60 [0x06]), 0xFFFFFFFF)
2771 M600 (Arg0, 0x07, DerefOf (PI60 [0x07]), 0xFFFFFFFFFFFFFFFF)
2772 M600 (Arg0, 0x08, DerefOf (PI60 [0x08]), 0x00ABCDEF)
2773 M600 (Arg0, 0x09, DerefOf (PI60 [0x09]), 0x00ABCDEF)
2774 M600 (Arg0, 0x0A, DerefOf (PI60 [0x0A]), 0xFF)
2775 M600 (Arg0, 0x0B, DerefOf (PI60 [0x0B]), 0x000000FFFFFFFFFF)
2776 M600 (Arg0, 0x0C, DerefOf (PI60 [0x0C]), 0x6179534E)
2777 M600 (Arg0, 0x0D, DerefOf (PI60 [0x0D]), 0x6E7C534136502214)
2778 M600 (Arg0, 0x0E, DerefOf (PI60 [0x0E]), 0x6E00534136002214)
2779 M600 (Arg0, 0x0F, DerefOf (PI60 [0x0F]), 0x6E7C534136002214)
2780 }
2781 Else
2782 {
2783 /* Test Integers */
2784
2785 M600 (Arg0, 0x10, I601, 0xD1)
2786 M600 (Arg0, 0x11, I602, 0x000000024CB016EA)
2787 M600 (Arg0, 0x12, I603, 0xC179B3FE)
2788 M600 (Arg0, 0x13, I604, 0xFE7CB391D650A284)
2789 M600 (Arg0, 0x14, I605, 0x00)
2790 M600 (Arg0, 0x15, I606, 0xFFFFFFFF)
2791 M600 (Arg0, 0x16, I607, 0xFFFFFFFFFFFFFFFF)
2792 M600 (Arg0, 0x17, I608, 0x00ABCDEF)
2793 M600 (Arg0, 0x18, I609, 0x00ABCDEF)
2794 M600 (Arg0, 0x19, I60A, 0xFF)
2795 M600 (Arg0, 0x1A, I60B, 0x000000FFFFFFFFFF)
2796 M600 (Arg0, 0x1B, I60C, 0x6179534E)
2797 M600 (Arg0, 0x1C, I60D, 0x6E7C534136502214)
2798 M600 (Arg0, 0x1D, I60E, 0x6E00534136002214)
2799 M600 (Arg0, 0x1E, I60F, 0x6E7C534136002214)
2800 }
2801 }
2802 ElseIf ((Arg1 == 0x02))
2803 {
2804 If (Arg2)
2805 {
2806 /* Test Strings Package */
2807
2808 M600 (Arg0, 0x1F, DerefOf (PS60 [0x00]), "0")
2809 M600 (Arg0, 0x20, DerefOf (PS60 [0x01]), "0321")
2810 M600 (Arg0, 0x21, DerefOf (PS60 [0x02]), "321")
2811 M600 (Arg0, 0x22, DerefOf (PS60 [0x03]), "ba9876")
2812 M600 (Arg0, 0x23, DerefOf (PS60 [0x04]), "C179B3FE")
2813 M600 (Arg0, 0x24, DerefOf (PS60 [0x05]), "FE7CB391D650A284")
2814 M600 (Arg0, 0x25, DerefOf (PS60 [0x06]), "ffffffff")
2815 M600 (Arg0, 0x26, DerefOf (PS60 [0x07]), "ffffffffffffffff")
2816 M600 (Arg0, 0x27, DerefOf (PS60 [0x08]), "fe7cb391d650a2841")
2817 M600 (Arg0, 0x28, DerefOf (PS60 [0x09]), "9876543210")
2818 M600 (Arg0, 0x29, DerefOf (PS60 [0x0A]), "0xfe7cb3")
2819 M600 (Arg0, 0x2A, DerefOf (PS60 [0x0B]), "1234q")
2820 M600 (Arg0, 0x2B, DerefOf (PS60 [0x0C]), "")
2821 M600 (Arg0, 0x2C, DerefOf (PS60 [0x0D]), " ")
2822 M600 (Arg0, 0x2D, DerefOf (PS60 [0x0E]), "!\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !\"#$%&\'()*")
2823 M600 (Arg0, 0x2E, DerefOf (PS60 [0x0F]), "\x01\x02\x03\x04\x05\x06\a\b\t\n\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F")
2824 M600 (Arg0, 0x2F, DerefOf (PS60 [0x10]), "abcdef")
2825 M600 (Arg0, 0x30, DerefOf (PS60 [0x11]), "ABCDEF")
2826 M600 (Arg0, 0x31, DerefOf (PS60 [0x12]), "ff")
2827 M600 (Arg0, 0x32, DerefOf (PS60 [0x13]), "ffffffffff")
2828 M600 (Arg0, 0x33, DerefOf (PS60 [0x14]), "B")
2829 M600 (Arg0, 0x34, DerefOf (PS60 [0x15]), "3789012345678901")
2830 M600 (Arg0, 0x35, DerefOf (PS60 [0x16]), "D76162EE9EC35")
2831 M600 (Arg0, 0x36, DerefOf (PS60 [0x17]), "90123456")
2832 M600 (Arg0, 0x37, DerefOf (PS60 [0x18]), "55F2CC0")
2833 M600 (Arg0, 0x38, DerefOf (PS60 [0x19]), "c179B3FE")
2834 M600 (Arg0, 0x39, DerefOf (PS60 [0x1A]), "fE7CB391D650A284")
2835 M600 (Arg0, 0x3A, DerefOf (PS60 [0x1B]), "63")
2836 }
2837 Else
2838 {
2839 /* Test Strings */
2840
2841 M600 (Arg0, 0x3B, S600, "0")
2842 M600 (Arg0, 0x3C, S601, "0321")
2843 M600 (Arg0, 0x3D, S602, "321")
2844 M600 (Arg0, 0x3E, S603, "ba9876")
2845 M600 (Arg0, 0x3F, S604, "C179B3FE")
2846 M600 (Arg0, 0x40, S605, "FE7CB391D650A284")
2847 M600 (Arg0, 0x41, S606, "ffffffff")
2848 M600 (Arg0, 0x42, S607, "ffffffffffffffff")
2849 M600 (Arg0, 0x43, S608, "fe7cb391d650a2841")
2850 M600 (Arg0, 0x44, S609, "9876543210")
2851 M600 (Arg0, 0x45, S60A, "0xfe7cb3")
2852 M600 (Arg0, 0x46, S60B, "1234q")
2853 M600 (Arg0, 0x47, S60C, "")
2854 M600 (Arg0, 0x48, S60D, " ")
2855 M600 (Arg0, 0x49, S60E, "!\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !\"#$%&\'()*")
2856 M600 (Arg0, 0x4A, S60F, "\x01\x02\x03\x04\x05\x06\a\b\t\n\v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7F")
2857 M600 (Arg0, 0x4B, S610, "abcdef")
2858 M600 (Arg0, 0x4C, S611, "ABCDEF")
2859 M600 (Arg0, 0x4D, S612, "ff")
2860 M600 (Arg0, 0x4E, S613, "ffffffffff")
2861 M600 (Arg0, 0x4F, S614, "B")
2862 M600 (Arg0, 0x50, S615, "3789012345678901")
2863 M600 (Arg0, 0x51, S616, "D76162EE9EC35")
2864 M600 (Arg0, 0x52, S617, "90123456")
2865 M600 (Arg0, 0x53, S618, "55F2CC0")
2866 M600 (Arg0, 0x54, S619, "c179B3FE")
2867 M600 (Arg0, 0x55, S61A, "fE7CB391D650A284")
2868 M600 (Arg0, 0x56, S61B, "63")
2869 }
2870 }
2871 ElseIf ((Arg1 == 0x03))
2872 {
2873 If (Arg2)
2874 {
2875 /* Test Buffers Package */
2876
2877 M600 (Arg0, 0x57, DerefOf (PB60 [0x00]), Buffer (0x01)
2878 {
2879 0x00 // .
2880 })
2881 M600 (Arg0, 0x58, DerefOf (PB60 [0x01]), Buffer (0x01)
2882 {
2883 0xA5 // .
2884 })
2885 M600 (Arg0, 0x59, DerefOf (PB60 [0x02]), Buffer (0x02)
2886 {
2887 0x21, 0x03 // !.
2888 })
2889 M600 (Arg0, 0x5A, DerefOf (PB60 [0x03]), Buffer (0x03)
2890 {
2891 0x21, 0x03, 0x5A // !.Z
2892 })
2893 M600 (Arg0, 0x5B, DerefOf (PB60 [0x04]), Buffer (0x03)
2894 {
2895 0x21, 0x03, 0x5A // !.Z
2896 })
2897 M600 (Arg0, 0x5C, DerefOf (PB60 [0x05]), Buffer (0x03)
2898 {
2899 0x21, 0x03 // !.
2900 })
2901 M600 (Arg0, 0x5D, DerefOf (PB60 [0x06]), Buffer (0x03)
2902 {
2903 0x21, 0x03, 0x00 // !..
2904 })
2905 M600 (Arg0, 0x5E, DerefOf (PB60 [0x07]), Buffer (0x04)
2906 {
2907 0xFE, 0xB3, 0x79, 0xC1 // ..y.
2908 })
2909 M600 (Arg0, 0x5F, DerefOf (PB60 [0x08]), Buffer (0x05)
2910 {
2911 0xFE, 0xB3, 0x79, 0xC1, 0xA5 // ..y..
2912 })
2913 M600 (Arg0, 0x60, DerefOf (PB60 [0x09]), Buffer (0x08)
2914 {
2915 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFE // ..P...|.
2916 })
2917 M600 (Arg0, 0x61, DerefOf (PB60 [0x0A]), Buffer (0x09)
2918 {
2919 /* 0000 */ 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFE, // ..P...|.
2920 /* 0008 */ 0xA5 // .
2921 })
2922 M600 (Arg0, 0x62, DerefOf (PB60 [0x0B]), Buffer (0x0101)
2923 {
2924 0x00 // .
2925 })
2926 M600 (Arg0, 0x63, DerefOf (PB60 [0x0C]), Buffer (0x43)
2927 {
2928 /* 0000 */ 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, // !"#$%&'(
2929 /* 0008 */ 0x29, 0x2A, 0x2B, 0x2C, 0x2D, 0x2E, 0x2F, 0x30, // )*+,-./0
2930 /* 0010 */ 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, // 12345678
2931 /* 0018 */ 0x39, 0x3A, 0x3B, 0x3C, 0x3D, 0x3E, 0x3F, 0x40, // 9:;<=>?@
2932 /* 0020 */ 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, // ABCDEFGH
2933 /* 0028 */ 0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F, 0x50, // IJKLMNOP
2934 /* 0030 */ 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, // QRSTUVWX
2935 /* 0038 */ 0x59, 0x5A, 0x5B, 0x5C, 0x5D, 0x5E, 0x5F, 0x60, // YZ[\]^_`
2936 /* 0040 */ 0x61, 0x62, 0x63 // abc
2937 })
2938 M600 (Arg0, 0x64, DerefOf (PB60 [0x0D]), Buffer (0x44)
2939 {
2940 "!\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abc"
2941 })
2942 M600 (Arg0, 0x65, DerefOf (PB60 [0x0E]), Buffer (0x01)
2943 {
2944 0x0B // .
2945 })
2946 M600 (Arg0, 0x66, DerefOf (PB60 [0x0F]), Buffer (0x08)
2947 {
2948 0x01, 0x89, 0x67, 0x45, 0x23, 0x01, 0x89, 0x37 // ..gE#..7
2949 })
2950 M600 (Arg0, 0x67, DerefOf (PB60 [0x10]), Buffer (0x07)
2951 {
2952 0x35, 0xEC, 0xE9, 0x2E, 0x16, 0x76, 0x0D // 5....v.
2953 })
2954 M600 (Arg0, 0x68, DerefOf (PB60 [0x11]), Buffer (0x04)
2955 {
2956 0x56, 0x34, 0x12, 0x90 // V4..
2957 })
2958 M600 (Arg0, 0x69, DerefOf (PB60 [0x12]), Buffer (0x04)
2959 {
2960 0xC0, 0x2C, 0x5F, 0x05 // .,_.
2961 })
2962 M600 (Arg0, 0x6A, DerefOf (PB60 [0x13]), Buffer (0x01)
2963 {
2964 0x3F // ?
2965 })
2966 }
2967 Else
2968 {
2969 /* Test Buffers */
2970
2971 M600 (Arg0, 0x6B, B600, Buffer (0x01)
2972 {
2973 0x00 // .
2974 })
2975 M600 (Arg0, 0x6C, B601, Buffer (0x01)
2976 {
2977 0xA5 // .
2978 })
2979 M600 (Arg0, 0x6D, B602, Buffer (0x02)
2980 {
2981 0x21, 0x03 // !.
2982 })
2983 M600 (Arg0, 0x6E, B603, Buffer (0x03)
2984 {
2985 0x21, 0x03, 0x5A // !.Z
2986 })
2987 M600 (Arg0, 0x6F, B604, Buffer (0x03)
2988 {
2989 0x21, 0x03, 0x5A // !.Z
2990 })
2991 M600 (Arg0, 0x70, B605, Buffer (0x03)
2992 {
2993 0x21, 0x03 // !.
2994 })
2995 M600 (Arg0, 0x71, B606, Buffer (0x03)
2996 {
2997 0x21, 0x03, 0x00 // !..
2998 })
2999 M600 (Arg0, 0x72, B607, Buffer (0x04)
3000 {
3001 0xFE, 0xB3, 0x79, 0xC1 // ..y.
3002 })
3003 M600 (Arg0, 0x73, B608, Buffer (0x05)
3004 {
3005 0xFE, 0xB3, 0x79, 0xC1, 0xA5 // ..y..
3006 })
3007 M600 (Arg0, 0x74, B609, Buffer (0x08)
3008 {
3009 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFE // ..P...|.
3010 })
3011 M600 (Arg0, 0x75, B60A, Buffer (0x09)
3012 {
3013 /* 0000 */ 0x84, 0xA2, 0x50, 0xD6, 0x91, 0xB3, 0x7C, 0xFE, // ..P...|.
3014 /* 0008 */ 0xA5 // .
3015 })
3016 M600 (Arg0, 0x76, B60B, Buffer (0x0101)
3017 {
3018 0x00 // .
3019 })
3020 M600 (Arg0, 0x77, B60C, Buffer (0x43)
3021 {
3022 /* 0000 */ 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, // !"#$%&'(
3023 /* 0008 */ 0x29, 0x2A, 0x2B, 0x2C, 0x2D, 0x2E, 0x2F, 0x30, // )*+,-./0
3024 /* 0010 */ 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, // 12345678
3025 /* 0018 */ 0x39, 0x3A, 0x3B, 0x3C, 0x3D, 0x3E, 0x3F, 0x40, // 9:;<=>?@
3026 /* 0020 */ 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, // ABCDEFGH
3027 /* 0028 */ 0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F, 0x50, // IJKLMNOP
3028 /* 0030 */ 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, // QRSTUVWX
3029 /* 0038 */ 0x59, 0x5A, 0x5B, 0x5C, 0x5D, 0x5E, 0x5F, 0x60, // YZ[\]^_`
3030 /* 0040 */ 0x61, 0x62, 0x63 // abc
3031 })
3032 M600 (Arg0, 0x78, B60D, Buffer (0x44)
3033 {
3034 "!\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abc"
3035 })
3036 M600 (Arg0, 0x79, B60E, Buffer (0x01)
3037 {
3038 0x0B // .
3039 })
3040 M600 (Arg0, 0x7A, B60F, Buffer (0x08)
3041 {
3042 0x01, 0x89, 0x67, 0x45, 0x23, 0x01, 0x89, 0x37 // ..gE#..7
3043 })
3044 M600 (Arg0, 0x7B, B610, Buffer (0x07)
3045 {
3046 0x35, 0xEC, 0xE9, 0x2E, 0x16, 0x76, 0x0D // 5....v.
3047 })
3048 M600 (Arg0, 0x7C, B611, Buffer (0x04)
3049 {
3050 0x56, 0x34, 0x12, 0x90 // V4..
3051 })
3052 M600 (Arg0, 0x7D, B612, Buffer (0x04)
3053 {
3054 0xC0, 0x2C, 0x5F, 0x05 // .,_.
3055 })
3056 M600 (Arg0, 0x7E, B613, Buffer (0x01)
3057 {
3058 0x3F // ?
3059 })
3060 }
3061 }
3062 }
3063
3064 /* Check consistency of the test Named Objects */
3065 /* in the root Scope of the Global ACPI namespace */
3066 Method (M606, 1, NotSerialized)
3067 {
3068 M605 (Arg0, 0x01, 0x00)
3069 M605 (Arg0, 0x01, 0x01)
3070 M605 (Arg0, 0x02, 0x00)
3071 M605 (Arg0, 0x02, 0x01)
3072 M605 (Arg0, 0x03, 0x00)
3073 M605 (Arg0, 0x03, 0x01)
3074 }