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     * All the Packages are declared globally (statically)
30     */
31    Name (P500, Package (0x0100)
32    {
33        /* 0-127 */
34
35        0x00,
36        0x01,
37        0x02,
38        0x03,
39        0x04,
40        0x05,
41        0x06,
42        0x07,
43        0x08,
44        0x09,
45        0x0A,
46        0x0B,
47        0x0C,
48        0x0D,
49        0x0E,
50        0x0F,
51        0x10,
52        0x11,
53        0x12,
54        0x13,
55        0x14,
56        0x15,
57        0x16,
58        0x17,
59        0x18,
60        0x19,
61        0x1A,
62        0x1B,
63        0x1C,
64        0x1D,
65        0x1E,
66        0x1F,
67        0x20,
68        0x21,
69        0x22,
70        0x23,
71        0x24,
72        0x25,
73        0x26,
74        0x27,
75        0x28,
76        0x29,
77        0x2A,
78        0x2B,
79        0x2C,
80        0x2D,
81        0x2E,
82        0x2F,
83        0x30,
84        0x31,
85        0x32,
86        0x33,
87        0x34,
88        0x35,
89        0x36,
90        0x37,
91        0x38,
92        0x39,
93        0x3A,
94        0x3B,
95        0x3C,
96        0x3D,
97        0x3E,
98        0x3F,
99        0x40,
100        0x41,
101        0x42,
102        0x43,
103        0x44,
104        0x45,
105        0x46,
106        0x47,
107        0x48,
108        0x49,
109        0x4A,
110        0x4B,
111        0x4C,
112        0x4D,
113        0x4E,
114        0x4F,
115        0x50,
116        0x51,
117        0x52,
118        0x53,
119        0x54,
120        0x55,
121        0x56,
122        0x57,
123        0x58,
124        0x59,
125        0x5A,
126        0x5B,
127        0x5C,
128        0x5D,
129        0x5E,
130        0x5F,
131        0x60,
132        0x61,
133        0x62,
134        0x63,
135        0x64,
136        0x65,
137        0x66,
138        0x67,
139        0x68,
140        0x69,
141        0x6A,
142        0x6B,
143        0x6C,
144        0x6D,
145        0x6E,
146        0x6F,
147        0x70,
148        0x71,
149        0x72,
150        0x73,
151        0x74,
152        0x75,
153        0x76,
154        0x77,
155        0x78,
156        0x79,
157        0x7A,
158        0x7B,
159        0x7C,
160        0x7D,
161        0x7E,
162        0x7F,
163        /* 128-(255-8) */
164
165        0x80,
166        0x81,
167        0x82,
168        0x83,
169        0x84,
170        0x85,
171        0x86,
172        0x87,
173        0x88,
174        0x89,
175        0x8A,
176        0x8B,
177        0x8C,
178        0x8D,
179        0x8E,
180        0x8F,
181        0x90,
182        0x91,
183        0x92,
184        0x93,
185        0x94,
186        0x95,
187        0x96,
188        0x97,
189        0x98,
190        0x99,
191        0x9A,
192        0x9B,
193        0x9C,
194        0x9D,
195        0x9E,
196        0x9F,
197        0xA0,
198        0xA1,
199        0xA2,
200        0xA3,
201        0xA4,
202        0xA5,
203        0xA6,
204        0xA7,
205        0xA8,
206        0xA9,
207        0xAA,
208        0xAB,
209        0xAC,
210        0xAD,
211        0xAE,
212        0xAF,
213        0xB0,
214        0xB1,
215        0xB2,
216        0xB3,
217        0xB4,
218        0xB5,
219        0xB6,
220        0xB7,
221        0xB8,
222        0xB9,
223        0xBA,
224        0xBB,
225        0xBC,
226        0xBD,
227        0xBE,
228        0xBF,
229        0xC0,
230        0xC1,
231        0xC2,
232        0xC3,
233        0xC4,
234        0xC5,
235        0xC6,
236        0xC7,
237        0xC8,
238        0xC9,
239        0xCA,
240        0xCB,
241        0xCC,
242        0xCD,
243        0xCE,
244        0xCF,
245        0xD0,
246        0xD1,
247        0xD2,
248        0xD3,
249        0xD4,
250        0xD5,
251        0xD6,
252        0xD7,
253        0xD8,
254        0xD9,
255        0xDA,
256        0xDB,
257        0xDC,
258        0xDD,
259        0xDE,
260        0xDF,
261        0xE0,
262        0xE1,
263        0xE2,
264        0xE3,
265        0xE4,
266        0xE5,
267        0xE6,
268        0xE7,
269        0xE8,
270        0xE9,
271        0xEA,
272        0xEB,
273        0xEC,
274        0xED,
275        0xEE,
276        0xEF,
277        0xF0,
278        0xF1,
279        0xF2,
280        0xF3,
281        0xF4,
282        0xF5,
283        0xF6,
284        0xF7
285    })
286    Name (P501, Package (0x0100)
287    {
288        /* 0-127 */
289
290        0x00,
291        0x01,
292        0x02,
293        0x03,
294        0x04,
295        0x05,
296        0x06,
297        0x07,
298        0x08,
299        0x09,
300        0x0A,
301        0x0B,
302        0x0C,
303        0x0D,
304        0x0E,
305        0x0F,
306        0x10,
307        0x11,
308        0x12,
309        0x13,
310        0x14,
311        0x15,
312        0x16,
313        0x17,
314        0x18,
315        0x19,
316        0x1A,
317        0x1B,
318        0x1C,
319        0x1D,
320        0x1E,
321        0x1F,
322        0x20,
323        0x21,
324        0x22,
325        0x23,
326        0x24,
327        0x25,
328        0x26,
329        0x27,
330        0x28,
331        0x29,
332        0x2A,
333        0x2B,
334        0x2C,
335        0x2D,
336        0x2E,
337        0x2F,
338        0x30,
339        0x31,
340        0x32,
341        0x33,
342        0x34,
343        0x35,
344        0x36,
345        0x37,
346        0x38,
347        0x39,
348        0x3A,
349        0x3B,
350        0x3C,
351        0x3D,
352        0x3E,
353        0x3F,
354        0x40,
355        0x41,
356        0x42,
357        0x43,
358        0x44,
359        0x45,
360        0x46,
361        0x47,
362        0x48,
363        0x49,
364        0x4A,
365        0x4B,
366        0x4C,
367        0x4D,
368        0x4E,
369        0x4F,
370        0x50,
371        0x51,
372        0x52,
373        0x53,
374        0x54,
375        0x55,
376        0x56,
377        0x57,
378        0x58,
379        0x59,
380        0x5A,
381        0x5B,
382        0x5C,
383        0x5D,
384        0x5E,
385        0x5F,
386        0x60,
387        0x61,
388        0x62,
389        0x63,
390        0x64,
391        0x65,
392        0x66,
393        0x67,
394        0x68,
395        0x69,
396        0x6A,
397        0x6B,
398        0x6C,
399        0x6D,
400        0x6E,
401        0x6F,
402        0x70,
403        0x71,
404        0x72,
405        0x73,
406        0x74,
407        0x75,
408        0x76,
409        0x77,
410        0x78,
411        0x79,
412        0x7A,
413        0x7B,
414        0x7C,
415        0x7D,
416        0x7E,
417        0x7F,
418        /* 128-255 */
419
420        0x80,
421        0x81,
422        0x82,
423        0x83,
424        0x84,
425        0x85,
426        0x86,
427        0x87,
428        0x88,
429        0x89,
430        0x8A,
431        0x8B,
432        0x8C,
433        0x8D,
434        0x8E,
435        0x8F,
436        0x90,
437        0x91,
438        0x92,
439        0x93,
440        0x94,
441        0x95,
442        0x96,
443        0x97,
444        0x98,
445        0x99,
446        0x9A,
447        0x9B,
448        0x9C,
449        0x9D,
450        0x9E,
451        0x9F,
452        0xA0,
453        0xA1,
454        0xA2,
455        0xA3,
456        0xA4,
457        0xA5,
458        0xA6,
459        0xA7,
460        0xA8,
461        0xA9,
462        0xAA,
463        0xAB,
464        0xAC,
465        0xAD,
466        0xAE,
467        0xAF,
468        0xB0,
469        0xB1,
470        0xB2,
471        0xB3,
472        0xB4,
473        0xB5,
474        0xB6,
475        0xB7,
476        0xB8,
477        0xB9,
478        0xBA,
479        0xBB,
480        0xBC,
481        0xBD,
482        0xBE,
483        0xBF,
484        0xC0,
485        0xC1,
486        0xC2,
487        0xC3,
488        0xC4,
489        0xC5,
490        0xC6,
491        0xC7,
492        0xC8,
493        0xC9,
494        0xCA,
495        0xCB,
496        0xCC,
497        0xCD,
498        0xCE,
499        0xCF,
500        0xD0,
501        0xD1,
502        0xD2,
503        0xD3,
504        0xD4,
505        0xD5,
506        0xD6,
507        0xD7,
508        0xD8,
509        0xD9,
510        0xDA,
511        0xDB,
512        0xDC,
513        0xDD,
514        0xDE,
515        0xDF,
516        0xE0,
517        0xE1,
518        0xE2,
519        0xE3,
520        0xE4,
521        0xE5,
522        0xE6,
523        0xE7,
524        0xE8,
525        0xE9,
526        0xEA,
527        0xEB,
528        0xEC,
529        0xED,
530        0xEE,
531        0xEF,
532        0xF0,
533        0xF1,
534        0xF2,
535        0xF3,
536        0xF4,
537        0xF5,
538        0xF6,
539        0xF7,
540        0xF8,
541        0xF9,
542        0xFA,
543        0xFB,
544        0xFC,
545        0xFD,
546        0xFE,
547        0xFF
548    })
549    Name (P502, Package (0x09)
550    {
551        /* 0-8 */
552
553        0x00,
554        0x01,
555        0x02,
556        0x03,
557        0x04,
558        0x05,
559        0x06,
560        0x07,
561        0x08
562    })
563    Name (P503, Package (0x0B)
564    {
565        /* 0-10 */
566
567        0x00,
568        0x01,
569        0x02,
570        0x03,
571        0x04,
572        0x05,
573        0x06,
574        0x07,
575        0x08
576    })
577    Name (P504, Package (0x00010000){})
578    Name (I500, 0x00)
579    Name (I501, 0xFF)
580    Name (P505, Package ((0x63 + 0x01)){})
581    Name (P506, Package (I500 = I501 /* \I501 */){})
582    Method (MD6C, 0, NotSerialized)
583    {
584        MD6A (P500, 0x0100, (0x0100 - 0x08), (0x0100 - 0x07), 0x06,
585            0x0A, 0x0A)                /* maximal number of written elements to be verified */
586        MD6A (P501, 0x0100, 0x0100, 0x00, 0x00, 0x0A, 0x0A)                /* maximal number of written elements to be verified */
587        MD6A (P501, 0x0100, 0x0100, 0x00, 0x10, 0x0A, 0x0A)                /* maximal number of written elements to be verified */
588        MD6A (P502, 0x09, 0x09, 0x02, 0x05, 0x0A, 0x0A)                /* maximal number of written elements to be verified */
589        MD6A (P503, 0x0B, 0x09, 0x02, 0x05, 0x0A, 0x0A)                /* maximal number of written elements to be verified */
590        MD6A (P504, 0x00010000, 0x00, 0x9345, 0x39, 0x0A, 0x0A)                /* maximal number of written elements to be verified */
591        MD6A (P505, 0x64, 0x00, 0x49, 0x13, 0x0A, 0x0A)                /* maximal number of written elements to be verified */
592        MD6A (P506, 0xFF, 0x00, 0x11, 0x13, 0x0A, 0x0A)                /* maximal number of written elements to be verified */
593    }
594