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 Name (Z114, 0x72) 29 /* Check the type of Object */ 30 /* arg0 - Object */ 31 /* arg1 - expected type */ 32 /* arg2 - absolute index of file initiating the checking */ 33 /* arg3 - the name of Method initiating the checking */ 34 /* arg4 - index of checking (inside the file) */ 35 Method (M1A3, 5, NotSerialized) 36 { 37 Local7 = 0x01 38 Local0 = ObjectType (Arg0) 39 If ((Local0 != Arg1)) 40 { 41 ERR ("m1a3", Z114, __LINE__, Arg2, Arg4, Local0, Arg1) 42 Local7 = 0x00 43 } 44 45 Return (Local7) 46 } 47 48 /* Check that all the data (global) are not corrupted */ 49 50 Method (M1A6, 0, Serialized) 51 { 52 Name (TS, "m1a6") 53 /* Computational Data */ 54 /* Integer */ 55 Local0 = ObjectType (I900) 56 If ((Local0 != C009)) 57 { 58 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local0, C009) 59 } 60 61 If ((I900 != 0xFE7CB391D65A0000)) 62 { 63 ERR (TS, Z114, __LINE__, 0x00, 0x00, I900, 0xFE7CB391D65A0000) 64 } 65 66 Local0 = ObjectType (I901) 67 If ((Local0 != C009)) 68 { 69 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local0, C009) 70 } 71 72 If ((I901 != 0xC1790001)) 73 { 74 ERR (TS, Z114, __LINE__, 0x00, 0x00, I901, 0xC1790001) 75 } 76 77 Local0 = ObjectType (I902) 78 If ((Local0 != C009)) 79 { 80 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local0, C009) 81 } 82 83 If ((I902 != 0x00)) 84 { 85 ERR (TS, Z114, __LINE__, 0x00, 0x00, I902, 0x00) 86 } 87 88 Local0 = ObjectType (I903) 89 If ((Local0 != C009)) 90 { 91 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local0, C009) 92 } 93 94 If ((I903 != 0xFFFFFFFFFFFFFFFF)) 95 { 96 ERR (TS, Z114, __LINE__, 0x00, 0x00, I903, 0xFFFFFFFFFFFFFFFF) 97 } 98 99 Local0 = ObjectType (I904) 100 If ((Local0 != C009)) 101 { 102 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local0, C009) 103 } 104 105 If ((I904 != 0xFFFFFFFF)) 106 { 107 ERR (TS, Z114, __LINE__, 0x00, 0x00, I904, 0xFFFFFFFF) 108 } 109 110 /* String */ 111 112 Local0 = ObjectType (S900) 113 If ((Local0 != C00A)) 114 { 115 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local0, C00A) 116 } 117 118 If ((S900 != "12340002")) 119 { 120 ERR (TS, Z114, __LINE__, 0x00, 0x00, S900, "12340002") 121 } 122 123 Local0 = ObjectType (S901) 124 If ((Local0 != C00A)) 125 { 126 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local0, C00A) 127 } 128 129 If ((S901 != "qwrtyu0003")) 130 { 131 ERR (TS, Z114, __LINE__, 0x00, 0x00, S901, "qwrtyu0003") 132 } 133 134 /* Buffer */ 135 136 Local0 = ObjectType (B900) 137 If ((Local0 != C00B)) 138 { 139 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local0, C00B) 140 } 141 142 If ((B900 != Buffer (0x05) 143 { 144 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // ..... 145 })) 146 { 147 ERR (TS, Z114, __LINE__, 0x00, 0x00, B900, Buffer (0x05) 148 { 149 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // ..... 150 }) 151 } 152 153 /* Buffer Field */ 154 155 Local0 = ObjectType (BF90) 156 If ((Local0 != C016)) 157 { 158 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local0, C016) 159 } 160 161 Local1 = Buffer (0x1) { 0xB0} 162 If (BF90 != Local1) 163 { 164 ERR (TS, Z114, __LINE__, 0x00, 0x00, BF90, Local1) 165 } 166 167 /* One level Package */ 168 169 Store (P900 [0x00], Local0) 170 Local1 = ObjectType (Local0) 171 If ((Local1 != C008)) 172 { 173 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, C008) 174 } 175 176 Store (P901 [0x00], Local0) 177 Local1 = DerefOf (Local0) 178 Local2 = ObjectType (Local1) 179 If ((Local2 != C009)) 180 { 181 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local2, C009) 182 } 183 184 If ((Local1 != 0xABCD0004)) 185 { 186 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, 0xABCD0004) 187 } 188 189 Store (P901 [0x01], Local0) 190 Local1 = DerefOf (Local0) 191 Local2 = ObjectType (Local1) 192 If ((Local2 != C009)) 193 { 194 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local2, C009) 195 } 196 197 If ((Local1 != 0x1122334455660005)) 198 { 199 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, 0x1122334455660005) 200 } 201 202 Store (P902 [0x00], Local0) 203 Local1 = DerefOf (Local0) 204 Local2 = ObjectType (Local1) 205 If ((Local2 != C00A)) 206 { 207 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local2, C00A) 208 } 209 210 If ((Local1 != "12340006")) 211 { 212 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, "12340006") 213 } 214 215 Store (P902 [0x01], Local0) 216 Local1 = DerefOf (Local0) 217 Local2 = ObjectType (Local1) 218 If ((Local2 != C00A)) 219 { 220 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local2, C00A) 221 } 222 223 If ((Local1 != "q1w2e3r4t5y6u7i80007")) 224 { 225 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, "q1w2e3r4t5y6u7i80007") 226 } 227 228 Store (P903 [0x00], Local0) 229 Local1 = DerefOf (Local0) 230 Local2 = ObjectType (Local1) 231 If ((Local2 != C00A)) 232 { 233 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local2, C00A) 234 } 235 236 If ((Local1 != "qwrtyuiop0008")) 237 { 238 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, "qwrtyuiop0008") 239 } 240 241 Store (P903 [0x01], Local0) 242 Local1 = DerefOf (Local0) 243 Local2 = ObjectType (Local1) 244 If ((Local2 != C00A)) 245 { 246 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local2, C00A) 247 } 248 249 If ((Local1 != "1234567890abdef0250009")) 250 { 251 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, "1234567890abdef0250009") 252 } 253 254 Store (P904 [0x00], Local0) 255 Local1 = DerefOf (Local0) 256 Local2 = ObjectType (Local1) 257 If ((Local2 != C00B)) 258 { 259 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local2, C00B) 260 } 261 262 If ((Local1 != Buffer (0x03) 263 { 264 0xB5, 0xB6, 0xB7 // ... 265 })) 266 { 267 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, Buffer (0x03) 268 { 269 0xB5, 0xB6, 0xB7 // ... 270 }) 271 } 272 273 Store (P904 [0x01], Local0) 274 Local1 = DerefOf (Local0) 275 Local2 = ObjectType (Local1) 276 If ((Local2 != C00B)) 277 { 278 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local2, C00B) 279 } 280 281 If ((Local1 != Buffer (0x02) 282 { 283 0xB8, 0xB9 // .. 284 })) 285 { 286 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, Buffer (0x02) 287 { 288 0xB8, 0xB9 // .. 289 }) 290 } 291 292 /* Two level Package */ 293 294 Store (P905 [0x00], Local0) 295 Local1 = DerefOf (Local0) 296 Store (Local1 [0x00], Local2) 297 Local3 = DerefOf (Local2) 298 Local4 = ObjectType (Local3) 299 If ((Local4 != C009)) 300 { 301 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local4, C009) 302 } 303 304 If ((Local3 != 0x0ABC000A)) 305 { 306 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local3, 0x0ABC000A) 307 } 308 309 Store (P905 [0x00], Local0) 310 Local1 = DerefOf (Local0) 311 Store (Local1 [0x01], Local2) 312 Local3 = DerefOf (Local2) 313 Local4 = ObjectType (Local3) 314 If ((Local4 != C00A)) 315 { 316 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local4, C00A) 317 } 318 319 If ((Local3 != "0xabc000b")) 320 { 321 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local3, "0xabc000b") 322 } 323 324 Store (P905 [0x00], Local0) 325 Local1 = DerefOf (Local0) 326 Store (Local1 [0x02], Local2) 327 Local3 = DerefOf (Local2) 328 Local4 = ObjectType (Local3) 329 If ((Local4 != C00A)) 330 { 331 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local4, C00A) 332 } 333 334 If ((Local3 != "abc000c")) 335 { 336 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local3, "abc000c") 337 } 338 339 Store (P906 [0x00], Local0) 340 Local1 = DerefOf (Local0) 341 Store (Local1 [0x00], Local2) 342 Local3 = DerefOf (Local2) 343 Local4 = ObjectType (Local3) 344 If ((Local4 != C00A)) 345 { 346 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local4, C00A) 347 } 348 349 If ((Local3 != "abc000d")) 350 { 351 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local3, "abc000d") 352 } 353 354 Store (P907 [0x00], Local0) 355 Local1 = DerefOf (Local0) 356 Store (Local1 [0x00], Local2) 357 Local3 = DerefOf (Local2) 358 Local4 = ObjectType (Local3) 359 If ((Local4 != C00A)) 360 { 361 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local4, C00A) 362 } 363 364 If ((Local3 != "aqwevbgnm000e")) 365 { 366 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local3, "aqwevbgnm000e") 367 } 368 369 Store (P908 [0x00], Local0) 370 Local1 = DerefOf (Local0) 371 Store (Local1 [0x00], Local2) 372 Local3 = DerefOf (Local2) 373 Local4 = ObjectType (Local3) 374 If ((Local4 != C00B)) 375 { 376 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local4, C00B) 377 } 378 379 If ((Local3 != Buffer (0x05) 380 { 381 0xBA, 0xBB, 0xBC, 0xBD, 0xBE // ..... 382 })) 383 { 384 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local3, Buffer (0x05) 385 { 386 0xBA, 0xBB, 0xBC, 0xBD, 0xBE // ..... 387 }) 388 } 389 390 /* Three level Package */ 391 392 Store (P909 [0x00], Local0) 393 Local1 = DerefOf (Local0) 394 Store (Local1 [0x00], Local2) 395 Local3 = DerefOf (Local2) 396 Store (Local3 [0x00], Local4) 397 Local5 = DerefOf (Local4) 398 Local6 = ObjectType (Local5) 399 If ((Local6 != C009)) 400 { 401 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local6, C009) 402 } 403 404 If ((Local5 != 0x0ABC000F)) 405 { 406 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local5, 0x0ABC000F) 407 } 408 409 Store (P90A [0x00], Local0) 410 Local1 = DerefOf (Local0) 411 Store (Local1 [0x00], Local2) 412 Local3 = DerefOf (Local2) 413 Store (Local3 [0x00], Local4) 414 Local5 = DerefOf (Local4) 415 Local6 = ObjectType (Local5) 416 If ((Local6 != C00A)) 417 { 418 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local6, C00A) 419 } 420 421 If ((Local5 != "12340010")) 422 { 423 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local5, "12340010") 424 } 425 426 Store (P90B [0x00], Local0) 427 Local1 = DerefOf (Local0) 428 Store (Local1 [0x00], Local2) 429 Local3 = DerefOf (Local2) 430 Store (Local3 [0x00], Local4) 431 Local5 = DerefOf (Local4) 432 Local6 = ObjectType (Local5) 433 If ((Local6 != C00A)) 434 { 435 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local6, C00A) 436 } 437 438 If ((Local5 != "zxswefas0011")) 439 { 440 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local5, "zxswefas0011") 441 } 442 443 Store (P90C [0x00], Local0) 444 Local1 = DerefOf (Local0) 445 Store (Local1 [0x00], Local2) 446 Local3 = DerefOf (Local2) 447 Store (Local3 [0x00], Local4) 448 Local5 = DerefOf (Local4) 449 Local6 = ObjectType (Local5) 450 If ((Local6 != C00B)) 451 { 452 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local6, C00B) 453 } 454 455 If ((Local5 != Buffer (0x03) 456 { 457 0xBF, 0xC0, 0xC1 // ... 458 })) 459 { 460 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local5, Buffer (0x03) 461 { 462 0xBF, 0xC0, 0xC1 // ... 463 }) 464 } 465 466 /* Additional Packages */ 467 /* p953 */ 468 Store (P953 [0x00], Local0) 469 Local1 = DerefOf (Local0) 470 Local2 = ObjectType (Local1) 471 If ((Local2 != C009)) 472 { 473 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local2, C009) 474 } 475 476 If ((Local1 != 0xABCD0018)) 477 { 478 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, 0xABCD0018) 479 } 480 481 Store (P953 [0x01], Local0) 482 Local1 = DerefOf (Local0) 483 Local2 = ObjectType (Local1) 484 If ((Local2 != C009)) 485 { 486 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local2, C009) 487 } 488 489 If ((Local1 != 0xABCD0019)) 490 { 491 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, 0xABCD0019) 492 } 493 494 /* p955 */ 495 496 M1AF (P955, 0x01, 0x01, 0x00) 497 /* Not Computational Data */ 498 499 M1AA (TS, E900, C00F, 0x00, 0x013B) 500 M1AA (TS, MX90, C011, 0x00, 0x013C) 501 M1AA (TS, D900, C00E, 0x00, 0x013D) 502 If (Y508) 503 { 504 M1AA (TS, TZ90, C015, 0x00, 0x013E) 505 } 506 507 M1AA (TS, PR90, C014, 0x00, 0x013F) 508 M1AA (TS, R900, C012, 0x00, 0x0140) 509 M1AA (TS, PW90, C013, 0x00, 0x0141) 510 /* Field Unit (Field) */ 511 512 Local0 = ObjectType (F900) 513 If ((Local0 != C00D)) 514 { 515 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local0, C00D) 516 } 517 518 Local0 = ObjectType (F901) 519 If ((Local0 != C00D)) 520 { 521 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local0, C00D) 522 } 523 524 Local0 = ObjectType (F902) 525 If ((Local0 != C00D)) 526 { 527 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local0, C00D) 528 } 529 530 Local0 = ObjectType (F903) 531 If ((Local0 != C00D)) 532 { 533 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local0, C00D) 534 } 535 536 /* Field Unit (IndexField) */ 537 538 Local0 = ObjectType (IF90) 539 If ((Local0 != C00D)) 540 { 541 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local0, C00D) 542 } 543 544 Local0 = ObjectType (IF91) 545 If ((Local0 != C00D)) 546 { 547 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local0, C00D) 548 } 549 550 /* Field Unit (BankField) */ 551 552 Local0 = ObjectType (BN90) 553 If ((Local0 != C00D)) 554 { 555 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local0, C00D) 556 } 557 /* 558 * if (LNotEqual(f900, 0xd7)) { 559 * err(ts, z114, __LINE__, 0, 0, f900, 0xd7) 560 * } 561 * 562 * if (LNotEqual(if90, 0xd7)) { 563 * err(ts, z114, __LINE__, 0, 0, if90, 0xd7) 564 * } 565 */ 566 } 567 568 /* Verifying result */ 569 /* arg0 - test name */ 570 /* arg1 - object */ 571 /* arg2 - expected type of object */ 572 /* arg3 - expected value of object */ 573 /* arg4 - index of checking (inside the file) */ 574 Method (M1AA, 5, NotSerialized) 575 { 576 Local7 = 0x00 577 Local0 = ObjectType (Arg1) 578 If ((Local0 != Arg2)) 579 { 580 ERR (Arg0, Z114, __LINE__, 0x00, Arg4, Local0, Arg2) 581 Local7 = 0x01 582 } 583 ElseIf ((Arg2 < C00C)) 584 { 585 If ((Arg1 != Arg3)) 586 { 587 ERR (Arg0, Z114, __LINE__, 0x00, Arg4, Arg1, Arg3) 588 Local7 = 0x01 589 } 590 } 591 592 Return (Local7) 593 } 594 595 /* Check and restore the global data after writing into them */ 596 597 Method (M1AB, 0, Serialized) 598 { 599 Name (TS, "m1ab") 600 /* Computational Data */ 601 602 M1AA (TS, I900, C009, C08A, 0x0144) 603 M1AA (TS, I901, C009, C08A, 0x0145) 604 M1AA (TS, S900, C009, C08A, 0x0146) 605 M1AA (TS, S901, C009, C08A, 0x0147) 606 M1AA (TS, B900, C009, C08A, 0x0148) 607 /* Package */ 608 609 M1AA (TS, P953, C009, C08A, 0x0149) 610 /* Not Computational Data */ 611 612 M1AA (TS, E900, C009, C08A, 0x014A) 613 M1AA (TS, MX90, C009, C08A, 0x014B) 614 M1AA (TS, D900, C009, C08A, 0x014C) 615 If (Y508) 616 { 617 M1AA (TS, TZ90, C009, C08A, 0x014D) 618 } 619 620 M1AA (TS, PR90, C009, C08A, 0x014E) 621 If (Y510) 622 { 623 M1AA (TS, R900, C009, C08A, 0x014F) 624 } 625 626 M1AA (TS, PW90, C009, C08A, 0x0150) 627 M1AC () 628 M1A6 () 629 } 630 631 /* Restore the global data after writing into them */ 632 633 Method (M1AC, 0, NotSerialized) 634 { 635 /* Computational Data */ 636 637 CopyObject (I9Z0, I900) /* \I900 */ 638 CopyObject (I9Z1, I901) /* \I901 */ 639 CopyObject (S9Z0, S900) /* \S900 */ 640 CopyObject (S9Z1, S901) /* \S901 */ 641 CopyObject (B9Z0, B900) /* \B900 */ 642 /* Package */ 643 644 CopyObject (P954, P953) /* \P953 */ 645 /* Restore p955 Package */ 646 647 M1C6 () 648 /* Not Computational Data */ 649 650 CopyObject (E9Z0, E900) /* \E900 */ 651 CopyObject (MX91, MX90) /* \MX90 */ 652 CopyObject (D9Z0, D900) /* \D900 */ 653 If (Y508) 654 { 655 CopyObject (TZ91, TZ90) /* \TZ90 */ 656 } 657 658 CopyObject (PR91, PR90) /* \PR90 */ 659 If (Y510) 660 { 661 CopyObject (R9Z0, R900) /* \R900 */ 662 } 663 664 CopyObject (PW91, PW90) /* \PW90 */ 665 } 666 667 /* Verify p955-like Package */ 668 /* arg0 - Package */ 669 /* arg1 - check for non-computational data */ 670 /* arg2 - check Field Unit and Buffer Field */ 671 /* arg3 - elements of Package are RefOf_References */ 672 Method (M1AF, 4, Serialized) 673 { 674 Name (TS, "m1af") 675 Store (Arg0 [0x00], Local0) 676 Local1 = ObjectType (Local0) 677 If ((Local1 != C009)) 678 { 679 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, C009) 680 } 681 Else 682 { 683 Local1 = DerefOf (Local0) 684 If ((Local1 != 0x00)) 685 { 686 ERR (TS, Z113, __LINE__, 0x00, 0x00, Local1, 0x00) 687 } 688 } 689 690 Store (Arg0 [0x01], Local0) 691 Local1 = ObjectType (Local0) 692 If ((Local1 != C009)) 693 { 694 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, C009) 695 } 696 Else 697 { 698 Local1 = DerefOf (Local0) 699 If (Arg3) 700 { 701 Local2 = DerefOf (Local1) 702 Local1 = Local2 703 } 704 705 If ((Local1 != 0xFE7CB391D65A0000)) 706 { 707 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, 0xFE7CB391D65A0000) 708 } 709 } 710 711 Store (Arg0 [0x02], Local0) 712 Local1 = ObjectType (Local0) 713 If ((Local1 != C00A)) 714 { 715 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, C00A) 716 } 717 Else 718 { 719 Local1 = DerefOf (Local0) 720 If (Arg3) 721 { 722 Local2 = DerefOf (Local1) 723 Local1 = Local2 724 } 725 726 If ((Local1 != "12340002")) 727 { 728 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, "12340002") 729 } 730 } 731 732 Store (Arg0 [0x03], Local0) 733 Local1 = ObjectType (Local0) 734 If ((Local1 != C00B)) 735 { 736 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, C00A) 737 } 738 Else 739 { 740 Local1 = DerefOf (Local0) 741 If (Arg3) 742 { 743 Local2 = DerefOf (Local1) 744 Local1 = Local2 745 } 746 747 If ((Local1 != Buffer (0x05) 748 { 749 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // ..... 750 })) 751 { 752 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, Buffer (0x05) 753 { 754 0xB0, 0xB1, 0xB2, 0xB3, 0xB4 // ..... 755 }) 756 } 757 } 758 759 Store (Arg0 [0x04], Local0) 760 M1AA (TS, Local0, C00C, 0x00, 0x013F) 761 /* 5th element is a region field, which will be resolved to an integer */ 762 763 If (Arg2) 764 { 765 Store (Arg0 [0x05], Local0) 766 Local1 = ObjectType (Local0) 767 Local7 = DerefOf (Local0) 768 If (Arg3) 769 { 770 If ((Local1 != C00D)) 771 { 772 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, C00D) 773 } 774 Else 775 { 776 Local6 = DerefOf (Local7) 777 Local7 = Local6 778 } 779 } 780 781 Local5 = ObjectType (Local7) 782 If ((Local5 != C009)) 783 { 784 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local5, C009) 785 } 786 ElseIf ((Local7 != 0x00)) 787 { 788 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local7, 0x00) 789 } 790 } 791 792 If (Arg1) 793 { 794 Store (Arg0 [0x06], Local0) 795 M1AA (TS, Local0, C00E, 0x00, 0x013F) 796 Store (Arg0 [0x07], Local0) 797 M1AA (TS, Local0, C00F, 0x00, 0x013F) 798 Store (Arg0 [0x08], Local0) 799 M1AA (TS, Local0, C010, 0x00, 0x013F) 800 Store (Arg0 [0x09], Local0) 801 M1AA (TS, Local0, C011, 0x00, 0x013F) 802 Store (Arg0 [0x0A], Local0) 803 M1AA (TS, Local0, C012, 0x00, 0x013F) 804 Store (Arg0 [0x0B], Local0) 805 M1AA (TS, Local0, C013, 0x00, 0x013F) 806 Store (Arg0 [0x0C], Local0) 807 M1AA (TS, Local0, C014, 0x00, 0x013F) 808 Store (Arg0 [0x0D], Local0) 809 M1AA (TS, Local0, C015, 0x00, 0x013F) 810 } 811 812 /* 14th element is a buffer field created by CreateField, which will be resolved to a buffer */ 813 814 If (Arg2) 815 { 816 Store (Arg0 [0x0E], Local0) 817 Local1 = ObjectType (Local0) 818 Local7 = DerefOf (Local0) 819 If (Arg3) 820 { 821 If ((Local1 != C016)) 822 { 823 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, C016) 824 } 825 Else 826 { 827 Local6 = DerefOf (Local7) 828 Local7 = Local6 829 } 830 } 831 832 Local5 = ObjectType (Local7) 833 If ((Local5 != C00B)) 834 { 835 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local5, C00B) 836 } 837 ElseIf ((Local7 != Buffer(){0xB0})) 838 { 839 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local7, Buffer(){0xB0}) 840 } 841 } 842 843 Store (Arg0 [0x0F], Local0) 844 Local1 = ObjectType (Local0) 845 If ((Local1 != C009)) 846 { 847 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, C009) 848 } 849 Else 850 { 851 Local1 = DerefOf (Local0) 852 If ((Local1 != 0x0F)) 853 { 854 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, 0x0F) 855 } 856 } 857 858 Store (Arg0 [0x10], Local0) 859 Local1 = ObjectType (Local0) 860 If ((Local1 != C009)) 861 { 862 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, C009) 863 } 864 Else 865 { 866 Local1 = DerefOf (Local0) 867 If ((Local1 != 0x10)) 868 { 869 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, 0x10) 870 } 871 } 872 873 Store (Arg0 [0x11], Local0) 874 Local1 = ObjectType (Local0) 875 If ((Local1 != C008)) 876 { 877 ERR (TS, Z114, __LINE__, 0x00, 0x00, Local1, C008) 878 } 879 880 /* Evaluation of Method m936 takes place */ 881 882 If ((I905 != 0xABCD001A)) 883 { 884 ERR (TS, Z114, __LINE__, 0x00, 0x00, I905, 0xABCD001A) 885 } 886 } 887 888 /* Restore p955 Package */ 889 890 Method (M1C6, 0, NotSerialized) 891 { 892 CopyObject (P956, P955) /* \P955 */ 893 I905 = I9Z5 /* \I9Z5 */ 894 } 895