Debian Codegraph @

tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/GrInvest.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 /*
30 * Auxiliary tests used during investigating of the problem.
31 * Without verification.
32 *
33 * 0x1 Outstanding allocations because of
34 * AcpiExec doesn't run the unload of the table have been processed.
35 * All they are caused by call to SRMT Method.
36 *
37 * Outstanding: 0x1 allocations after execution.
38 */
39 Method(mfe6)
40 {
41 Method(m000,, Serialized)
42 {
43 Name(p000, Package(16) {0x40,0x41,0x42,0x43,0x45,0x46,0x47,0x48,0x49,0x4a})
44
45 if (1) {
46 Store(Index(p000, 0), Index(p000, 8))
47 Store(Index(p000, 1), Index(p000, 9))
48 Store(Index(p000, 2), Index(p000, 10))
49 Store(Index(p000, 3), Index(p000, 11))
50 Store(Index(p000, 4), Index(p000, 12))
51 Store(Index(p000, 5), Index(p000, 13))
52 Store(Index(p000, 6), Index(p000, 14))
53 Store(Index(p000, 7), Index(p000, 15))
54 }
55 if (1) {
56 Store(Index(p000, 0), Index(p000, 8))
57 Store(Index(p000, 0), Index(p000, 9))
58 Store(Index(p000, 0), Index(p000, 10))
59 Store(Index(p000, 0), Index(p000, 11))
60 Store(Index(p000, 0), Index(p000, 12))
61 Store(Index(p000, 0), Index(p000, 13))
62 Store(Index(p000, 0), Index(p000, 14))
63 Store(Index(p000, 0), Index(p000, 15))
64 }
65 if (1) {
66 Store(Index(p000, 0), Index(p000, 8))
67 Store(Index(p000, 1), Index(p000, 8))
68 Store(Index(p000, 2), Index(p000, 8))
69 Store(Index(p000, 3), Index(p000, 8))
70 Store(Index(p000, 4), Index(p000, 8))
71 Store(Index(p000, 5), Index(p000, 8))
72 Store(Index(p000, 6), Index(p000, 8))
73 Store(Index(p000, 7), Index(p000, 8))
74 }
75 if (1) {
76 Store(Index(p000, 0), Index(p000, 8))
77 Store(Index(p000, 0), Index(p000, 8))
78 Store(Index(p000, 0), Index(p000, 8))
79 Store(Index(p000, 0), Index(p000, 8))
80 Store(Index(p000, 0), Index(p000, 8))
81 Store(Index(p000, 0), Index(p000, 8))
82 Store(Index(p000, 0), Index(p000, 8))
83 Store(Index(p000, 0), Index(p000, 8))
84 }
85 }
86
87 Method(m001,, Serialized)
88 {
89 Name(p000, Package() {0x54,0x55,0x56,0x57})
90 // Name(p001, Package() {1,2,3,4})
91
92 Store("----------------------------- 0, p000:", Debug)
93
94 Store(p000, Debug)
95
96 Store("----------------------------- 1, Local0 == Store(Index(p000, 0), Local0)", Debug)
97
98 Store(Index(p000, 0), Local0)
99
100 Store(Local0, Debug)
101
102 Store("----------------------------- 2, p000:", Debug)
103
104 Store(p000, Debug)
105
106 Store("----------------------------- 3, p000 == Store(Local0, Index(p000, 1)):", Debug)
107
108 Store(Local0, Index(p000, 1))
109
110 Store(p000, Debug)
111
112 Store("----------------------------- End.", Debug)
113 }
114
115 Method(m002,, Serialized)
116 {
117 Name(p000, Package() {0x68,0x69,0x6a,0x6b})
118
119 Store("-----------------------------", Debug)
120
121 Store(Index(p000, 1), Local0)
122
123 Store("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!", Debug)
124
125 Store(Local0, Debug)
126
127 Store("=============================", Debug)
128 }
129
130 Method(m003,, Serialized)
131 {
132 Name(p000, Package() {0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77})
133 Name(p001, Package() {0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87})
134 Name(p002, Package(8) {0x90})
135 Name(p003, Package() {0xa0,0xa1,0xa2,0xa3})
136 Name(p004, Package() {0xb0,0xb1,0xb2,0xb3})
137
138 Store("----------------------------- 0, p000:", Debug)
139
140 Store(p000, Debug)
141
142 Store("----------------------------- 1, IRef to 1-th element of p000 (into Local0):", Debug)
143
144 Index(p000, 1, Local0)
145
146 Store(Local0, Debug)
147
148 Store("----------------------------- 2, p000:", Debug)
149
150 Store(p000, Debug)
151
152 Store("----------------------------- 3, IRef to 2-th element of p000 (into Local1):", Debug)
153
154 Index(p000, 2, Local1)
155
156 Store(Local1, Debug)
157
158 Store("----------------------------- 4, p000:", Debug)
159
160 Store(p000, Debug)
161
162 Store("----------------------------- 5, IRef to 3-th element of p000 (again into Local1):", Debug)
163
164 Index(p000, 3, Local1)
165
166 Store(Local1, Debug)
167
168 Store("----------------------------- 6, p000:", Debug)
169
170 Store(p000, Debug)
171
172 Store("----------------------------- 7, IRef to 4-th element of p000 (into Local2):", Debug)
173
174 Index(p000, 4, Local2)
175
176 Store(Local2, Debug)
177
178 Store("----------------------------- 8, p000:", Debug)
179
180 Store(p000, Debug)
181
182 Store("----------------------------- 9, IRef to 4-th element of p000 (into Local3):", Debug)
183
184 Index(p000, 4, Local3)
185
186 Store(Local3, Debug)
187
188 Store("----------------------------- 10, p000:", Debug)
189
190 Store(p000, Debug)
191
192 Store("----------------------------- 11, IRef to 1-th element of p001 (into Local4):", Debug)
193
194 Index(p001, 1, Local4)
195
196 Store(Local4, Debug)
197
198 Store("----------------------------- 12, p001:", Debug)
199
200 Store(p001, Debug)
201
202 Store("----------------------------- 13, p000:", Debug)
203
204 Store(p000, Debug)
205
206 Store("----------------------------- 14, IRef to 1-th element of p001 (Local4) into 5-th element of p000:", Debug)
207
208 Store(Local4, Index(p000, 5))
209
210 Store("----------------------------- 15, p000:", Debug)
211
212 Store(p000, Debug)
213
214 Store("----------------------------- 16, p001:", Debug)
215
216 Store(p001, Debug)
217
218 //////////////////////////////
219
220 Store("----------------------------- 17, IRef to 2-th element of p001 (into Local5):", Debug)
221
222 Index(p001, 2, Local5)
223
224 Store(Local5, Debug)
225
226 Store("----------------------------- 18, p001:", Debug)
227
228 Store(p001, Debug)
229
230 Store("----------------------------- 19, p000:", Debug)
231
232 Store(p000, Debug)
233
234 Store("----------------------------- 20, IRef to 2-th element of p001 (Local5) into 6-th element of p000:", Debug)
235
236 Store(Local5, Index(p000, 6))
237
238
239 Store("----------------------------- 21, p001:", Debug)
240
241 Store(p001, Debug)
242
243 //////////////////////////////
244
245 Store("----------------------------- 22, p000:", Debug)
246
247 Store(p000, Debug)
248
249 Store("----------------------------- 23, p000:", Debug)
250
251 Store(0, Local0)
252
253 Store(p000, Debug)
254
255 Store("----------------------------- 24, Local2 == IRef to 4-th element of p000:", Debug)
256
257 Store(Local2, Debug)
258
259 //////////////////////////////
260
261 Store("----------------------------- 25, p002:", Debug)
262
263 Store(p002, Debug)
264
265 Store("----------------------------- 26, p002:", Debug)
266
267 Store(0x93, Index(p002, 3))
268
269 Store(p002, Debug)
270
271 Store("----------------------------- 27, p002:", Debug)
272
273 Store(p003, Index(p002, 4))
274
275 Store(p002, Debug)
276
277 Store("----------------------------- 28, p002:", Debug)
278
279 Store(p004, Index(p002, 6))
280
281 Store(p002, Debug)
282
283 Store("----------------------------- 29, p002:", Debug)
284
285 Store(p003, Index(p002, 7))
286
287 Store(p002, Debug)
288
289 Store("----------------------------- 30, p003:", Debug)
290
291 Store(p003, Debug)
292
293 Store("----------------------------- End.", Debug)
294 }
295
296 Method(m004,, Serialized)
297 {
298 Name(p000, Package() {0x54,0x55,0x56,0x57})
299
300 Store("----------------------------- 0", Debug)
301
302 Store(Index(p000, 0), Local0)
303
304 Store("----------------------------- 1", Debug)
305
306 Store(Local0, Index(p000, 1))
307
308 Store("----------------------------- 2", Debug)
309
310 Store(p000, Debug)
311
312 Store("----------------------------- End.", Debug)
313
314 Store(0, Local0)
315 }
316
317 Method(m005,, Serialized)
318 {
319 Name(p000, Package() {0x54,0x55,0x56,0x57})
320 Name(p001, Package() {0x64,0x65,0x66,0x67})
321
322 Store(Index(p000, 0), Local0)
323 Store(Local0, Index(p001, 1))
324
325 Store(p000, Debug)
326 Store(Local0, Debug)
327 }
328
329 Method(m006,, Serialized)
330 {
331 Name(p000, Package() {0x54,0x55})
332 Name(p001, Package() {0x54,0x55,0x56,0x57})
333
334 Store(Index(p000, 0), Index(p001, 1))
335 Store(Index(p000, 0), Index(p000, 1))
336 Store(0x29, Index(p000, 1))
337 Store(p000, Debug)
338 }
339
340 Method(m007,, Serialized)
341 {
342 Name(p000, Package(16) {0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57})
343 Name(p001, Package() {0x54,0x55,0x56,0x57})
344
345 Store(Index(p000, 0), Index(p000, 4))
346 Store(Index(p000, 0), Index(p000, 4))
347 Store(Index(p000, 1), Index(p000, 4))
348 Store(Index(p000, 2), Index(p000, 5))
349 Store(Index(p000, 3), Index(p000, 6))
350 Store(Index(p000, 4), Index(p000, 7))
351
352 Store(Index(p001, 0), Index(p000, 4))
353 Store(Index(p001, 0), Index(p000, 8))
354 Store(Index(p001, 0), Index(p000, 8))
355 Store(Index(p001, 0), Index(p000, 9))
356
357 Store(p000, Debug)
358 }
359
360 Method(m008,, Serialized)
361 {
362 Name(i000, 0xabcd0001)
363 Name(p000, Package() {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,
364 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f})
365 Name(p001, Package() {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,
366 0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f})
367
368 Store(RefOf(i000), Index(p000, 0))
369
370 Store(Index(p000, 0), Index(p001, 0))
371 Store(Index(p001, 0), Index(p000, 1))
372 }
373
374 Method(m009,, Serialized)
375 {
376 Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4})
377 Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7})
378
379 Store(Index(p000, 1), Index(p001, 2))
380 Store(Index(p001, 3), Index(p000, 4))
381
382 Store(Index(p000, 0), Index(p001, 4))
383 }
384
385 Method(m00a,, Serialized)
386 {
387 // Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7})
388 // Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7})
389
390 Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5})
391 Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,0xb8,0xb9,0xba,0xbb})
392
393 Store(0x80, Index(p001, 3))
394 Store(0x90, Index(p001, 4))
395
396 Store(Index(p000, 1), Index(p001, 6))
397 Store(Index(p000, 2), Index(p001, 7))
398 Store(Index(p000, 3), Index(p001, 8))
399 Store(Index(p000, 4), Index(p001, 9))
400 Store(Index(p000, 5), Index(p001, 10))
401
402 Store(Index(p000, 2), Index(p001, 2))
403 Store(Index(p000, 3), Index(p001, 3))
404 Store(Index(p000, 4), Index(p001, 4))
405 Store(p000, Debug)
406 Store(p001, Debug)
407 }
408
409 Method(m00b,, Serialized)
410 {
411 Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5})
412 Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7})
413
414 Store(Index(p000, 0), Index(p001, 0))
415 Store(Index(p000, 1), Index(p001, 1))
416 Store(Index(p000, 2), Index(p001, 2))
417 Store(Index(p000, 3), Index(p001, 3))
418 Store(Index(p000, 4), Index(p001, 4))
419 Store(Index(p000, 5), Index(p001, 5))
420
421 Store(Index(p000, 1), Index(p001, 2))
422 Store(Index(p001, 3), Index(p000, 4))
423
424 Store(p000, Debug)
425 Store(p001, Debug)
426 }
427
428 Method(m00c,, Serialized)
429 {
430 // Name(i000, 0xabcd0000)
431 // Name(i001, 0xabcd0001)
432 // Name(i002, 0xabcd0002)
433 // Name(i003, 0xabcd0003)
434
435 Name(p000, Package() {0xa0,0xa1,0xa2})
436 Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4})
437
438 Name(p002, Package(16) {0xc0,0xc1,0xc2})
439 Store(Index(p001, 0), Index(p002, 0))
440 Store(Index(p001, 0), Index(p002, 1))
441 Store(Index(p001, 0), Index(p002, 2))
442 Store(Index(p001, 0), Index(p002, 3))
443 Store(Index(p001, 0), Index(p002, 4))
444 Store(Index(p001, 0), Index(p002, 5))
445 Store(Index(p001, 0), Index(p002, 6))
446 Store(Index(p001, 0), Index(p002, 7))
447 Store(Index(p001, 0), Index(p002, 8))
448 Store(Index(p001, 0), Index(p002, 9))
449 Store(Index(p001, 0), Index(p002, 10))
450 Store(Index(p001, 0), Index(p002, 11))
451 Store(Index(p001, 0), Index(p002, 12))
452
453 Store(Index(p000, 1), Index(p001, 3))
454 Store(Index(p000, 2), Index(p001, 4))
455
456 // Add(Local0, Local1, Local7)
457 // Add(Local2, Local3, Local7)
458 // Add(Local4, Local5, Local7)
459 // Add(Local6, Local7, Local7)
460 // Return (Local7)
461 }
462
463 Method(m00d,, Serialized)
464 {
465 Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab})
466 Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,0xb8,0xb9,0xba,0xbb,0xbc})
467
468 Store(Index(p001, 1), Index(p000, 2))
469 Store(Index(p000, 3), Index(p001, 4))
470
471 Store(Index(p000, 5), Index(p000, 6))
472 Store(Index(p000, 7), Index(p000, 8))
473
474 Store(Index(p001, 9), Index(p001, 10))
475
476 Store(p000, Debug)
477 Store(p001, Debug)
478 }
479
480 Method(m00e,, Serialized)
481 {
482 Name(p000, Package() {0x54,0x55,0x56,0x57})
483 Name(p001, Package() {0x64,0x65,0x66,0x67})
484
485
486 Store(Index(p000, 0), Local0)
487 Store(Local0, Index(p001, 1))
488
489 Store(Index(p000, 0), Index(p000, 1))
490 }
491
492 Method(m00f,, Serialized)
493 {
494 Name(p000, Package() {0x54,0x55,0x56,0x57})
495
496
497 Store(Index(p000, 0), Local0)
498 Store(Local0, Index(p000, 1))
499
500 Store(Index(p000, 0), Index(p000, 1))
501 }
502
503 Method(m010,, Serialized)
504 {
505 Name(p000, Package() {0x54,0x55,0x56,0x57})
506 Store(Index(p000, 0), Index(p000, 0))
507 }
508
509 Method(m011,, Serialized)
510 {
511 Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7})
512 Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7})
513
514 Store(Index(p001, 0), Index(p000, 1))
515 Store(Index(p000, 2), Index(p000, 3))
516 Store(Index(p000, 4), Index(p000, 5))
517 Store(Index(p001, 6), Index(p001, 7))
518 }
519
520 Method(m012,, Serialized)
521 {
522 Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5})
523 Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7})
524
525 Store(Index(p000, 0), Index(p001, 0))
526 Store(Index(p000, 0), Index(p001, 0))
527
528 Store(Index(p000, 0), Index(p001, 0))
529 Store(Index(p000, 0), Index(p001, 0))
530 Store(Index(p000, 0), Index(p001, 0))
531 Store(Index(p000, 0), Index(p001, 0))
532 Store(Index(p000, 0), Index(p001, 0))
533 Store(Index(p000, 0), Index(p001, 0))
534
535
536 Store(Index(p000, 0), Index(p001, 0))
537 Store(Index(p000, 1), Index(p001, 1))
538 Store(Index(p000, 2), Index(p001, 2))
539 Store(Index(p000, 3), Index(p001, 3))
540 Store(Index(p000, 4), Index(p001, 4))
541 Store(Index(p000, 5), Index(p001, 5))
542
543 Store(Index(p000, 1), Index(p001, 2))
544 Store(Index(p001, 3), Index(p000, 4))
545
546 Store(Index(p000, 0), Index(p000, 1))
547 Store(Index(p000, 0), Index(p000, 1))
548 Store(Index(p000, 0), Index(p000, 1))
549 Store(Index(p000, 0), Index(p000, 1))
550 Store(Index(p000, 0), Index(p000, 1))
551 Store(Index(p000, 0), Index(p000, 1))
552 Store(Index(p000, 0), Index(p000, 1))
553 Store(Index(p000, 0), Index(p000, 1))
554
555 Store(Index(p000, 0), Index(p000, 0))
556 Store(Index(p000, 0), Index(p000, 0))
557 Store(Index(p000, 0), Index(p000, 0))
558 Store(Index(p000, 0), Index(p000, 0))
559 Store(Index(p000, 0), Index(p000, 0))
560 Store(Index(p000, 0), Index(p000, 0))
561 Store(Index(p000, 0), Index(p000, 0))
562 Store(Index(p000, 0), Index(p000, 0))
563
564 Store(p000, Debug)
565 Store(p001, Debug)
566 }
567
568 Method(m013,, Serialized)
569 {
570 Name(p000, Package() {0xa0,0xa1})
571 Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4})
572
573 Store(Index(p000, 0), Index(p001, 0))
574 Store(Index(p000, 0), Index(p001, 0))
575 }
576
577 Method(m014,, Serialized)
578 {
579 Name(p000, Package() {
580 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,
581 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,
582 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,
583 0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,
584 })
585 Name(p001, Package() {
586 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,
587 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,
588 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,
589 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,
590 })
591
592 Store(Index(p000, 0), Index(p001, 0))
593 Store(Index(p001, 1), Index(p000, 1))
594 Store(Index(p000, 2), Index(p001, 2))
595 Store(Index(p001, 3), Index(p000, 3))
596 Store(Index(p000, 4), Index(p001, 4))
597 Store(Index(p001, 5), Index(p000, 5))
598 Store(Index(p000, 6), Index(p001, 6))
599 Store(Index(p001, 7), Index(p000, 7))
600
601
602 Store(Index(p000, 0), Index(p001, 0))
603 Store(Index(p000, 0), Index(p001, 0))
604 Store(Index(p001, 1), Index(p000, 1))
605 Store(Index(p001, 1), Index(p000, 1))
606 Store(Index(p000, 2), Index(p001, 2))
607 Store(Index(p000, 2), Index(p001, 2))
608 Store(Index(p001, 3), Index(p000, 3))
609 Store(Index(p001, 3), Index(p000, 3))
610 Store(Index(p000, 4), Index(p001, 4))
611 Store(Index(p000, 4), Index(p001, 4))
612 Store(Index(p001, 5), Index(p000, 5))
613 Store(Index(p001, 5), Index(p000, 5))
614 Store(Index(p000, 6), Index(p001, 6))
615 Store(Index(p000, 6), Index(p001, 6))
616 Store(Index(p001, 7), Index(p000, 7))
617 Store(Index(p001, 7), Index(p000, 7))
618
619 Store(Index(p000, 0), Local0)
620 Store(Local0, Index(p001, 0))
621 Store(Index(p000, 0), Local0)
622 Store(Local0, Index(p001, 0))
623 }
624
625 Method(m015,, Serialized)
626 {
627 Name(p000, Package() {0xa0,0xa1,0xa2})
628 Name(p001, Package() {0xb0,0xb1,0xb2,0xb3})
629
630 Store(p000, Index(p001, 0))
631 Store(0xabcd0000, Index(p001, 1))
632 Store(0xabcd0001, Index(p001, 0))
633
634 Store(0xabcd0001, Local0)
635 Store(Local0, Index(p001, 2))
636 Store(Local0, Index(p001, 0))
637 Store(Local0, Index(p001, 1))
638 Store(Local0, Index(p001, 2))
639
640 Store(p001, Debug)
641 }
642
643 Method(m016,, Serialized)
644 {
645 Name(p000, Package() {0xabcd0000})
646 Name(p001, Package() {0xabcd0001, 0xabcd0002})
647
648 CopyObject(p001, p000)
649
650 Store(p001, Debug)
651 }
652
653 Method(m017,, Serialized)
654 {
655 Name(p000, Package() {0x20, 0x21})
656 Name(p001, Package(18) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
657
658 Method(m000, 1)
659 {
660 Store(Index(p000, 0), Index(arg0, 0))
661 Store(Index(p000, 1), Index(arg0, 1))
662
663 // + self Store(Index(p000, 0), Index(arg0, 0)) arg0 - p000
664 // Store(Index(arg0, 2), Index(p001, 2))
665 // Store(Index(arg0, 3), Index(p001, 3))
666 // Store(Index(arg0, 2), Index(arg1, 2))
667 // Store(Index(arg0, 3), Index(arg1, 3))
668 // Store(Index(arg1, 2), Index(arg0, 2))
669 // Store(Index(arg1, 3), Index(arg0, 3))
670 // .................
671 }
672 Method(m001, 1)
673 {
674 m000(arg0)
675 }
676
677 Method(m002, 1)
678 {
679 m001(arg0)
680 }
681
682
683 m000(p001)
684
685 m000(Package(18) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
686
687 m000(p000)
688 Store(p000, Debug)
689 Store(p001, Debug)
690 }
691
692 Method(m018,, Serialized)
693 {
694 Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5})
695 Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5})
696
697 Store(Index(p000, 0), Index(p001, 1))
698 Store(Index(p001, 2), Index(p000, 3))
699
700 Store(Index(p000, 0), Index(p001, 0))
701 Store(Index(p000, 1), Index(p001, 1))
702 Store(Index(p000, 2), Index(p001, 2))
703 Store(Index(p000, 3), Index(p001, 3))
704 Store(Index(p000, 4), Index(p001, 4))
705 Store(Index(p000, 5), Index(p001, 5))
706
707 Store(Index(p001, 2), Index(p000, 3))
708 Store(Index(p000, 4), Index(p001, 5))
709 }
710
711 Method(m019,, Serialized)
712 {
713 Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5})
714 Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5})
715 Name(p002, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5})
716 Method(m000)
717 {
718 Store(Index(p000, 0), Index(p001, 0))
719 }
720
721 Store(Index(p000, 0), Index(p002, 0))
722 Store(Index(p000, 1), Index(p002, 1))
723 Store(Index(p000, 2), Index(p002, 2))
724 Store(Index(p000, 3), Index(p002, 3))
725 Store(Refof(p000), Index(p002, 4))
726 Store(Index(p000, 5), Index(p002, 5))
727
728 m000()
729
730 Store(Index(p000, 0), Index(p001, 0))
731 }
732
733 Method(m01a,, Serialized)
734 {
735 Name(p000, Package() {0xa0,0xa1,0xa2,0xa3,0xa4,0xa5})
736 Name(p001, Package() {0xb0,0xb1,0xb2,0xb3,0xb4,0xb5})
737
738 Store(Index(p000, 0), Index(p001, 0))
739 Store(Refof(p000), Index(p001, 1))
740 }
741
742 Method(m01b,, Serialized)
743 {
744 Name(p000, Package() {0x20,0x21,0x22,0x23,0x24,0x25})
745 Name(p001, Package(18) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
746
747 Method(m000, 1)
748 {
749 Store(Index(p000, 0), Index(arg0, 0))
750
751 Store(Index(p000, 0), Index(arg0, 0))
752 Store(Index(p000, 0), Index(arg0, 0))
753
754 Store(Index(arg0, 0), Index(p000, 1))
755 Store(Index(arg0, 0), Index(p000, 1))
756 Store(Index(arg0, 0), Index(p000, 1))
757
758 Store(Index(arg0, 0), Index(p000, 1))
759 Store(Index(arg0, 1), Index(p000, 1))
760 Store(Index(arg0, 2), Index(p000, 1))
761
762 Store(Index(arg0, 0), Index(p000, 0))
763 Store(Index(arg0, 1), Index(p000, 1))
764 Store(Index(arg0, 2), Index(p000, 2))
765 Store(Index(arg0, 3), Index(p000, 3))
766 Store(Index(arg0, 4), Index(p000, 4))
767 Store(Index(arg0, 5), Index(p000, 5))
768
769
770 Store(Index(arg0, 0), Index(p000, 0))
771 Store(Index(p000, 0), Index(arg0, 0))
772 Store(Index(arg0, 1), Index(p000, 1))
773 Store(Index(p000, 0), Index(arg0, 0))
774 Store(Index(arg0, 2), Index(p000, 2))
775 Store(Index(p000, 0), Index(arg0, 0))
776 Store(Index(arg0, 3), Index(p000, 3))
777 Store(Index(p000, 0), Index(arg0, 0))
778 Store(Index(arg0, 4), Index(p000, 4))
779 Store(Index(p000, 0), Index(arg0, 0))
780 Store(Index(arg0, 5), Index(p000, 5))
781 Store(Index(p000, 0), Index(arg0, 0))
782 }
783 Method(m001, 1)
784 {
785 Store("Start m001", Debug)
786 m000(arg0)
787 Store("Finish m001", Debug)
788 }
789
790 Method(m002, 1)
791 {
792 m001(arg0)
793 }
794
795 Method(m003, 1)
796 {
797 m002(arg0)
798 }
799
800 Method(m004, 1)
801 {
802 Store("Start m004", Debug)
803 m003(arg0)
804 Store("Finish m004", Debug)
805 }
806
807 Store(Index(p000, 0), Index(p001, 0))
808 Store(Index(p000, 0), Index(p001, 0))
809
810 m004(p000)
811 m000(p001)
812 m001(p000)
813 m002(p001)
814 m003(p000)
815 m004(p001)
816 m000(p000)
817 m001(p001)
818 m002(p000)
819 m003(p001)
820 m004(p000)
821 }
822
823 Method(m01c,, Serialized)
824 {
825 Name(p000, Package() {0x20,0x21,0x22,0x23,0x24,0x25})
826 Name(p001, Package(18) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
827 Name(p002, Package(18) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
828
829 Method(m000, 1)
830 {
831 Store(Index(arg0, 0), Index(p000, 1))
832 }
833
834 m000(p001)
835 m000(p000)
836 m000(p001)
837 m000(p001)
838 m000(p000)
839 m000(p001)
840 }
841
842 Method(m01d,, Serialized)
843 {
844 Name(p000, Package() {0x20,0x21,0x22,0x23,0x24,0x25})
845 Name(p001, Package(18) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
846
847 Store(Index(p000, 0), Index(p000, 0))
848 Store(Index(p000, 0), Index(p001, 0))
849 Store(Index(p001, 0), Index(p000, 0))
850 Store(Index(p000, 0), Index(p000, 0))
851 Store(Index(p000, 0), Index(p001, 0))
852 Store(Index(p001, 0), Index(p000, 0))
853 Store(Index(p000, 0), Index(p000, 0))
854 Store(Index(p000, 0), Index(p001, 0))
855 Store(Index(p001, 0), Index(p000, 0))
856
857 Store(Index(p000, 1), Index(p001, 1))
858 Store(p000, Index(p001, 1))
859 }
860
861 Method(m01e,, Serialized)
862 {
863 Name(p000, Package() {0x10, 0x11})
864 Name(p001, Package() {0x20, 0x21})
865
866 Method(m000, 1)
867 {
868 Store(Index(p000, 0), Index(arg0, 0))
869
870 Store(Index(arg0, 1), Index(p000, 1))
871 Store(Index(arg0, 1), Index(p000, 1))
872 Store(Index(arg0, 1), Index(p000, 1))
873 Store(Index(arg0, 1), Index(p000, 0))
874 Store(Index(arg0, 1), Index(p000, 0))
875 Store(Index(arg0, 1), Index(p000, 0))
876 Store(Index(arg0, 1), Index(p000, 0))
877 Store(Index(arg0, 1), Index(p000, 1))
878 Store(Index(arg0, 1), Index(p000, 0))
879 Store(Index(arg0, 1), Index(p000, 1))
880 Store(Index(arg0, 1), Index(p000, 0))
881 Store(Index(arg0, 1), Index(p000, 1))
882 Store(Index(p000, 0), Index(arg0, 0))
883 Store(Index(p000, 0), Index(arg0, 0))
884 Store(Index(p000, 0), Index(arg0, 0))
885 Store(Index(p000, 0), Index(arg0, 1))
886 Store(Index(p000, 0), Index(arg0, 1))
887 Store(Index(p000, 0), Index(arg0, 1))
888 Store(Index(p000, 0), Index(arg0, 0))
889 Store(Index(p000, 0), Index(arg0, 0))
890 Store(Index(p000, 0), Index(arg0, 1))
891 Store(Index(p000, 0), Index(arg0, 1))
892 Store(Index(p000, 0), Index(arg0, 0))
893 Store(Index(p000, 0), Index(arg0, 1))
894 Store(Index(p000, 0), Index(arg0, 0))
895 Store(Index(p000, 0), Index(arg0, 1))
896 Store(Index(p000, 0), Index(arg0, 0))
897 Store(Index(p000, 0), Index(arg0, 1))
898 Store(Index(arg0, 0), Index(p000, 0))
899 Store(Index(arg0, 0), Index(p000, 1))
900 Store(Index(arg0, 0), Index(arg0, 0))
901 Store(Index(arg0, 0), Index(arg0, 1))
902 Store(Index(arg0, 1), Index(p000, 0))
903 Store(Index(arg0, 1), Index(p000, 1))
904 Store(Index(arg0, 1), Index(arg0, 1))
905 Store(Index(arg0, 1), Index(arg0, 1))
906 Store(Index(p000, 0), Index(p000, 0))
907 Store(Index(p000, 0), Index(p000, 1))
908 Store(Index(p000, 0), Index(arg0, 0))
909 Store(Index(p000, 0), Index(arg0, 1))
910 Store(Index(p000, 1), Index(p000, 0))
911 Store(Index(p000, 1), Index(p000, 1))
912 Store(Index(p000, 1), Index(arg0, 0))
913 Store(Index(p000, 1), Index(arg0, 1))
914 Store(Index(arg0, 0), Index(p000, 0))
915 Store(Index(arg0, 0), Index(p000, 0))
916 Store(Index(arg0, 0), Index(p000, 0))
917 Store(Index(arg0, 0), Index(p000, 1))
918 Store(Index(arg0, 0), Index(p000, 1))
919 Store(Index(arg0, 0), Index(p000, 1))
920 Store(Index(arg0, 0), Index(arg0, 0))
921 Store(Index(arg0, 0), Index(arg0, 0))
922 Store(Index(arg0, 0), Index(arg0, 0))
923 Store(Index(arg0, 0), Index(arg0, 1))
924 Store(Index(arg0, 0), Index(arg0, 1))
925 Store(Index(arg0, 0), Index(arg0, 1))
926 Store(Index(arg0, 1), Index(p000, 0))
927 Store(Index(arg0, 1), Index(p000, 0))
928 Store(Index(arg0, 1), Index(p000, 0))
929 Store(Index(arg0, 1), Index(p000, 1))
930 Store(Index(arg0, 1), Index(p000, 1))
931 Store(Index(arg0, 1), Index(p000, 1))
932 Store(Index(arg0, 1), Index(arg0, 1))
933 Store(Index(arg0, 1), Index(arg0, 1))
934 Store(Index(arg0, 1), Index(arg0, 1))
935 Store(Index(arg0, 1), Index(arg0, 1))
936 Store(Index(arg0, 1), Index(arg0, 1))
937 Store(Index(arg0, 1), Index(arg0, 1))
938 Store(Index(p000, 0), Index(p000, 0))
939 Store(Index(p000, 0), Index(p000, 0))
940 Store(Index(p000, 0), Index(p000, 0))
941 Store(Index(p000, 0), Index(p000, 1))
942 Store(Index(p000, 0), Index(p000, 1))
943 Store(Index(p000, 0), Index(p000, 1))
944 Store(Index(p000, 0), Index(arg0, 0))
945 Store(Index(p000, 0), Index(arg0, 0))
946 Store(Index(p000, 0), Index(arg0, 0))
947 Store(Index(p000, 0), Index(arg0, 1))
948 Store(Index(p000, 0), Index(arg0, 1))
949 Store(Index(p000, 0), Index(arg0, 1))
950 Store(Index(p000, 1), Index(p000, 0))
951 Store(Index(p000, 1), Index(p000, 0))
952 Store(Index(p000, 1), Index(p000, 0))
953 Store(Index(p000, 1), Index(p000, 1))
954 Store(Index(p000, 1), Index(p000, 1))
955 Store(Index(p000, 1), Index(p000, 1))
956 Store(Index(p000, 1), Index(arg0, 0))
957 Store(Index(p000, 1), Index(arg0, 0))
958 Store(Index(p000, 1), Index(arg0, 0))
959 Store(Index(p000, 1), Index(arg0, 1))
960 Store(Index(p000, 1), Index(arg0, 1))
961 Store(Index(p000, 1), Index(arg0, 1))
962 }
963 Method(m001, 1)
964 {
965 m000(arg0)
966 }
967
968 Method(m002, 1)
969 {
970 m001(arg0)
971 }
972
973 m000(Package(2) {0x10,0x11})
974 m000(Package(4) {0x20,0x21,0x22,0x23})
975
976 m000(Package(4) {0x30,0x31,0x32,0x33})
977 m000(Package(4) {0x40,0x41,0x42,0x43})
978 m000(Package(4) {0x50,0x51,0x52,0x53})
979 m000(Package(4) {0x60,0x61,0x62,0x63})
980 m000(Package(4) {0x70,0x71,0x72,0x73})
981 m000(Package(4) {0x80,0x81,0x82,0x83})
982 m000(Package(4) {0x40,0x41,0x42,0x43})
983 m000(Package(4) {0x40,0x41,0x42,0x43})
984 m000(Package(4) {0x40,0x41,0x42,0x43})
985 m000(Package(4) {0x40,0x41,0x42,0x43})
986 m000(Package(4) {0x40,0x41,0x42,0x43})
987 m000(Package(4) {0x40,0x41,0x42,0x43})
988
989 m000(Package(7) {0x40,0x41,0x42,0x43})
990 m000(Package(7) {0x40,0x41,0x42,0x43})
991 m000(Package(9) {0x30,0x31,0x32,0x33})
992 m000(Package(18) {0x30,0x31,0x32,0x33})
993 m001(Package(18) {0x30,0x31,0x32,0x33})
994 m001(Package(18) {0x30,0x31,0x32,0x33})
995 m001(Package(18) {0x30,0x31,0x32,0x33})
996 m001(Package(18) {0x30,0x31,0x32,0x33})
997 m001(Package(18) {0x30,0x31,0x32,0x33})
998 m002(Package(18) {0x30,0x31,0x32,0x33})
999 m002(Package(18) {0x30,0x31,0x32,0x33})
1000 m002(Package(18) {0x30,0x31,0x32,0x33})
1001 m002(Package(18) {0x30,0x31,0x32,0x33})
1002 m002(Package(18) {0x30,0x31,0x32,0x33})
1003
1004
1005 m000(p000)
1006 m000(p001)
1007 m001(p000)
1008 m001(p001)
1009 m002(p000)
1010 m002(p001)
1011 }
1012
1013 Method(m01f,, Serialized)
1014 {
1015 Name(s900, "qwertyuiop")
1016
1017 Method(m000, 1)
1018 {
1019 Store(RefOf(arg0), Local0)
1020 Store(DerefOf(Local0), Local7)
1021
1022 return (Local7)
1023 }
1024
1025 Method(m001, 1)
1026 {
1027 Store(RefOf(arg0), Local0)
1028 Store(DerefOf(Local0), Local7)
1029
1030 Store(m000(Local7), Local0)
1031 }
1032
1033 Store(Index(s900, 0), Local0)
1034 m001(Local0)
1035 Store(DerefOf(Local0), Local2)
1036
1037 Store(Index(Package(){0xabcd0000}, 0), Local0)
1038 m001(Local0)
1039 Store(DerefOf(Local0), Local2)
1040 }
1041
1042 Method(m020)
1043 {
1044 Method(m000,, Serialized)
1045 {
1046 Name(p953, Package() {0xabcd2018, 0xabcd2019})
1047 Name(p954, Package() {0xabcd2018, 0xabcd2019})
1048 CopyObject(p954, p953)
1049 }
1050 m000()
1051 }
1052
1053 Method(m021)
1054 {
1055 Method(m000, 1)
1056 {
1057 Store(0xabcd0000, arg0)
1058 }
1059
1060 Method(m001,, Serialized)
1061 {
1062 Name(pp00, Package() {0xabcd0001})
1063 Name(p000, Package() {0xabcd0002, 0xabcd0003})
1064 Name(p001, Package() {0xabcd0004, 0xabcd0005})
1065
1066
1067 Store(RefOf(p000), Local0)
1068 m000(Local0)
1069 CopyObject(p001, p000)
1070
1071 }
1072
1073 m001()
1074 }
1075
1076 Method(m022,, Serialized)
1077 {
1078 Name(i000, 0xabcd0000)
1079 Name(p000, Package() {0xabcd0001})
1080
1081 CopyObject(i000, p000)
1082 Store(i000, p000)
1083 }
1084
1085 Method(m023,, Serialized)
1086 {
1087 Name(p000, Package() {0xabcd0000})
1088 Name(p001, Package() {0xabcd0001, 0xabcd0002})
1089
1090 CopyObject(p000, p001)
1091 CopyObject(p001, p000)
1092 }
1093
1094 Method(m024,, Serialized)
1095 {
1096 Name(p000, Package() {0xabcd0000})
1097 Name(i000, 0xabcd0000)
1098 CopyObject(p000, i000)
1099
1100 m006()
1101 m021()
1102 m022()
1103 m023()
1104
1105 if (1) {
1106 m000()
1107 m001()
1108 m002()
1109 m003()
1110 m004()
1111 m005()
1112 m006()
1113 m007()
1114 m008()
1115 m009()
1116 m00a()
1117 m00b()
1118 m00c()
1119 m00d()
1120 m00e()
1121 m00f()
1122 m010()
1123 m011()
1124 m012()
1125 m013()
1126 m014()
1127 m015()
1128 m016()
1129 m017()
1130 m018()
1131 m019()
1132 m01a()
1133 m01b()
1134 m01c()
1135 m01d()
1136 m01e()
1137 m01f()
1138 m020()
1139 m021()
1140 m022()
1141 m023()
1142 }
1143 }
1144
1145 SRMT("mfe6")
1146 m024()
1147 }