Debian Codegraph @

tests/aslts/src/runtime/collections/bdemo/ACPICA/0216/DECL.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 * Bug 216(local-bugzilla-341):
30 *
31 * SUMMARY: exception AE_NOT_FOUND on CreateField under specific conditions
32 *
33 * Failed to find Buffer for CreateField both declared inside
34 * some of these types: Device/ThermalZone/Processor/PowerResource
35 * which in turn are declared inside some method thus created
36 * dynamically.
37 *
38 * APPEARANCE:
39 * Call method which declares object of any of these types:
40 * Device
41 * ThermalZone
42 * Processor
43 * PowerResource
44 * which contains internal declarations of Buffer of name which
45 * there are no in the higher levels and run CreateField for that
46 * Buffer. If run method then get mentioned exception.
47 *
48 * May suspect, at first glance, that if the name of that Buffer fit
49 * the name of some higher level Buffer (no exception in that case)
50 * then CreateField deals with that higher level Buffer. Though, the
51 * example with dd12 doesn't count in favour of that reason.
52 *
53 * Note: add verifications while fixing the bug (access to Buffer Fields..).
54 */
55 /* ======== 0 ======= */
56 Name (BD11, Buffer (0x05)
57 {
58 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
59 })
60 Name (BD12, Buffer (0x05)
61 {
62 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
63 })
64 Device (DD12)
65 {
66 }
67
68 Device (DD0E)
69 {
70 Name (BD13, Buffer (0x05)
71 {
72 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
73 })
74 CreateField (BD13, 0x00, 0x08, BF00)
75 }
76
77 ThermalZone (TZD3)
78 {
79 Name (BD13, Buffer (0x05)
80 {
81 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
82 })
83 CreateField (BD13, 0x00, 0x08, BF00)
84 }
85
86 Processor (PRD3, 0x00, 0xFFFFFFFF, 0x00)
87 {
88 Name (BD13, Buffer (0x05)
89 {
90 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
91 })
92 CreateField (BD13, 0x00, 0x08, BF00)
93 }
94
95 PowerResource (PWD3, 0x01, 0x0000)
96 {
97 Name (BD13, Buffer (0x05)
98 {
99 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
100 })
101 CreateField (BD13, 0x00, 0x08, BF00)
102 }
103
104 Method (M81E, 0, Serialized)
105 {
106 Name (BD13, Buffer (0x05)
107 {
108 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
109 })
110 CreateField (BD13, 0x00, 0x08, BF00)
111 }
112
113 /* ======== 1 ======= */
114
115 Device (DD0F)
116 {
117 Name (BD11, Buffer (0x05)
118 {
119 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
120 })
121 CreateField (BD11, 0x00, 0x08, BF00)
122 }
123
124 ThermalZone (TZD4)
125 {
126 Name (BD11, Buffer (0x05)
127 {
128 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
129 })
130 CreateField (BD11, 0x00, 0x08, BF00)
131 }
132
133 Processor (PRD4, 0x00, 0xFFFFFFFF, 0x00)
134 {
135 Name (BD11, Buffer (0x05)
136 {
137 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
138 })
139 CreateField (BD11, 0x00, 0x08, BF00)
140 }
141
142 PowerResource (PWD4, 0x01, 0x0000)
143 {
144 Name (BD11, Buffer (0x05)
145 {
146 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
147 })
148 CreateField (BD11, 0x00, 0x08, BF00)
149 }
150
151 Method (M81F, 0, Serialized)
152 {
153 Name (BD11, Buffer (0x05)
154 {
155 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
156 })
157 CreateField (BD11, 0x00, 0x08, BF00)
158 }
159
160 /* ======== 2 ======= */
161
162 Device (DD10)
163 {
164 CreateField (BD11, 0x00, 0x08, BF00)
165 }
166
167 ThermalZone (TZD5)
168 {
169 CreateField (BD11, 0x00, 0x08, BF00)
170 }
171
172 Processor (PRD5, 0x00, 0xFFFFFFFF, 0x00)
173 {
174 CreateField (BD11, 0x00, 0x08, BF00)
175 }
176
177 PowerResource (PWD5, 0x01, 0x0000)
178 {
179 CreateField (BD11, 0x00, 0x08, BF00)
180 }
181
182 Method (M820, 0, NotSerialized)
183 {
184 CreateField (BD11, 0x00, 0x08, BF00)
185 }
186
187 /* ======== 3 ======= */
188
189 Device (DD11)
190 {
191 /* ======== 0 ======= */
192
193 Name (BD13, Buffer (0x05)
194 {
195 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
196 })
197 CreateField (BD13, 0x00, 0x08, BF00)
198 Device (DD0E)
199 {
200 Name (BD13, Buffer (0x05)
201 {
202 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
203 })
204 CreateField (BD13, 0x00, 0x08, BF00)
205 }
206
207 ThermalZone (TZD3)
208 {
209 Name (BD13, Buffer (0x05)
210 {
211 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
212 })
213 CreateField (BD13, 0x00, 0x08, BF00)
214 }
215
216 Processor (PRD3, 0x00, 0xFFFFFFFF, 0x00)
217 {
218 Name (BD13, Buffer (0x05)
219 {
220 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
221 })
222 CreateField (BD13, 0x00, 0x08, BF00)
223 }
224
225 PowerResource (PWD3, 0x01, 0x0000)
226 {
227 Name (BD13, Buffer (0x05)
228 {
229 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
230 })
231 CreateField (BD13, 0x00, 0x08, BF00)
232 }
233
234 Method (M81E, 0, Serialized)
235 {
236 Name (BD13, Buffer (0x05)
237 {
238 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
239 })
240 CreateField (BD13, 0x00, 0x08, BF00)
241 }
242
243 /* ======== 1 ======= */
244
245 Device (DD0F)
246 {
247 Name (BD11, Buffer (0x05)
248 {
249 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
250 })
251 CreateField (BD11, 0x00, 0x08, BF00)
252 }
253
254 ThermalZone (TZD4)
255 {
256 Name (BD11, Buffer (0x05)
257 {
258 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
259 })
260 CreateField (BD11, 0x00, 0x08, BF00)
261 }
262
263 Processor (PRD4, 0x00, 0xFFFFFFFF, 0x00)
264 {
265 Name (BD11, Buffer (0x05)
266 {
267 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
268 })
269 CreateField (BD11, 0x00, 0x08, BF00)
270 }
271
272 PowerResource (PWD4, 0x01, 0x0000)
273 {
274 Name (BD11, Buffer (0x05)
275 {
276 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
277 })
278 CreateField (BD11, 0x00, 0x08, BF00)
279 }
280
281 Method (M81F, 0, Serialized)
282 {
283 Name (BD11, Buffer (0x05)
284 {
285 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
286 })
287 CreateField (BD11, 0x00, 0x08, BF00)
288 }
289
290 /* ======== 2 ======= */
291
292 Device (DD10)
293 {
294 CreateField (BD11, 0x00, 0x08, BF00)
295 }
296
297 ThermalZone (TZD5)
298 {
299 CreateField (BD11, 0x00, 0x08, BF00)
300 }
301
302 Processor (PRD5, 0x00, 0xFFFFFFFF, 0x00)
303 {
304 CreateField (BD11, 0x00, 0x08, BF00)
305 }
306
307 PowerResource (PWD5, 0x01, 0x0000)
308 {
309 CreateField (BD11, 0x00, 0x08, BF00)
310 }
311
312 Method (M820, 0, NotSerialized)
313 {
314 CreateField (BD11, 0x00, 0x08, BF00)
315 }
316 }
317
318 ThermalZone (TZD6)
319 {
320 /* ======== 0 ======= */
321
322 Name (BD13, Buffer (0x05)
323 {
324 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
325 })
326 CreateField (BD13, 0x00, 0x08, BF00)
327 Device (DD0E)
328 {
329 Name (BD13, Buffer (0x05)
330 {
331 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
332 })
333 CreateField (BD13, 0x00, 0x08, BF00)
334 }
335
336 ThermalZone (TZD3)
337 {
338 Name (BD13, Buffer (0x05)
339 {
340 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
341 })
342 CreateField (BD13, 0x00, 0x08, BF00)
343 }
344
345 Processor (PRD3, 0x00, 0xFFFFFFFF, 0x00)
346 {
347 Name (BD13, Buffer (0x05)
348 {
349 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
350 })
351 CreateField (BD13, 0x00, 0x08, BF00)
352 }
353
354 PowerResource (PWD3, 0x01, 0x0000)
355 {
356 Name (BD13, Buffer (0x05)
357 {
358 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
359 })
360 CreateField (BD13, 0x00, 0x08, BF00)
361 }
362
363 Method (M81E, 0, Serialized)
364 {
365 Name (BD13, Buffer (0x05)
366 {
367 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
368 })
369 CreateField (BD13, 0x00, 0x08, BF00)
370 }
371
372 /* ======== 1 ======= */
373
374 Device (DD0F)
375 {
376 Name (BD11, Buffer (0x05)
377 {
378 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
379 })
380 CreateField (BD11, 0x00, 0x08, BF00)
381 }
382
383 ThermalZone (TZD4)
384 {
385 Name (BD11, Buffer (0x05)
386 {
387 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
388 })
389 CreateField (BD11, 0x00, 0x08, BF00)
390 }
391
392 Processor (PRD4, 0x00, 0xFFFFFFFF, 0x00)
393 {
394 Name (BD11, Buffer (0x05)
395 {
396 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
397 })
398 CreateField (BD11, 0x00, 0x08, BF00)
399 }
400
401 PowerResource (PWD4, 0x01, 0x0000)
402 {
403 Name (BD11, Buffer (0x05)
404 {
405 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
406 })
407 CreateField (BD11, 0x00, 0x08, BF00)
408 }
409
410 Method (M81F, 0, Serialized)
411 {
412 Name (BD11, Buffer (0x05)
413 {
414 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
415 })
416 CreateField (BD11, 0x00, 0x08, BF00)
417 }
418
419 /* ======== 2 ======= */
420
421 Device (DD10)
422 {
423 CreateField (BD11, 0x00, 0x08, BF00)
424 }
425
426 ThermalZone (TZD5)
427 {
428 CreateField (BD11, 0x00, 0x08, BF00)
429 }
430
431 Processor (PRD5, 0x00, 0xFFFFFFFF, 0x00)
432 {
433 CreateField (BD11, 0x00, 0x08, BF00)
434 }
435
436 PowerResource (PWD5, 0x01, 0x0000)
437 {
438 CreateField (BD11, 0x00, 0x08, BF00)
439 }
440
441 Method (M820, 0, NotSerialized)
442 {
443 CreateField (BD11, 0x00, 0x08, BF00)
444 }
445 }
446
447 Processor (PRD6, 0x00, 0xFFFFFFFF, 0x00)
448 {
449 /* ======== 0 ======= */
450
451 Name (BD13, Buffer (0x05)
452 {
453 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
454 })
455 CreateField (BD13, 0x00, 0x08, BF00)
456 Device (DD0E)
457 {
458 Name (BD13, Buffer (0x05)
459 {
460 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
461 })
462 CreateField (BD13, 0x00, 0x08, BF00)
463 }
464
465 ThermalZone (TZD3)
466 {
467 Name (BD13, Buffer (0x05)
468 {
469 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
470 })
471 CreateField (BD13, 0x00, 0x08, BF00)
472 }
473
474 Processor (PRD3, 0x00, 0xFFFFFFFF, 0x00)
475 {
476 Name (BD13, Buffer (0x05)
477 {
478 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
479 })
480 CreateField (BD13, 0x00, 0x08, BF00)
481 }
482
483 PowerResource (PWD3, 0x01, 0x0000)
484 {
485 Name (BD13, Buffer (0x05)
486 {
487 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
488 })
489 CreateField (BD13, 0x00, 0x08, BF00)
490 }
491
492 Method (M81E, 0, Serialized)
493 {
494 Name (BD13, Buffer (0x05)
495 {
496 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
497 })
498 CreateField (BD13, 0x00, 0x08, BF00)
499 }
500
501 /* ======== 1 ======= */
502
503 Device (DD0F)
504 {
505 Name (BD11, Buffer (0x05)
506 {
507 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
508 })
509 CreateField (BD11, 0x00, 0x08, BF00)
510 }
511
512 ThermalZone (TZD4)
513 {
514 Name (BD11, Buffer (0x05)
515 {
516 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
517 })
518 CreateField (BD11, 0x00, 0x08, BF00)
519 }
520
521 Processor (PRD4, 0x00, 0xFFFFFFFF, 0x00)
522 {
523 Name (BD11, Buffer (0x05)
524 {
525 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
526 })
527 CreateField (BD11, 0x00, 0x08, BF00)
528 }
529
530 PowerResource (PWD4, 0x01, 0x0000)
531 {
532 Name (BD11, Buffer (0x05)
533 {
534 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
535 })
536 CreateField (BD11, 0x00, 0x08, BF00)
537 }
538
539 Method (M81F, 0, Serialized)
540 {
541 Name (BD11, Buffer (0x05)
542 {
543 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
544 })
545 CreateField (BD11, 0x00, 0x08, BF00)
546 }
547
548 /* ======== 2 ======= */
549
550 Device (DD10)
551 {
552 CreateField (BD11, 0x00, 0x08, BF00)
553 }
554
555 ThermalZone (TZD5)
556 {
557 CreateField (BD11, 0x00, 0x08, BF00)
558 }
559
560 Processor (PRD5, 0x00, 0xFFFFFFFF, 0x00)
561 {
562 CreateField (BD11, 0x00, 0x08, BF00)
563 }
564
565 PowerResource (PWD5, 0x01, 0x0000)
566 {
567 CreateField (BD11, 0x00, 0x08, BF00)
568 }
569
570 Method (M820, 0, NotSerialized)
571 {
572 CreateField (BD11, 0x00, 0x08, BF00)
573 }
574 }
575
576 PowerResource (PWD6, 0x01, 0x0000)
577 {
578 /* ======== 0 ======= */
579
580 Name (BD13, Buffer (0x05)
581 {
582 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
583 })
584 CreateField (BD13, 0x00, 0x08, BF00)
585 Device (DD0E)
586 {
587 Name (BD13, Buffer (0x05)
588 {
589 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
590 })
591 CreateField (BD13, 0x00, 0x08, BF00)
592 }
593
594 ThermalZone (TZD3)
595 {
596 Name (BD13, Buffer (0x05)
597 {
598 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
599 })
600 CreateField (BD13, 0x00, 0x08, BF00)
601 }
602
603 Processor (PRD3, 0x00, 0xFFFFFFFF, 0x00)
604 {
605 Name (BD13, Buffer (0x05)
606 {
607 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
608 })
609 CreateField (BD13, 0x00, 0x08, BF00)
610 }
611
612 PowerResource (PWD3, 0x01, 0x0000)
613 {
614 Name (BD13, Buffer (0x05)
615 {
616 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
617 })
618 CreateField (BD13, 0x00, 0x08, BF00)
619 }
620
621 Method (M81E, 0, Serialized)
622 {
623 Name (BD13, Buffer (0x05)
624 {
625 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
626 })
627 CreateField (BD13, 0x00, 0x08, BF00)
628 }
629
630 /* ======== 1 ======= */
631
632 Device (DD0F)
633 {
634 Name (BD11, Buffer (0x05)
635 {
636 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
637 })
638 CreateField (BD11, 0x00, 0x08, BF00)
639 }
640
641 ThermalZone (TZD4)
642 {
643 Name (BD11, Buffer (0x05)
644 {
645 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
646 })
647 CreateField (BD11, 0x00, 0x08, BF00)
648 }
649
650 Processor (PRD4, 0x00, 0xFFFFFFFF, 0x00)
651 {
652 Name (BD11, Buffer (0x05)
653 {
654 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
655 })
656 CreateField (BD11, 0x00, 0x08, BF00)
657 }
658
659 PowerResource (PWD4, 0x01, 0x0000)
660 {
661 Name (BD11, Buffer (0x05)
662 {
663 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
664 })
665 CreateField (BD11, 0x00, 0x08, BF00)
666 }
667
668 Method (M81F, 0, Serialized)
669 {
670 Name (BD11, Buffer (0x05)
671 {
672 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
673 })
674 CreateField (BD11, 0x00, 0x08, BF00)
675 }
676
677 /* ======== 2 ======= */
678
679 Device (DD10)
680 {
681 CreateField (BD11, 0x00, 0x08, BF00)
682 }
683
684 ThermalZone (TZD5)
685 {
686 CreateField (BD11, 0x00, 0x08, BF00)
687 }
688
689 Processor (PRD5, 0x00, 0xFFFFFFFF, 0x00)
690 {
691 CreateField (BD11, 0x00, 0x08, BF00)
692 }
693
694 PowerResource (PWD5, 0x01, 0x0000)
695 {
696 CreateField (BD11, 0x00, 0x08, BF00)
697 }
698
699 Method (M820, 0, NotSerialized)
700 {
701 CreateField (BD11, 0x00, 0x08, BF00)
702 }
703 }
704
705 Method (M821, 0, Serialized)
706 {
707 /* ======== 0 ======= */
708
709 Name (BD13, Buffer (0x05)
710 {
711 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
712 })
713 CreateField (BD13, 0x00, 0x08, BF00)
714 Device (DD0E)
715 {
716 Name (BD13, Buffer (0x05)
717 {
718 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
719 })
720 CreateField (BD13, 0x00, 0x08, BF00)
721 }
722
723 ThermalZone (TZD3)
724 {
725 Name (BD13, Buffer (0x05)
726 {
727 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
728 })
729 CreateField (BD13, 0x00, 0x08, BF00)
730 }
731
732 Processor (PRD3, 0x00, 0xFFFFFFFF, 0x00)
733 {
734 Name (BD13, Buffer (0x05)
735 {
736 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
737 })
738 CreateField (BD13, 0x00, 0x08, BF00)
739 }
740
741 PowerResource (PWD3, 0x01, 0x0000)
742 {
743 Name (BD13, Buffer (0x05)
744 {
745 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
746 })
747 CreateField (BD13, 0x00, 0x08, BF00)
748 }
749
750 Method (M81E, 0, Serialized)
751 {
752 Name (BD13, Buffer (0x05)
753 {
754 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
755 })
756 CreateField (BD13, 0x00, 0x08, BF00)
757 }
758
759 /* ======== 1 ======= */
760
761 Device (DD0F)
762 {
763 Name (BD11, Buffer (0x05)
764 {
765 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
766 })
767 CreateField (BD11, 0x00, 0x08, BF00)
768 }
769
770 ThermalZone (TZD4)
771 {
772 Name (BD11, Buffer (0x05)
773 {
774 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
775 })
776 CreateField (BD11, 0x00, 0x08, BF00)
777 }
778
779 Processor (PRD4, 0x00, 0xFFFFFFFF, 0x00)
780 {
781 Name (BD11, Buffer (0x05)
782 {
783 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
784 })
785 CreateField (BD11, 0x00, 0x08, BF00)
786 }
787
788 PowerResource (PWD4, 0x01, 0x0000)
789 {
790 Name (BD11, Buffer (0x05)
791 {
792 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
793 })
794 CreateField (BD11, 0x00, 0x08, BF00)
795 }
796
797 Method (M81F, 0, Serialized)
798 {
799 Name (BD11, Buffer (0x05)
800 {
801 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
802 })
803 CreateField (BD11, 0x00, 0x08, BF00)
804 }
805
806 /* ======== 2 ======= */
807
808 Device (DD10)
809 {
810 CreateField (BD11, 0x00, 0x08, BF00)
811 }
812
813 ThermalZone (TZD5)
814 {
815 CreateField (BD11, 0x00, 0x08, BF00)
816 }
817
818 Processor (PRD5, 0x00, 0xFFFFFFFF, 0x00)
819 {
820 CreateField (BD11, 0x00, 0x08, BF00)
821 }
822
823 PowerResource (PWD5, 0x01, 0x0000)
824 {
825 CreateField (BD11, 0x00, 0x08, BF00)
826 }
827
828 Method (M820, 0, NotSerialized)
829 {
830 CreateField (BD11, 0x00, 0x08, BF00)
831 }
832
833 M81E ()
834 M81F ()
835 M820 ()
836 }
837
838 /* ======== 4 ======= */
839
840 Method (M822, 0, Serialized)
841 {
842 Device (DD0E)
843 {
844 Name (BD13, Buffer (0x05)
845 {
846 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
847 })
848 CreateField (BD13, 0x00, 0x08, BF00)
849 }
850 }
851
852 Method (M823, 0, Serialized)
853 {
854 ThermalZone (TZD3)
855 {
856 Name (BD13, Buffer (0x05)
857 {
858 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
859 })
860 CreateField (BD13, 0x00, 0x08, BF00)
861 }
862 }
863
864 Method (M824, 0, Serialized)
865 {
866 Processor (PRD3, 0x00, 0xFFFFFFFF, 0x00)
867 {
868 Name (BD13, Buffer (0x05)
869 {
870 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
871 })
872 CreateField (BD13, 0x00, 0x08, BF00)
873 }
874 }
875
876 Method (M825, 0, Serialized)
877 {
878 PowerResource (PWD3, 0x01, 0x0000)
879 {
880 Name (BD13, Buffer (0x05)
881 {
882 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
883 })
884 CreateField (BD13, 0x00, 0x08, BF00)
885 }
886 }
887
888 Method (M826, 0, NotSerialized)
889 {
890 Method (M000, 0, Serialized)
891 {
892 Name (BD13, Buffer (0x05)
893 {
894 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
895 })
896 CreateField (BD13, 0x00, 0x08, BF00)
897 }
898 }
899
900 /* ======== 5 ======= */
901
902 Method (M827, 0, Serialized)
903 {
904 Device (DD0E)
905 {
906 Name (BD11, Buffer (0x05)
907 {
908 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
909 })
910 CreateField (BD11, 0x00, 0x08, BF00)
911 }
912 }
913
914 Method (M828, 0, Serialized)
915 {
916 ThermalZone (TZD3)
917 {
918 Name (BD11, Buffer (0x05)
919 {
920 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
921 })
922 CreateField (BD11, 0x00, 0x08, BF00)
923 }
924 }
925
926 Method (M829, 0, Serialized)
927 {
928 Processor (PRD3, 0x00, 0xFFFFFFFF, 0x00)
929 {
930 Name (BD11, Buffer (0x05)
931 {
932 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
933 })
934 CreateField (BD11, 0x00, 0x08, BF00)
935 }
936 }
937
938 Method (M82A, 0, Serialized)
939 {
940 PowerResource (PWD3, 0x01, 0x0000)
941 {
942 Name (BD11, Buffer (0x05)
943 {
944 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
945 })
946 CreateField (BD11, 0x00, 0x08, BF00)
947 }
948 }
949
950 Method (M82B, 0, NotSerialized)
951 {
952 Method (M000, 0, Serialized)
953 {
954 Name (BD11, Buffer (0x05)
955 {
956 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
957 })
958 CreateField (BD11, 0x00, 0x08, BF00)
959 }
960 }
961
962 /* ======== 6 ======= */
963
964 Method (M82C, 0, Serialized)
965 {
966 Device (DD0E)
967 {
968 CreateField (BD12, 0x00, 0x08, BF00)
969 }
970 }
971
972 Method (M82D, 0, Serialized)
973 {
974 ThermalZone (TZD3)
975 {
976 CreateField (BD12, 0x00, 0x08, BF00)
977 }
978 }
979
980 Method (M82E, 0, Serialized)
981 {
982 Processor (PRD3, 0x00, 0xFFFFFFFF, 0x00)
983 {
984 CreateField (BD12, 0x00, 0x08, BF00)
985 }
986 }
987
988 Method (M82F, 0, Serialized)
989 {
990 PowerResource (PWD3, 0x01, 0x0000)
991 {
992 CreateField (BD12, 0x00, 0x08, BF00)
993 }
994 }
995
996 Method (M830, 0, NotSerialized)
997 {
998 Method (M000, 0, NotSerialized)
999 {
1000 CreateField (BD12, 0x00, 0x08, BF00)
1001 }
1002 }
1003
1004 /* ======== 7 ======= */
1005
1006 Method (M832, 0, Serialized)
1007 {
1008 Device (DD0E)
1009 {
1010 Name (DD12, Buffer (0x05)
1011 {
1012 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
1013 })
1014 CreateField (DD12, 0x00, 0x08, BF00)
1015 }
1016 }
1017
1018 Method (M833, 0, Serialized)
1019 {
1020 ThermalZone (TZD3)
1021 {
1022 Name (DD12, Buffer (0x05)
1023 {
1024 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
1025 })
1026 CreateField (DD12, 0x00, 0x08, BF00)
1027 }
1028 }
1029
1030 Method (M834, 0, Serialized)
1031 {
1032 Processor (PRD3, 0x00, 0xFFFFFFFF, 0x00)
1033 {
1034 Name (DD12, Buffer (0x05)
1035 {
1036 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
1037 })
1038 CreateField (DD12, 0x00, 0x08, BF00)
1039 }
1040 }
1041
1042 Method (M835, 0, Serialized)
1043 {
1044 PowerResource (PWD3, 0x01, 0x0000)
1045 {
1046 Name (DD12, Buffer (0x05)
1047 {
1048 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
1049 })
1050 CreateField (DD12, 0x00, 0x08, BF00)
1051 }
1052 }
1053
1054 Method (M836, 0, NotSerialized)
1055 {
1056 Method (M000, 0, Serialized)
1057 {
1058 Name (DD12, Buffer (0x05)
1059 {
1060 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // .....
1061 })
1062 CreateField (DD12, 0x00, 0x08, BF00)
1063 }
1064 }
1065
1066 Method (M831, 0, NotSerialized)
1067 {
1068 CH03 (__METHOD__, 0x00, __LINE__, 0x00, 0x00)
1069 SRMT ("m831-0")
1070 If (0x01)
1071 {
1072 M81E ()
1073 M81F ()
1074 M820 ()
1075 M821 ()
1076 }
1077
1078 CH03 (__METHOD__, 0x00, __LINE__, 0x00, 0x00)
1079 SRMT ("m831-1")
1080 If (0x01)
1081 {
1082 M822 ()
1083 CH03 (__METHOD__, 0x00, __LINE__, 0x00, 0x00)
1084 M823 ()
1085 CH03 (__METHOD__, 0x00, __LINE__, 0x00, 0x00)
1086 M824 ()
1087 CH03 (__METHOD__, 0x00, __LINE__, 0x00, 0x00)
1088 M825 ()
1089 CH03 (__METHOD__, 0x00, __LINE__, 0x00, 0x00)
1090 M826 ()
1091 CH03 (__METHOD__, 0x00, __LINE__, 0x00, 0x00)
1092 }
1093
1094 CH03 (__METHOD__, 0x00, __LINE__, 0x00, 0x00)
1095 SRMT ("m831-2")
1096 If (0x01)
1097 {
1098 M827 ()
1099 M828 ()
1100 M829 ()
1101 M82A ()
1102 M82B ()
1103 }
1104
1105 CH03 (__METHOD__, 0x00, __LINE__, 0x00, 0x00)
1106 SRMT ("m831-3")
1107 If (0x01)
1108 {
1109 M82C ()
1110 M82D ()
1111 M82E ()
1112 M82F ()
1113 M830 ()
1114 }
1115
1116 CH03 (__METHOD__, 0x00, __LINE__, 0x00, 0x00)
1117 SRMT ("m831-4")
1118 If (0x01)
1119 {
1120 M832 ()
1121 M833 ()
1122 M834 ()
1123 M835 ()
1124 M836 ()
1125 }
1126
1127 CH03 (__METHOD__, 0x00, __LINE__, 0x00, 0x00)
1128 }