Debian Codegraph @

tests/aslts/src/runtime/collections/bdemo/ACPICA/0135/Mix.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 * Mix of IRefs which have different type parents -
31 * Packages, Buffers and Strings.
32 *
33 * Outstanding: 0x7 allocations after execution.
34 */
35
36 Method(m80a, 4)
37 {
38 Store(DerefOf(DerefOf(Index(arg0, arg1))), Local0)
39 if (LNotEqual(Local0, arg2)) {
40 err("", zFFF, __LINE__, 0, 0, Local0, arg2)
41 }
42 }
43
44 Method(m809, 1)
45 {
46 Method(mm00, 1, Serialized)
47 {
48 Name(FL00, 0)
49
50 Name(i000, 0)
51 Name(i001, 0)
52 Name(i002, 0)
53 Name(i003, 0)
54
55 Name(rd00, 0)
56 Name(wr00, 8)
57
58 Name(p000, Package(64){0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07})
59 Name(b000, Buffer(64) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
60 Name(b001, Buffer(64) {0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27})
61 Name(s000, "01234567")
62 Name(p001, Package(64){0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47})
63 Name(b002, Buffer(64) {0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57})
64 Name(s001, "`abcdefg")
65 Name(p002, Package(64){0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77})
66
67 Store(arg0, FL00)
68
69 Concatenate("Run with FL00 equal to ", FL00, Debug)
70
71 /* Writing IRefs to the same element of package */
72
73 Store(0, rd00)
74 Store(8, wr00)
75
76 Store(Index(p000, rd00), Index(p000, wr00))
77 m80a(p000, wr00, 0x00, 0x500)
78 Store(Index(b000, rd00), Index(p000, wr00))
79 m80a(p000, wr00, 0x10, 0x501)
80 Store(Index(b001, rd00), Index(p000, wr00))
81 m80a(p000, wr00, 0x20, 0x502)
82 Store(Index(s000, rd00), Index(p000, wr00))
83 m80a(p000, wr00, 0x30, 0x503)
84 Store(Index(p001, rd00), Index(p000, wr00))
85 m80a(p000, wr00, 0x40, 0x504)
86 Store(Index(b002, rd00), Index(p000, wr00))
87 m80a(p000, wr00, 0x50, 0x505)
88 Store(Index(s001, rd00), Index(p000, wr00))
89 m80a(p000, wr00, 0x60, 0x506)
90 Store(Index(p002, rd00), Index(p000, wr00))
91 m80a(p000, wr00, 0x70, 0x507)
92
93 Method(m001, 7, Serialized)
94 {
95 Name(i104, 0)
96 Name(i105, 0)
97 Name(i106, 0)
98
99 if (LEqual(FL00, 1)) {
100
101 Store(arg0, Local0)
102 Store(arg1, Local1)
103 Store(arg2, Local2)
104 Store(arg3, Local3)
105 Store(arg4, Local4)
106 Store(arg5, Local5)
107 Store(arg6, Local6)
108
109 CopyObject(Local0, i000)
110 CopyObject(Local1, i001)
111 CopyObject(Local2, i002)
112 CopyObject(Local3, i003)
113 CopyObject(Local4, i104)
114 CopyObject(Local5, i105)
115 CopyObject(Local6, i106)
116
117 Store(i000, arg0)
118 Store(i001, arg1)
119 Store(i002, arg2)
120 Store(i003, arg3)
121 Store(i104, arg4)
122 Store(i105, arg5)
123 Store(i106, arg6)
124 }
125
126 /* IRefs(1): Write IRefs into 9,10.. */
127
128 Store(1, rd00)
129 Store(8, wr00)
130
131 Store(Index(arg0, rd00), Index(arg0, Increment(wr00)))
132 Store(Index(arg1, rd00), Index(arg0, Increment(wr00)))
133 Store(Index(arg2, rd00), Index(arg0, Increment(wr00)))
134 Store(Index(arg3, rd00), Index(arg0, Increment(wr00)))
135 Store(Index(arg4, rd00), Index(arg0, Increment(wr00)))
136 Store(Index(arg5, rd00), Index(arg0, Increment(wr00)))
137 Store(Index(arg6, rd00), Index(arg0, Increment(wr00)))
138
139 Store(2, rd00)
140 Store(8, wr00)
141
142 Store(Index(arg2, rd00), Index(arg4, Increment(wr00)))
143 Store(Index(arg3, rd00), Index(arg4, Increment(wr00)))
144 Store(Index(arg4, rd00), Index(arg4, Increment(wr00)))
145 Store(Index(arg5, rd00), Index(arg4, Increment(wr00)))
146 Store(Index(arg6, rd00), Index(arg4, Increment(wr00)))
147
148 Store(3, rd00)
149 Store(15, wr00)
150
151 Store(Index(arg1, rd00), Index(arg0, Increment(wr00)))
152 Store(Index(arg3, rd00), Index(arg0, Increment(wr00)))
153 Store(Index(arg4, rd00), Index(arg0, Increment(wr00)))
154
155 /* Writing IRefs to the same (8-th) element of package */
156
157 Store(0, rd00)
158 Store(8, wr00)
159
160 Store(Index(arg0, rd00), Index(arg0, wr00))
161 m80a(arg0, wr00, 0x00, 0x508)
162 Store(Index(arg1, rd00), Index(arg0, wr00))
163 m80a(arg0, wr00, 0x10, 0x509)
164 Store(Index(arg2, rd00), Index(arg0, wr00))
165 m80a(arg0, wr00, 0x20, 0x50a)
166 Store(Index(arg3, rd00), Index(arg0, wr00))
167 m80a(arg0, wr00, 0x30, 0x50b)
168 Store(Index(arg4, rd00), Index(arg0, wr00))
169 m80a(arg0, wr00, 0x40, 0x50c)
170 Store(Index(arg5, rd00), Index(arg0, wr00))
171 m80a(arg0, wr00, 0x50, 0x50d)
172 Store(Index(arg6, rd00), Index(arg0, wr00))
173 m80a(arg0, wr00, 0x60, 0x50e)
174
175 Store(4, rd00)
176 Store(20, wr00)
177
178 Store(Index(arg0, rd00), Index(arg0, wr00))
179 m80a(arg0, wr00, 0x04, 0x50f)
180 Store(Index(arg0, rd00), Index(arg4, wr00))
181 m80a(arg4, wr00, 0x04, 0x510)
182
183 Store(Index(arg1, rd00), Index(arg0, wr00))
184 m80a(arg0, wr00, 0x14, 0x511)
185 Store(Index(arg1, rd00), Index(arg4, wr00))
186 m80a(arg4, wr00, 0x14, 0x512)
187
188 Store(Index(arg2, rd00), Index(arg0, wr00))
189 m80a(arg0, wr00, 0x24, 0x513)
190 Store(Index(arg2, rd00), Index(arg4, wr00))
191 m80a(arg4, wr00, 0x24, 0x514)
192
193 Store(Index(arg3, rd00), Index(arg0, wr00))
194 m80a(arg0, wr00, 0x34, 0x515)
195 Store(Index(arg3, rd00), Index(arg4, wr00))
196 m80a(arg4, wr00, 0x34, 0x516)
197
198 Store(Index(arg4, rd00), Index(arg0, wr00))
199 m80a(arg0, wr00, 0x44, 0x517)
200 Store(Index(arg4, rd00), Index(arg4, wr00))
201 m80a(arg4, wr00, 0x44, 0x518)
202
203 Store(Index(arg5, rd00), Index(arg0, wr00))
204 m80a(arg0, wr00, 0x54, 0x519)
205 Store(Index(arg5, rd00), Index(arg4, wr00))
206 m80a(arg4, wr00, 0x54, 0x51a)
207
208 Store(Index(arg6, rd00), Index(arg0, wr00))
209 m80a(arg0, wr00, 0x64, 0x51b)
210 Store(Index(arg6, rd00), Index(arg4, wr00))
211 m80a(arg4, wr00, 0x64, 0x51c)
212
213 /* Read by IRefs (1) */
214
215 Store(8, wr00)
216 m80a(arg0, Increment(wr00), 0x01, 0x51d)
217 m80a(arg0, Increment(wr00), 0x11, 0x51e)
218 m80a(arg0, Increment(wr00), 0x21, 0x51f)
219 m80a(arg0, Increment(wr00), 0x31, 0x520)
220 m80a(arg0, Increment(wr00), 0x41, 0x521)
221 m80a(arg0, Increment(wr00), 0x51, 0x522)
222 m80a(arg0, Increment(wr00), 0x61, 0x523)
223
224 Store(8, wr00)
225 m80a(arg4, Increment(wr00), 0x22, 0x524)
226 m80a(arg4, Increment(wr00), 0x32, 0x525)
227 m80a(arg4, Increment(wr00), 0x42, 0x526)
228 m80a(arg4, Increment(wr00), 0x52, 0x527)
229 m80a(arg4, Increment(wr00), 0x62, 0x528)
230
231 Store(15, wr00)
232 m80a(arg0, Increment(wr00), 0x13, 0x529)
233 m80a(arg0, Increment(wr00), 0x33, 0x52a)
234 m80a(arg0, Increment(wr00), 0x43, 0x52b)
235 }
236
237 m001(p000,b000,b001,s000,p001,b002,s001)
238
239 Method(m002, 7, Serialized)
240 {
241 Name(i104, 0)
242 Name(i105, 0)
243 Name(i106, 0)
244
245 Store(0, rd00)
246 Store(8, wr00)
247
248 Store(arg0, Local0)
249 Store(Index(Local0, rd00), Index(arg0, wr00))
250 m80a(arg0, wr00, 0x00, 0x52c)
251 Store(arg1, Local0)
252 Store(Index(Local0, rd00), Index(arg0, wr00))
253 m80a(arg0, wr00, 0x10, 0x52d)
254 Store(arg2, Local0)
255 Store(Index(Local0, rd00), Index(arg0, wr00))
256 m80a(arg0, wr00, 0x20, 0x52e)
257 Store(arg3, Local0)
258 Store(Index(Local0, rd00), Index(arg0, wr00))
259 m80a(arg0, wr00, 0x30, 0x52f)
260 Store(arg4, Local0)
261 Store(Index(Local0, rd00), Index(arg0, wr00))
262 m80a(arg0, wr00, 0x40, 0x530)
263 Store(arg5, Local0)
264 Store(Index(Local0, rd00), Index(arg0, wr00))
265 m80a(arg0, wr00, 0x50, 0x531)
266 Store(arg6, Local0)
267 Store(Index(Local0, rd00), Index(arg0, wr00))
268 m80a(arg0, wr00, 0x60, 0x532)
269
270 m001(arg0,arg1,arg2,arg3,arg4,arg5,arg6)
271
272 Store(arg0, Local0)
273 Store(arg1, Local1)
274 Store(arg2, Local2)
275 Store(arg3, Local3)
276 Store(arg4, Local4)
277 Store(arg5, Local5)
278 Store(arg6, Local6)
279 m001(Local0,Local1,Local2,Local3,Local4,Local5,Local6)
280
281 CopyObject(arg0, i000)
282 CopyObject(arg1, i001)
283 CopyObject(arg2, i002)
284 CopyObject(arg3, i003)
285 CopyObject(arg4, i104)
286 CopyObject(arg5, i105)
287 CopyObject(arg6, i106)
288 m001(i000,i001,i002,i003,i104,i105,i106)
289
290 Store(arg0, Local0)
291 Store(arg1, Local1)
292 Store(arg2, Local2)
293 Store(arg3, Local3)
294 Store(arg4, Local4)
295 Store(arg5, Local5)
296 Store(arg6, Local6)
297
298 Store(Local0, arg0)
299 Store(Local1, arg1)
300 Store(Local2, arg2)
301 Store(Local3, arg3)
302 Store(Local4, arg4)
303 Store(Local5, arg5)
304 Store(Local6, arg6)
305 m001(arg0,arg1,arg2,arg3,arg4,arg5,arg6)
306
307 CopyObject(arg0, i000)
308 CopyObject(arg1, i001)
309 CopyObject(arg2, i002)
310 CopyObject(arg3, i003)
311 CopyObject(arg4, i104)
312 CopyObject(arg5, i105)
313 CopyObject(arg6, i106)
314
315 Store(i000, arg0)
316 Store(i001, arg1)
317 Store(i002, arg2)
318 Store(i003, arg3)
319 Store(i104, arg4)
320 Store(i105, arg5)
321 Store(i106, arg6)
322 m001(arg0,arg1,arg2,arg3,arg4,arg5,arg6)
323 }
324
325 m002(p000,b000,b001,s000,p001,b002,s001)
326 } /* mm00 */
327
328 mm00(arg0)
329 }
330
331 Method(m80b,, Serialized)
332 {
333 Name(rd00, 0)
334 Name(wr00, 8)
335 Name(wr01, 9)
336
337 Name(p000, Package(64){0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07})
338 Name(p001, Package(64){0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
339 Name(p002, Package(64){0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27})
340 Name(p003, Package(64){0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37})
341
342 /*
343 * 1 -
344 * write reference to p001[0] into p002[wr00]
345 * save reference to p002[wr00] into Local0
346 */
347
348 Store(0, rd00)
349 Store(8, wr00)
350
351 Store(Index(p001, rd00), Index(p002, wr00))
352 m80a(p002, wr00, 0x10, 0x533)
353
354 Store(Index(p002, wr00), Local0)
355
356 Store(DerefOf(DerefOf(Local0)), Local1)
357 if (LNotEqual(Local1, 0x10)) {
358 err("", zFFF, __LINE__, 0, 0, Local1, 0x10)
359 }
360
361 /*
362 * 2 -
363 * re-write reference to p001[5] into p002[wr00]
364 * use the old reference to p002[wr00] saved into Local0
365 */
366
367 Store(DerefOf(DerefOf(Local0)), Local1)
368 if (LNotEqual(Local1, 0x10)) {
369 err("", zFFF, __LINE__, 0, 0, Local1, 0x10)
370 }
371
372 Store(5, rd00)
373 Store(8, wr00)
374
375 Store(Index(p001, rd00), Index(p002, wr00))
376 m80a(p002, wr00, 0x15, 0x535)
377
378 Store(DerefOf(DerefOf(Local0)), Local1)
379 if (LNotEqual(Local1, 0x15)) {
380 err("", zFFF, __LINE__, 0, 0, Local1, 0x15)
381 }
382
383 /*
384 * 1 -
385 * write reference to p001[0] into p001[wr00]
386 * save reference to p001[wr00] into Local0
387 */
388
389 Store(0, rd00)
390 Store(8, wr00)
391
392 Store(Index(p001, rd00), Index(p001, wr00))
393 m80a(p001, wr00, 0x10, 0x537)
394
395 Store(Index(p001, wr00), Local0)
396
397 Store(DerefOf(DerefOf(Local0)), Local1)
398 if (LNotEqual(Local1, 0x10)) {
399 err("", zFFF, __LINE__, 0, 0, Local1, 0x10)
400 }
401
402 /*
403 * 2 -
404 * re-write reference to p001[5] into p001[wr00]
405 * use the old reference to p001[wr00] saved into Local0
406 */
407
408 Store(DerefOf(DerefOf(Local0)), Local1)
409 if (LNotEqual(Local1, 0x10)) {
410 err("", zFFF, __LINE__, 0, 0, Local1, 0x10)
411 }
412
413 Store(5, rd00)
414 Store(8, wr00)
415
416 Store(Index(p001, rd00), Index(p001, wr00))
417 m80a(p001, wr00, 0x15, 0x53a)
418
419 Store(DerefOf(DerefOf(Local0)), Local1)
420 if (LNotEqual(Local1, 0x15)) {
421 err("", zFFF, __LINE__, 0, 0, Local1, 0x15)
422 }
423
424 /*
425 * 1 -
426 * write reference to p001[0] into p002[wr00]
427 * save reference to p002[wr00] into p003[wr00]
428 */
429
430 Store(7, rd00)
431 Store(8, wr00)
432
433 Store(Index(p001, rd00), Index(p002, wr00))
434 m80a(p002, wr00, 0x17, 0x53c)
435
436 Store(Index(p002, wr00), Index(p003, wr00))
437 Store(DerefOf(DerefOf(DerefOf(Index(p003, wr00)))), Local1)
438 if (LNotEqual(Local1, 0x17)) {
439 err("", zFFF, __LINE__, 0, 0, Local1, 0x17)
440 }
441
442 /*
443 * 2 -
444 * re-write reference to p001[5] into p002[wr00]
445 * use the old reference to p002[wr00] saved into p003[wr00]
446 */
447
448 Store(DerefOf(DerefOf(DerefOf(Index(p003, wr00)))), Local1)
449 if (LNotEqual(Local1, 0x17)) {
450 err("", zFFF, __LINE__, 0, 0, Local1, 0x17)
451 }
452
453 Store(6, rd00)
454 Store(8, wr00)
455
456 Store(Index(p001, rd00), Index(p002, wr00))
457 m80a(p002, wr00, 0x16, 0x53f)
458
459 Store(DerefOf(DerefOf(DerefOf(Index(p003, wr00)))), Local1)
460 if (LNotEqual(Local1, 0x16)) {
461 err("", zFFF, __LINE__, 0, 0, Local1, 0x16)
462 }
463
464 /*
465 * 1 -
466 * write reference to p001[0] into p001[wr00]
467 * save reference to p001[wr00] into p003[wr00]
468 */
469
470 Store(7, rd00)
471 Store(8, wr00)
472
473 Store(Index(p001, rd00), Index(p001, wr00))
474 m80a(p001, wr00, 0x17, 0x541)
475
476 Store(Index(p001, wr00), Index(p003, wr00))
477 Store(DerefOf(DerefOf(DerefOf(Index(p003, wr00)))), Local1)
478 if (LNotEqual(Local1, 0x17)) {
479 err("", zFFF, __LINE__, 0, 0, Local1, 0x17)
480 }
481
482 /*
483 * 2 -
484 * re-write reference to p001[5] into p001[wr00]
485 * use the old reference to p001[wr00] saved into p003[wr00]
486 */
487
488 Store(DerefOf(DerefOf(DerefOf(Index(p003, wr00)))), Local1)
489 if (LNotEqual(Local1, 0x17)) {
490 err("", zFFF, __LINE__, 0, 0, Local1, 0x17)
491 }
492
493 Store(6, rd00)
494 Store(8, wr00)
495
496 Store(Index(p001, rd00), Index(p001, wr00))
497 m80a(p001, wr00, 0x16, 0x544)
498
499 Store(DerefOf(DerefOf(DerefOf(Index(p003, wr00)))), Local1)
500 if (LNotEqual(Local1, 0x16)) {
501 err("", zFFF, __LINE__, 0, 0, Local1, 0x16)
502 }
503
504 /*
505 * 1 -
506 * write reference to p001[0] into p001[wr00]
507 * save reference to p001[wr00] into p001[wr00]
508 */
509
510 Store(7, rd00)
511 Store(8, wr00)
512 Store(9, wr01)
513
514 Store(Index(p001, rd00), Index(p001, wr00))
515 m80a(p001, wr00, 0x17, 0x546)
516
517 Store(Index(p001, wr00), Index(p001, wr01))
518 Store(DerefOf(DerefOf(DerefOf(Index(p001, wr01)))), Local1)
519 if (LNotEqual(Local1, 0x17)) {
520 err("", zFFF, __LINE__, 0, 0, Local1, 0x17)
521 }
522
523 /*
524 * 2 -
525 * re-write reference to p001[5] into p001[wr00]
526 * use the old reference to p001[wr00] saved into p001[wr01]
527 */
528
529 Store(DerefOf(DerefOf(DerefOf(Index(p001, wr01)))), Local1)
530 if (LNotEqual(Local1, 0x17)) {
531 err("", zFFF, __LINE__, 0, 0, Local1, 0x17)
532 }
533
534 Store(6, rd00)
535 Store(8, wr00)
536
537 Store(Index(p001, rd00), Index(p001, wr00))
538 m80a(p001, wr00, 0x16, 0x549)
539
540 Store(DerefOf(DerefOf(DerefOf(Index(p001, wr01)))), Local1)
541 if (LNotEqual(Local1, 0x16)) {
542 err("", zFFF, __LINE__, 0, 0, Local1, 0x16)
543 }
544 }
545
546 Method(m80c,, Serialized)
547 {
548 Name(p000, Package(8) {0x78,1,2})
549 Name(p001, Package(8) {0,1,2,3,4,5,6,7})
550
551 Store(Index(p000, 0), Local0)
552 Store(Local0, Index(p001, 0))
553 Store(Local0, Index(p001, 1))
554 Store(Local0, Index(p001, 2))
555 Store(Local0, Index(p001, 3))
556 Store(Local0, Index(p001, 4))
557 Store(Local0, Index(p001, 5))
558 Store(Local0, Index(p001, 6))
559 Store(Local0, Index(p001, 7))
560
561 Store(Local0, Index(p000, 0))
562 Store(Local0, Index(p000, 1))
563 Store(Local0, Index(p000, 2))
564 Store(Local0, Index(p000, 3))
565 Store(Local0, Index(p000, 4))
566 Store(Local0, Index(p000, 5))
567 Store(Local0, Index(p000, 6))
568 Store(Local0, Index(p000, 7))
569
570 Store(Local0, Index(p001, 0))
571 Store(Local0, Index(p000, 0))
572 Store(Local0, Index(p001, 1))
573 Store(Local0, Index(p000, 1))
574 Store(Local0, Index(p001, 2))
575 Store(Local0, Index(p000, 2))
576 Store(Local0, Index(p001, 3))
577 Store(Local0, Index(p000, 3))
578 Store(Local0, Index(p001, 4))
579 Store(Local0, Index(p000, 4))
580 Store(Local0, Index(p001, 5))
581 Store(Local0, Index(p000, 5))
582 Store(Local0, Index(p001, 6))
583 Store(Local0, Index(p000, 6))
584 Store(Local0, Index(p001, 7))
585 Store(Local0, Index(p000, 7))
586
587 Store(p000, Index(p001, 7))
588 Store(p000, Index(p000, 7))
589
590 Store(p001, Index(p001, 6))
591 Store(p001, Index(p000, 6))
592 }
593
594 Method(m80d,, Serialized)
595 {
596 Name(p000, Package(8) {0x78,1,2})
597 Name(p001, Package(8) {0,1,2,3,4,5,6,7})
598
599 Store(Index(p000, 0), Index(p001, 0))
600 Store(DerefOf(Index(p001, 0)), Index(p001, 1))
601 Store(DerefOf(Index(p001, 0)), Index(p001, 2))
602 Store(DerefOf(Index(p001, 0)), Index(p001, 3))
603 Store(DerefOf(Index(p001, 0)), Index(p001, 4))
604 Store(DerefOf(Index(p001, 0)), Index(p001, 5))
605 Store(DerefOf(Index(p001, 0)), Index(p001, 6))
606 Store(DerefOf(Index(p001, 0)), Index(p001, 7))
607
608 Store(Index(p001, 0), Index(p000, 0))
609 Store(DerefOf(Index(p000, 0)), Index(p000, 1))
610 Store(DerefOf(Index(p000, 0)), Index(p000, 2))
611 Store(DerefOf(Index(p000, 0)), Index(p000, 3))
612 Store(DerefOf(Index(p000, 0)), Index(p000, 4))
613 Store(DerefOf(Index(p000, 0)), Index(p000, 5))
614 Store(DerefOf(Index(p000, 0)), Index(p000, 6))
615 Store(DerefOf(Index(p000, 0)), Index(p000, 7))
616
617 Store(Index(p000, 0), Index(p001, 0))
618 Store(DerefOf(Index(p001, 0)), Index(p001, 1))
619 Store(DerefOf(Index(p001, 0)), Index(p001, 2))
620 Store(DerefOf(Index(p001, 0)), Index(p001, 3))
621 Store(DerefOf(Index(p001, 0)), Index(p001, 4))
622 Store(DerefOf(Index(p001, 0)), Index(p001, 5))
623 Store(DerefOf(Index(p001, 0)), Index(p001, 6))
624 Store(DerefOf(Index(p001, 0)), Index(p001, 7))
625
626 Store(Index(p001, 0), Index(p000, 0))
627 Store(DerefOf(Index(p000, 0)), Index(p000, 1))
628 Store(DerefOf(Index(p000, 0)), Index(p000, 2))
629 Store(DerefOf(Index(p000, 0)), Index(p000, 3))
630 Store(DerefOf(Index(p000, 0)), Index(p000, 4))
631 Store(DerefOf(Index(p000, 0)), Index(p000, 5))
632 Store(DerefOf(Index(p000, 0)), Index(p000, 6))
633 Store(DerefOf(Index(p000, 0)), Index(p000, 7))
634
635 Store(p000, Index(p001, 7))
636 Store(p000, Index(p000, 7))
637
638 Store(p001, Index(p001, 6))
639 Store(p001, Index(p000, 6))
640 }
641
642 Method(m80e,, Serialized)
643 {
644 Name(p000, Package(64){0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07})
645 Name(b000, Buffer(64) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
646
647 Method(m000, 2)
648 {
649 Store(DerefOf(DerefOf(Index(p000, arg1))), Local0)
650 }
651
652 Method(m001)
653 {
654 Method(m002)
655 {
656 Store(Index(p000, 1), Index(p000, 9))
657 Store(Index(b000, 1), Index(p000, 10))
658
659 m000(p000,9)
660 m000(p000,10)
661 }
662
663 m002()
664 }
665
666 Method(m003, 2)
667 {
668 Store(DerefOf(DerefOf(Index(arg0, arg1))), Local0)
669 }
670
671 Method(m004,, Serialized)
672 {
673 Name(p000, Package(64){0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07})
674 Name(b000, Buffer(64) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
675
676 Method(m005)
677 {
678 Store(Index(p000, 1), Index(p000, 9))
679 Store(Index(b000, 1), Index(p000, 10))
680
681 m003(p000,9)
682 m003(p000,10)
683 }
684
685 m005()
686 }
687
688 Method(m006, 2)
689 {
690 Store(Index(p000, arg1), Local0)
691 Store(DerefOf(Local0), Local1)
692 Store(DerefOf(Local1), Local2)
693 }
694
695 Method(m007)
696 {
697 Method(m008)
698 {
699 Store(Index(p000, 1), Index(p000, 9))
700 Store(Index(b000, 1), Index(p000, 10))
701
702 m006(p000,9)
703 m006(p000,10)
704 }
705
706 m008()
707 }
708
709 m001()
710 m004()
711 m007()
712 }
713
714 Method(m812,, Serialized)
715 {
716 Name(p000, Package(64){0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07})
717 Name(b000, Buffer(64) {0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17})
718
719 Method(m000, 2)
720 {
721 Store(Index(p000, arg1), Local0)
722 Store(DerefOf(Local0), Local1)
723 Store(DerefOf(Local1), Local2)
724 }
725
726 Method(m001)
727 {
728 Method(m002)
729 {
730 Store(Index(p000, 1), Index(p000, 9))
731 Store(Index(b000, 1), Index(p000, 10))
732
733 m000(p000,9)
734 m000(p000,10)
735 }
736
737 m002()
738 }
739
740 m001()
741 }
742
743 Method(m808)
744 {
745 SRMT("m809-0")
746 m809(0)
747 SRMT("m809-1")
748 m809(1)
749 SRMT("m80b")
750 m80b()
751 SRMT("m80c")
752 m80c()
753 SRMT("m80d")
754 m80d()
755 SRMT("m80e")
756 m80e()
757 SRMT("m812")
758 m812()
759 }