1uint32_t gm107_grhub_data[] = { 2/* 0x0000: hub_mmio_list_head */ 3 0x00000300, 4/* 0x0004: hub_mmio_list_tail */ 5 0x00000304, 6/* 0x0008: gpc_count */ 7 0x00000000, 8/* 0x000c: rop_count */ 9 0x00000000, 10/* 0x0010: cmd_queue */ 11 0x00000000, 12 0x00000000, 13 0x00000000, 14 0x00000000, 15 0x00000000, 16 0x00000000, 17 0x00000000, 18 0x00000000, 19 0x00000000, 20 0x00000000, 21 0x00000000, 22 0x00000000, 23 0x00000000, 24 0x00000000, 25 0x00000000, 26 0x00000000, 27 0x00000000, 28 0x00000000, 29/* 0x0058: ctx_current */ 30 0x00000000, 31 0x00000000, 32 0x00000000, 33 0x00000000, 34 0x00000000, 35 0x00000000, 36 0x00000000, 37 0x00000000, 38 0x00000000, 39 0x00000000, 40 0x00000000, 41 0x00000000, 42 0x00000000, 43 0x00000000, 44 0x00000000, 45 0x00000000, 46 0x00000000, 47 0x00000000, 48 0x00000000, 49 0x00000000, 50 0x00000000, 51 0x00000000, 52 0x00000000, 53 0x00000000, 54 0x00000000, 55 0x00000000, 56 0x00000000, 57 0x00000000, 58 0x00000000, 59 0x00000000, 60 0x00000000, 61 0x00000000, 62 0x00000000, 63 0x00000000, 64 0x00000000, 65 0x00000000, 66 0x00000000, 67 0x00000000, 68 0x00000000, 69 0x00000000, 70 0x00000000, 71 0x00000000, 72/* 0x0100: chan_data */ 73/* 0x0100: chan_mmio_count */ 74 0x00000000, 75/* 0x0104: chan_mmio_address */ 76 0x00000000, 77 0x00000000, 78 0x00000000, 79 0x00000000, 80 0x00000000, 81 0x00000000, 82 0x00000000, 83 0x00000000, 84 0x00000000, 85 0x00000000, 86 0x00000000, 87 0x00000000, 88 0x00000000, 89 0x00000000, 90 0x00000000, 91 0x00000000, 92 0x00000000, 93 0x00000000, 94 0x00000000, 95 0x00000000, 96 0x00000000, 97 0x00000000, 98 0x00000000, 99 0x00000000, 100 0x00000000, 101 0x00000000, 102 0x00000000, 103 0x00000000, 104 0x00000000, 105 0x00000000, 106 0x00000000, 107 0x00000000, 108 0x00000000, 109 0x00000000, 110 0x00000000, 111 0x00000000, 112 0x00000000, 113 0x00000000, 114 0x00000000, 115 0x00000000, 116 0x00000000, 117 0x00000000, 118 0x00000000, 119 0x00000000, 120 0x00000000, 121 0x00000000, 122 0x00000000, 123 0x00000000, 124 0x00000000, 125 0x00000000, 126 0x00000000, 127 0x00000000, 128 0x00000000, 129 0x00000000, 130 0x00000000, 131 0x00000000, 132 0x00000000, 133 0x00000000, 134 0x00000000, 135 0x00000000, 136 0x00000000, 137 0x00000000, 138 0x00000000, 139/* 0x0200: xfer_data */ 140 0x00000000, 141 0x00000000, 142 0x00000000, 143 0x00000000, 144 0x00000000, 145 0x00000000, 146 0x00000000, 147 0x00000000, 148 0x00000000, 149 0x00000000, 150 0x00000000, 151 0x00000000, 152 0x00000000, 153 0x00000000, 154 0x00000000, 155 0x00000000, 156 0x00000000, 157 0x00000000, 158 0x00000000, 159 0x00000000, 160 0x00000000, 161 0x00000000, 162 0x00000000, 163 0x00000000, 164 0x00000000, 165 0x00000000, 166 0x00000000, 167 0x00000000, 168 0x00000000, 169 0x00000000, 170 0x00000000, 171 0x00000000, 172 0x00000000, 173 0x00000000, 174 0x00000000, 175 0x00000000, 176 0x00000000, 177 0x00000000, 178 0x00000000, 179 0x00000000, 180 0x00000000, 181 0x00000000, 182 0x00000000, 183 0x00000000, 184 0x00000000, 185 0x00000000, 186 0x00000000, 187 0x00000000, 188 0x00000000, 189 0x00000000, 190 0x00000000, 191 0x00000000, 192 0x00000000, 193 0x00000000, 194 0x00000000, 195 0x00000000, 196 0x00000000, 197 0x00000000, 198 0x00000000, 199 0x00000000, 200 0x00000000, 201 0x00000000, 202 0x00000000, 203 0x00000000, 204/* 0x0300: hub_mmio_list_base */ 205 0x0417e91c, 206}; 207 208uint32_t gm107_grhub_code[] = { 209 0x030e0ef5, 210/* 0x0004: queue_put */ 211 0x9800d898, 212 0x86f001d9, 213 0xf489a408, 214 0x020f0b1b, 215 0x0002f87e, 216/* 0x001a: queue_put_next */ 217 0x98c400f8, 218 0x0384b607, 219 0xb6008dbb, 220 0x8eb50880, 221 0x018fb500, 222 0xf00190b6, 223 0xd9b50f94, 224/* 0x0037: queue_get */ 225 0xf400f801, 226 0xd8980131, 227 0x01d99800, 228 0x0bf489a4, 229 0x0789c421, 230 0xbb0394b6, 231 0x90b6009d, 232 0x009e9808, 233 0xb6019f98, 234 0x84f00180, 235 0x00d8b50f, 236/* 0x0063: queue_get_done */ 237 0xf80132f4, 238/* 0x0065: nv_rd32 */ 239 0xf0ecb200, 240 0x00801fc9, 241 0x0cf601ca, 242/* 0x0073: nv_rd32_wait */ 243 0x8c04bd00, 244 0xcf01ca00, 245 0xccc800cc, 246 0xf61bf41f, 247 0xec7e060a, 248 0x008f0000, 249 0xffcf01cb, 250/* 0x008f: nv_wr32 */ 251 0x8000f800, 252 0xf601cc00, 253 0x04bd000f, 254 0xc9f0ecb2, 255 0x1ec9f01f, 256 0x01ca0080, 257 0xbd000cf6, 258/* 0x00a9: nv_wr32_wait */ 259 0xca008c04, 260 0x00cccf01, 261 0xf41fccc8, 262 0x00f8f61b, 263/* 0x00b8: wait_donez */ 264 0x99f094bd, 265 0x37008000, 266 0x0009f602, 267 0x008004bd, 268 0x0af60206, 269/* 0x00cf: wait_donez_ne */ 270 0x8804bd00, 271 0xcf010000, 272 0x8aff0088, 273 0xf61bf488, 274 0x99f094bd, 275 0x17008000, 276 0x0009f602, 277 0x00f804bd, 278/* 0x00ec: wait_doneo */ 279 0x99f094bd, 280 0x37008000, 281 0x0009f602, 282 0x008004bd, 283 0x0af60206, 284/* 0x0103: wait_doneo_e */ 285 0x8804bd00, 286 0xcf010000, 287 0x8aff0088, 288 0xf60bf488, 289 0x99f094bd, 290 0x17008000, 291 0x0009f602, 292 0x00f804bd, 293/* 0x0120: mmctx_size */ 294/* 0x0122: nv_mmctx_size_loop */ 295 0xe89894bd, 296 0x1a85b600, 297 0xb60180b6, 298 0x98bb0284, 299 0x04e0b600, 300 0x1bf4efa4, 301 0xf89fb2ec, 302/* 0x013d: mmctx_xfer */ 303 0xf094bd00, 304 0x00800199, 305 0x09f60237, 306 0xbd04bd00, 307 0x05bbfd94, 308 0x800f0bf4, 309 0xf601c400, 310 0x04bd000b, 311/* 0x015f: mmctx_base_disabled */ 312 0xfd0099f0, 313 0x0bf405ee, 314 0xc6008018, 315 0x000ef601, 316 0x008004bd, 317 0x0ff601c7, 318 0xf004bd00, 319/* 0x017a: mmctx_multi_disabled */ 320 0xabc80199, 321 0x10b4b600, 322 0xc80cb9f0, 323 0xe4b601ae, 324 0x05befd11, 325 0x01c50080, 326 0xbd000bf6, 327/* 0x0195: mmctx_exec_loop */ 328/* 0x0195: mmctx_wait_free */ 329 0xc5008e04, 330 0x00eecf01, 331 0xf41fe4f0, 332 0xce98f60b, 333 0x05e9fd00, 334 0x01c80080, 335 0xbd000ef6, 336 0x04c0b604, 337 0x1bf4cda4, 338 0x02abc8df, 339/* 0x01bf: mmctx_fini_wait */ 340 0x8b1c1bf4, 341 0xcf01c500, 342 0xb4f000bb, 343 0x10b4b01f, 344 0x0af31bf4, 345 0x00b87e05, 346 0x250ef400, 347/* 0x01d8: mmctx_stop */ 348 0xb600abc8, 349 0xb9f010b4, 350 0x12b9f00c, 351 0x01c50080, 352 0xbd000bf6, 353/* 0x01ed: mmctx_stop_wait */ 354 0xc5008b04, 355 0x00bbcf01, 356 0xf412bbc8, 357/* 0x01fa: mmctx_done */ 358 0x94bdf61b, 359 0x800199f0, 360 0xf6021700, 361 0x04bd0009, 362/* 0x020a: strand_wait */ 363 0xa0f900f8, 364 0xb87e020a, 365 0xa0fc0000, 366/* 0x0216: strand_pre */ 367 0x0c0900f8, 368 0x024afc80, 369 0xbd0009f6, 370 0x020a7e04, 371/* 0x0227: strand_post */ 372 0x0900f800, 373 0x4afc800d, 374 0x0009f602, 375 0x0a7e04bd, 376 0x00f80002, 377/* 0x0238: strand_set */ 378 0xfc800f0c, 379 0x0cf6024f, 380 0x0c04bd00, 381 0x4afc800b, 382 0x000cf602, 383 0xfc8004bd, 384 0x0ef6024f, 385 0x0c04bd00, 386 0x4afc800a, 387 0x000cf602, 388 0x0a7e04bd, 389 0x00f80002, 390/* 0x0268: strand_ctx_init */ 391 0x99f094bd, 392 0x37008003, 393 0x0009f602, 394 0x167e04bd, 395 0x030e0002, 396 0x0002387e, 397 0xfc80c4bd, 398 0x0cf60247, 399 0x0c04bd00, 400 0x4afc8001, 401 0x000cf602, 402 0x0a7e04bd, 403 0x0c920002, 404 0x46fc8001, 405 0x000cf602, 406 0x020c04bd, 407 0x024afc80, 408 0xbd000cf6, 409 0x020a7e04, 410 0x02277e00, 411 0x42008800, 412 0x20008902, 413 0x0099cf02, 414/* 0x02c7: ctx_init_strand_loop */ 415 0xf608fe95, 416 0x8ef6008e, 417 0x808acf40, 418 0xb606a5b6, 419 0xeabb01a0, 420 0x0480b600, 421 0xf40192b6, 422 0xe4b6e81b, 423 0xf2efbc08, 424 0x99f094bd, 425 0x17008003, 426 0x0009f602, 427 0x00f804bd, 428/* 0x02f8: error */ 429 0x02050080, 430 0xbd000ff6, 431 0x80010f04, 432 0xf6030700, 433 0x04bd000f, 434/* 0x030e: init */ 435 0x04bd00f8, 436 0x410007fe, 437 0x11cf4200, 438 0x0911e700, 439 0x0814b601, 440 0x020014fe, 441 0x12004002, 442 0xbd0002f6, 443 0x05c94104, 444 0xbd0010fe, 445 0x07004024, 446 0xbd0002f6, 447 0x20034204, 448 0x01010080, 449 0xbd0002f6, 450 0x20044204, 451 0x01010480, 452 0xbd0002f6, 453 0x200b4204, 454 0x01010880, 455 0xbd0002f6, 456 0x200c4204, 457 0x01011c80, 458 0xbd0002f6, 459 0x01039204, 460 0x03090080, 461 0xbd0003f6, 462 0x87044204, 463 0xf6040040, 464 0x04bd0002, 465 0x00400402, 466 0x0002f603, 467 0x31f404bd, 468 0x96048e10, 469 0x00657e40, 470 0xc7feb200, 471 0x01b590f1, 472 0x1ff4f003, 473 0x01020fb5, 474 0x041fbb01, 475 0x800112b6, 476 0xf6010300, 477 0x04bd0001, 478 0x01040080, 479 0xbd0001f6, 480 0x01004104, 481 0xa87e020f, 482 0xb77e0006, 483 0x100f0006, 484 0x0006f97e, 485 0x98000e98, 486 0x207e010f, 487 0x14950001, 488 0xc0008008, 489 0x0004f601, 490 0x008004bd, 491 0x04f601c1, 492 0xb704bd00, 493 0xbb130030, 494 0xf5b6001f, 495 0xd3008002, 496 0x000ff601, 497 0x15b604bd, 498 0x0110b608, 499 0xb20814b6, 500 0x02687e1f, 501 0x001fbb00, 502 0x84020398, 503/* 0x041f: init_gpc */ 504 0xb8502000, 505 0x0008044e, 506 0x8f7e1fb2, 507 0x4eb80000, 508 0xbd00010c, 509 0x008f7ef4, 510 0x044eb800, 511 0x8f7e0001, 512 0x4eb80000, 513 0x0f000100, 514 0x008f7e02, 515 0x004eb800, 516/* 0x044e: init_gpc_wait */ 517 0x657e0008, 518 0xffc80000, 519 0xf90bf41f, 520 0x08044eb8, 521 0x00657e00, 522 0x001fbb00, 523 0x800040b7, 524 0xf40132b6, 525 0x000fb41b, 526 0x0006f97e, 527 0xa87e000f, 528 0x00800006, 529 0x01f60201, 530 0xbd04bd00, 531 0x1f19f014, 532 0x02300080, 533 0xbd0001f6, 534/* 0x0491: main */ 535 0x0031f404, 536 0x0d0028f4, 537 0x00377e10, 538 0xf401f400, 539 0x4001e4b1, 540 0x00c71bf5, 541 0x99f094bd, 542 0x37008004, 543 0x0009f602, 544 0x008104bd, 545 0x11cf02c0, 546 0xc1008200, 547 0x0022cf02, 548 0xf41f13c8, 549 0x23c8770b, 550 0x550bf41f, 551 0x12b220f9, 552 0x99f094bd, 553 0x37008007, 554 0x0009f602, 555 0x32f404bd, 556 0x0231f401, 557 0x00087c7e, 558 0x99f094bd, 559 0x17008007, 560 0x0009f602, 561 0x20fc04bd, 562 0x99f094bd, 563 0x37008006, 564 0x0009f602, 565 0x31f404bd, 566 0x087c7e01, 567 0xf094bd00, 568 0x00800699, 569 0x09f60217, 570 0xf404bd00, 571/* 0x0522: chsw_prev_no_next */ 572 0x20f92f0e, 573 0x32f412b2, 574 0x0232f401, 575 0x00087c7e, 576 0x008020fc, 577 0x02f602c0, 578 0xf404bd00, 579/* 0x053e: chsw_no_prev */ 580 0x23c8130e, 581 0x0d0bf41f, 582 0xf40131f4, 583 0x7c7e0232, 584/* 0x054e: chsw_done */ 585 0x01020008, 586 0x02c30080, 587 0xbd0002f6, 588 0xf094bd04, 589 0x00800499, 590 0x09f60217, 591 0xf504bd00, 592/* 0x056b: main_not_ctx_switch */ 593 0xb0ff2a0e, 594 0x1bf401e4, 595 0x7ef2b20c, 596 0xf400081c, 597/* 0x057a: main_not_ctx_chan */ 598 0xe4b0400e, 599 0x2c1bf402, 600 0x99f094bd, 601 0x37008007, 602 0x0009f602, 603 0x32f404bd, 604 0x0232f401, 605 0x00087c7e, 606 0x99f094bd, 607 0x17008007, 608 0x0009f602, 609 0x0ef404bd, 610/* 0x05a9: main_not_ctx_save */ 611 0x10ef9411, 612 0x7e01f5f0, 613 0xf50002f8, 614/* 0x05b7: main_done */ 615 0xbdfede0e, 616 0x1f29f024, 617 0x02300080, 618 0xbd0002f6, 619 0xcc0ef504, 620/* 0x05c9: ih */ 621 0xfe80f9fe, 622 0x80f90188, 623 0xa0f990f9, 624 0xd0f9b0f9, 625 0xf0f9e0f9, 626 0x004a04bd, 627 0x00aacf02, 628 0xf404abc4, 629 0x100d230b, 630 0xcf1a004e, 631 0x004f00ee, 632 0x00ffcf19, 633 0x0000047e, 634 0x0400b0b7, 635 0x0040010e, 636 0x000ef61d, 637/* 0x060a: ih_no_fifo */ 638 0xabe404bd, 639 0x0bf40100, 640 0x4e100d0c, 641 0x047e4001, 642/* 0x061a: ih_no_ctxsw */ 643 0xabe40000, 644 0x0bf40400, 645 0x07088e56, 646 0x00657e40, 647 0x80ffb200, 648 0xf6020400, 649 0x04bd000f, 650 0x4007048e, 651 0x0000657e, 652 0x0080ffb2, 653 0x0ff60203, 654 0xc704bd00, 655 0xee9450fe, 656 0x07008f02, 657 0x00efbb40, 658 0x0000657e, 659 0x02020080, 660 0xbd000ff6, 661 0x7e030f04, 662 0x4b0002f8, 663 0xbfb20100, 664 0x4001448e, 665 0x00008f7e, 666/* 0x0674: ih_no_fwmthd */ 667 0xbd05044b, 668 0xb4abffb0, 669 0x800c0bf4, 670 0xf6030700, 671 0x04bd000b, 672/* 0x0688: ih_no_other */ 673 0xf6010040, 674 0x04bd000a, 675 0xe0fcf0fc, 676 0xb0fcd0fc, 677 0x90fca0fc, 678 0x88fe80fc, 679 0xf480fc00, 680 0x01f80032, 681/* 0x06a8: ctx_4170s */ 682 0xb210f5f0, 683 0x41708eff, 684 0x008f7e40, 685/* 0x06b7: ctx_4170w */ 686 0x8e00f800, 687 0x7e404170, 688 0xb2000065, 689 0x10f4f0ff, 690 0xf8f31bf4, 691/* 0x06c9: ctx_redswitch */ 692 0x02004e00, 693 0xf040e5f0, 694 0xe5f020e5, 695 0x85008010, 696 0x000ef601, 697 0x080f04bd, 698/* 0x06e0: ctx_redswitch_delay */ 699 0xf401f2b6, 700 0xe5f1fd1b, 701 0xe5f10400, 702 0x00800100, 703 0x0ef60185, 704 0xf804bd00, 705/* 0x06f9: ctx_86c */ 706 0x23008000, 707 0x000ff602, 708 0xffb204bd, 709 0x408a148e, 710 0x00008f7e, 711 0x8c8effb2, 712 0x8f7e41a8, 713 0x00f80000, 714/* 0x0718: ctx_mem */ 715 0x02840080, 716 0xbd000ff6, 717/* 0x0721: ctx_mem_wait */ 718 0x84008f04, 719 0x00ffcf02, 720 0xf405fffd, 721 0x00f8f61b, 722/* 0x0730: ctx_load */ 723 0x99f094bd, 724 0x37008005, 725 0x0009f602, 726 0x0c0a04bd, 727 0x0000b87e, 728 0x0080f4bd, 729 0x0ff60289, 730 0x8004bd00, 731 0xf602c100, 732 0x04bd0002, 733 0x02830080, 734 0xbd0002f6, 735 0x7e070f04, 736 0x80000718, 737 0xf602c000, 738 0x04bd0002, 739 0xf0000bfe, 740 0x24b61f2a, 741 0x0220b604, 742 0x99f094bd, 743 0x37008008, 744 0x0009f602, 745 0x008004bd, 746 0x02f60281, 747 0xd204bd00, 748 0x80000000, 749 0x800225f0, 750 0xf6028800, 751 0x04bd0002, 752 0x00421001, 753 0x0223f002, 754 0xf80512fa, 755 0xf094bd03, 756 0x00800899, 757 0x09f60217, 758 0x9804bd00, 759 0x14b68101, 760 0x80029818, 761 0xfd0825b6, 762 0x01b50512, 763 0xf094bd16, 764 0x00800999, 765 0x09f60237, 766 0x8004bd00, 767 0xf6028100, 768 0x04bd0001, 769 0x00800102, 770 0x02f60288, 771 0x4104bd00, 772 0x13f00100, 773 0x0501fa06, 774 0x94bd03f8, 775 0x800999f0, 776 0xf6021700, 777 0x04bd0009, 778 0x99f094bd, 779 0x17008005, 780 0x0009f602, 781 0x00f804bd, 782/* 0x081c: ctx_chan */ 783 0x0007307e, 784 0xb87e0c0a, 785 0x050f0000, 786 0x0007187e, 787/* 0x082e: ctx_mmio_exec */ 788 0x039800f8, 789 0x81008041, 790 0x0003f602, 791 0x34bd04bd, 792/* 0x083c: ctx_mmio_loop */ 793 0xf4ff34c4, 794 0x00450e1b, 795 0x0653f002, 796 0xf80535fa, 797/* 0x084d: ctx_mmio_pull */ 798 0x804e9803, 799 0x7e814f98, 800 0xb600008f, 801 0x12b60830, 802 0xdf1bf401, 803/* 0x0860: ctx_mmio_done */ 804 0x80160398, 805 0xf6028100, 806 0x04bd0003, 807 0x414000b5, 808 0x13f00100, 809 0x0601fa06, 810 0x00f803f8, 811/* 0x087c: ctx_xfer */ 812 0x0080040e, 813 0x0ef60302, 814/* 0x0887: ctx_xfer_idle */ 815 0x8e04bd00, 816 0xcf030000, 817 0xe4f100ee, 818 0x1bf42000, 819 0x0611f4f5, 820/* 0x089b: ctx_xfer_pre */ 821 0x0f0c02f4, 822 0x06f97e10, 823 0x1b11f400, 824/* 0x08a4: ctx_xfer_pre_load */ 825 0xa87e020f, 826 0xb77e0006, 827 0xc97e0006, 828 0xf4bd0006, 829 0x0006a87e, 830 0x0007307e, 831/* 0x08bc: ctx_xfer_exec */ 832 0xbd160198, 833 0x05008024, 834 0x0002f601, 835 0x1fb204bd, 836 0x41a5008e, 837 0x00008f7e, 838 0xf001fcf0, 839 0x24b6022c, 840 0x05f2fd01, 841 0x048effb2, 842 0x8f7e41a5, 843 0x167e0000, 844 0x24bd0002, 845 0x0247fc80, 846 0xbd0002f6, 847 0x012cf004, 848 0x800320b6, 849 0xf6024afc, 850 0x04bd0002, 851 0xf001acf0, 852 0x000b06a5, 853 0x98000c98, 854 0x000e010d, 855 0x00013d7e, 856 0xec7e080a, 857 0x0a7e0000, 858 0x01f40002, 859 0x7e0c0a12, 860 0x0f0000b8, 861 0x07187e05, 862 0x2d02f400, 863/* 0x0938: ctx_xfer_post */ 864 0xa87e020f, 865 0xf4bd0006, 866 0x0006f97e, 867 0x0002277e, 868 0x0006b77e, 869 0xa87ef4bd, 870 0x11f40006, 871 0x40019810, 872 0xf40511fd, 873 0x2e7e070b, 874/* 0x0962: ctx_xfer_no_post_mmio */ 875/* 0x0962: ctx_xfer_done */ 876 0x00f80008, 877 0x00000000, 878 0x00000000, 879 0x00000000, 880 0x00000000, 881 0x00000000, 882 0x00000000, 883 0x00000000, 884 0x00000000, 885 0x00000000, 886 0x00000000, 887 0x00000000, 888 0x00000000, 889 0x00000000, 890 0x00000000, 891 0x00000000, 892 0x00000000, 893 0x00000000, 894 0x00000000, 895 0x00000000, 896 0x00000000, 897 0x00000000, 898 0x00000000, 899 0x00000000, 900 0x00000000, 901 0x00000000, 902 0x00000000, 903 0x00000000, 904 0x00000000, 905 0x00000000, 906 0x00000000, 907 0x00000000, 908 0x00000000, 909 0x00000000, 910 0x00000000, 911 0x00000000, 912 0x00000000, 913 0x00000000, 914 0x00000000, 915 0x00000000, 916}; 917