1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074
|
/* DO NOT EDIT - Generated automatically by script_asm.pl */
static u32 SCRIPT[] = {
/*
ABSOLUTE targ_select = 0
ABSOLUTE targ_msgout = 0
ABSOLUTE targ_msgout_cnt = 0
ABSOLUTE targ_cdb = 0
ABSOLUTE targ_cdb_cnt = 0
ABSOLUTE targ_status = 0
ABSOLUTE targ_msgin = 0
ABSOLUTE targ_din_script = 0
ABSOLUTE targ_dout_script = 0
ABSOLUTE reselected_identify = 0
ABSOLUTE msg_reject = 0
ABSOLUTE test1_src = 0
ABSOLUTE test1_dst = 0
ABSOLUTE int_rej_msg1 = 0xab930000
ABSOLUTE int_rej_msg2 = 0xab930001
ABSOLUTE int_rej_msg3 = 0xab930002
ABSOLUTE int_bad_msg1 = 0xab930006
ABSOLUTE int_bad_msg2 = 0xab930007
ABSOLUTE int_bad_msg3 = 0xab930008
ABSOLUTE int_cmd_bad_phase = 0xab930009
ABSOLUTE int_cmd_complete = 0xab93000a
ABSOLUTE int_data_bad_phase = 0xab93000b
ABSOLUTE int_msg_sdtr1 = 0xab93000c
ABSOLUTE int_msg_sdtr2 = 0xab93000d
ABSOLUTE int_msg_sdtr3 = 0xab93000e
ABSOLUTE int_no_msgout1 = 0xab93000f
ABSOLUTE int_no_msgout2 = 0xab930010
ABSOLUTE int_no_msgout3 = 0xab930011
ABSOLUTE int_not_cmd_complete = 0xab930012
ABSOLUTE int_sel_no_ident = 0xab930013
ABSOLUTE int_sel_not_cmd = 0xab930014
ABSOLUTE int_status_not_msgin = 0xab930015
ABSOLUTE int_resel_not_msgin = 0xab930016
ABSOLUTE int_reselected = 0xab930017
ABSOLUTE int_selected = 0xab930018
ABSOLUTE int_disc1 = 0xab930019
ABSOLUTE int_disc2 = 0xab93001a
ABSOLUTE int_disc3 = 0xab93001b
ABSOLUTE int_not_rej = 0xab93001c
ABSOLUTE int_test1a = 0xab93001d
ABSOLUTE int_test1b = 0xab93001e
ENTRY do_select
do_select:
CLEAR TARGET
at 0x00000000 : */ 0x60000200,0x00000000,
/*
ENTRY zap700a
zap700a:
MOVE CTEST7 & 0xef TO CTEST7
at 0x00000002 : */ 0x7c1bef00,0x00000000,
/*
SELECT ATN targ_select, reselect
at 0x00000004 : */ 0x41000000,0x00000448,
/*
JUMP get_status, WHEN STATUS
at 0x00000006 : */ 0x830b0000,0x00000080,
/*
ENTRY zap700b
zap700b:
MOVE CTEST7 | 0x10 TO CTEST7
at 0x00000008 : */ 0x7a1b1000,0x00000000,
/*
INT int_sel_no_ident, IF NOT MSG_OUT
at 0x0000000a : */ 0x9e020000,0xab930013,
/*
MOVE targ_msgout_cnt, targ_msgout, when MSG_OUT
at 0x0000000c : */ 0x0e000000,0x00000000,
/*
ENTRY done_ident
done_ident:
JUMP get_status, IF STATUS
at 0x0000000e : */ 0x830a0000,0x00000080,
/*
redo_msgin1:
JUMP get_msgin1, WHEN MSG_IN
at 0x00000010 : */ 0x870b0000,0x000000d8,
/*
INT int_sel_not_cmd, IF NOT CMD
at 0x00000012 : */ 0x9a020000,0xab930014,
/*
ENTRY resume_cmd
resume_cmd:
MOVE targ_cdb_cnt, targ_cdb, WHEN CMD
at 0x00000014 : */ 0x0a000000,0x00000000,
/*
ENTRY resume_pmm
resume_pmm:
redo_msgin2:
JUMP get_msgin2, WHEN MSG_IN
at 0x00000016 : */ 0x870b0000,0x000001f0,
/*
JUMP get_status, IF STATUS
at 0x00000018 : */ 0x830a0000,0x00000080,
/*
JUMP targ_din_script, IF DATA_IN
at 0x0000001a : */ 0x810a0000,0x00000000,
/*
JUMP targ_dout_script, IF DATA_OUT
at 0x0000001c : */ 0x800a0000,0x00000000,
/*
INT int_cmd_bad_phase
at 0x0000001e : */ 0x98080000,0xab930009,
/*
get_status:
ENTRY zap700c
zap700c:
MOVE CTEST7 | 0x10 TO CTEST7
at 0x00000020 : */ 0x7a1b1000,0x00000000,
/*
MOVE 1, targ_status, WHEN STATUS
at 0x00000022 : */ 0x0b000001,0x00000000,
/*
INT int_status_not_msgin, WHEN NOT MSG_IN
at 0x00000024 : */ 0x9f030000,0xab930015,
/*
MOVE 1, targ_msgin, WHEN MSG_IN
at 0x00000026 : */ 0x0f000001,0x00000000,
/*
INT int_not_cmd_complete, IF NOT 0x00
at 0x00000028 : */ 0x98040000,0xab930012,
/*
CLEAR ACK
at 0x0000002a : */ 0x60000040,0x00000000,
/*
ENTRY wait_disc_complete
wait_disc_complete:
WAIT DISCONNECT
at 0x0000002c : */ 0x48000000,0x00000000,
/*
INT int_cmd_complete
at 0x0000002e : */ 0x98080000,0xab93000a,
/*
; The data in and data out scripts jump back to here
ENTRY end_data_trans
end_data_trans:
redo_msgin3:
JUMP get_status, WHEN STATUS
at 0x00000030 : */ 0x830b0000,0x00000080,
/*
JUMP get_msgin3, WHEN MSG_IN
at 0x00000032 : */ 0x870b0000,0x00000308,
/*
INT int_data_bad_phase
at 0x00000034 : */ 0x98080000,0xab93000b,
/*
get_msgin1:
MOVE 1, targ_msgin, WHEN MSG_IN
at 0x00000036 : */ 0x0f000001,0x00000000,
/*
JUMP ext_msg1, IF 0x01 ; Extended Message
at 0x00000038 : */ 0x800c0001,0x00000120,
/*
JUMP ignore_msg1, IF 0x02 ; Save Data Pointers
at 0x0000003a : */ 0x800c0002,0x00000110,
/*
JUMP ignore_msg1, IF 0x03 ; Save Restore Pointers
at 0x0000003c : */ 0x800c0003,0x00000110,
/*
JUMP disc1, IF 0x04 ; Disconnect
at 0x0000003e : */ 0x800c0004,0x000001a0,
/*
INT int_rej_msg1, IF 0x07 ; Reject
at 0x00000040 : */ 0x980c0007,0xab930000,
/*
INT int_bad_msg1
at 0x00000042 : */ 0x98080000,0xab930006,
/*
ignore_msg1:
CLEAR ACK
at 0x00000044 : */ 0x60000040,0x00000000,
/*
JUMP redo_msgin1
at 0x00000046 : */ 0x80080000,0x00000040,
/*
ext_msg1:
CLEAR ACK
at 0x00000048 : */ 0x60000040,0x00000000,
/*
MOVE 1, targ_msgin + 1, WHEN MSG_IN
at 0x0000004a : */ 0x0f000001,0x00000001,
/*
JUMP reject_msg1, IF NOT 0x03 ; Only handle SDTR
at 0x0000004c : */ 0x80040003,0x00000168,
/*
CLEAR ACK
at 0x0000004e : */ 0x60000040,0x00000000,
/*
MOVE 1, targ_msgin + 2, WHEN MSG_IN
at 0x00000050 : */ 0x0f000001,0x00000002,
/*
JUMP reject_msg1, IF NOT 0x01 ; Only handle SDTR
at 0x00000052 : */ 0x80040001,0x00000168,
/*
CLEAR ACK
at 0x00000054 : */ 0x60000040,0x00000000,
/*
MOVE 2, targ_msgin + 3, WHEN MSG_IN
at 0x00000056 : */ 0x0f000002,0x00000003,
/*
INT int_msg_sdtr1
at 0x00000058 : */ 0x98080000,0xab93000c,
/*
reject_msg1:
SET ATN
at 0x0000005a : */ 0x58000008,0x00000000,
/*
CLEAR ACK
at 0x0000005c : */ 0x60000040,0x00000000,
/*
JUMP reject_msg1a, WHEN NOT MSG_IN
at 0x0000005e : */ 0x87030000,0x00000190,
/*
MOVE 1, targ_msgin + 7, WHEN MSG_IN
at 0x00000060 : */ 0x0f000001,0x00000007,
/*
JUMP reject_msg1
at 0x00000062 : */ 0x80080000,0x00000168,
/*
reject_msg1a:
MOVE 1, msg_reject, WHEN MSG_OUT
at 0x00000064 : */ 0x0e000001,0x00000000,
/*
JUMP redo_msgin1
at 0x00000066 : */ 0x80080000,0x00000040,
/*
disc1:
CLEAR ACK
at 0x00000068 : */ 0x60000040,0x00000000,
/*
ENTRY wait_disc1
wait_disc1:
WAIT DISCONNECT
at 0x0000006a : */ 0x48000000,0x00000000,
/*
INT int_disc1
at 0x0000006c : */ 0x98080000,0xab930019,
/*
ENTRY resume_msgin1a
resume_msgin1a:
CLEAR ACK
at 0x0000006e : */ 0x60000040,0x00000000,
/*
JUMP redo_msgin1
at 0x00000070 : */ 0x80080000,0x00000040,
/*
ENTRY resume_msgin1b
resume_msgin1b:
SET ATN
at 0x00000072 : */ 0x58000008,0x00000000,
/*
CLEAR ACK
at 0x00000074 : */ 0x60000040,0x00000000,
/*
INT int_no_msgout1, WHEN NOT MSG_OUT
at 0x00000076 : */ 0x9e030000,0xab93000f,
/*
MOVE targ_msgout_cnt, targ_msgout, when MSG_OUT
at 0x00000078 : */ 0x0e000000,0x00000000,
/*
JUMP redo_msgin1
at 0x0000007a : */ 0x80080000,0x00000040,
/*
get_msgin2:
MOVE 1, targ_msgin, WHEN MSG_IN
at 0x0000007c : */ 0x0f000001,0x00000000,
/*
JUMP ext_msg2, IF 0x01 ; Extended Message
at 0x0000007e : */ 0x800c0001,0x00000238,
/*
JUMP ignore_msg2, IF 0x02 ; Save Data Pointers
at 0x00000080 : */ 0x800c0002,0x00000228,
/*
JUMP ignore_msg2, IF 0x03 ; Save Restore Pointers
at 0x00000082 : */ 0x800c0003,0x00000228,
/*
JUMP disc2, IF 0x04 ; Disconnect
at 0x00000084 : */ 0x800c0004,0x000002b8,
/*
INT int_rej_msg2, IF 0x07 ; Reject
at 0x00000086 : */ 0x980c0007,0xab930001,
/*
INT int_bad_msg2
at 0x00000088 : */ 0x98080000,0xab930007,
/*
ignore_msg2:
CLEAR ACK
at 0x0000008a : */ 0x60000040,0x00000000,
/*
JUMP redo_msgin2
at 0x0000008c : */ 0x80080000,0x00000058,
/*
ext_msg2:
CLEAR ACK
at 0x0000008e : */ 0x60000040,0x00000000,
/*
MOVE 1, targ_msgin + 1, WHEN MSG_IN
at 0x00000090 : */ 0x0f000001,0x00000001,
/*
JUMP reject_msg2, IF NOT 0x03 ; Only handle SDTR
at 0x00000092 : */ 0x80040003,0x00000280,
/*
CLEAR ACK
at 0x00000094 : */ 0x60000040,0x00000000,
/*
MOVE 1, targ_msgin + 2, WHEN MSG_IN
at 0x00000096 : */ 0x0f000001,0x00000002,
/*
JUMP reject_msg2, IF NOT 0x01 ; Only handle SDTR
at 0x00000098 : */ 0x80040001,0x00000280,
/*
CLEAR ACK
at 0x0000009a : */ 0x60000040,0x00000000,
/*
MOVE 2, targ_msgin + 3, WHEN MSG_IN
at 0x0000009c : */ 0x0f000002,0x00000003,
/*
INT int_msg_sdtr2
at 0x0000009e : */ 0x98080000,0xab93000d,
/*
reject_msg2:
SET ATN
at 0x000000a0 : */ 0x58000008,0x00000000,
/*
CLEAR ACK
at 0x000000a2 : */ 0x60000040,0x00000000,
/*
JUMP reject_msg2a, WHEN NOT MSG_IN
at 0x000000a4 : */ 0x87030000,0x000002a8,
/*
MOVE 1, targ_msgin + 7, WHEN MSG_IN
at 0x000000a6 : */ 0x0f000001,0x00000007,
/*
JUMP reject_msg2
at 0x000000a8 : */ 0x80080000,0x00000280,
/*
reject_msg2a:
MOVE 1, msg_reject, WHEN MSG_OUT
at 0x000000aa : */ 0x0e000001,0x00000000,
/*
JUMP redo_msgin2
at 0x000000ac : */ 0x80080000,0x00000058,
/*
disc2:
CLEAR ACK
at 0x000000ae : */ 0x60000040,0x00000000,
/*
ENTRY wait_disc2
wait_disc2:
WAIT DISCONNECT
at 0x000000b0 : */ 0x48000000,0x00000000,
/*
INT int_disc2
at 0x000000b2 : */ 0x98080000,0xab93001a,
/*
ENTRY resume_msgin2a
resume_msgin2a:
CLEAR ACK
at 0x000000b4 : */ 0x60000040,0x00000000,
/*
JUMP redo_msgin2
at 0x000000b6 : */ 0x80080000,0x00000058,
/*
ENTRY resume_msgin2b
resume_msgin2b:
SET ATN
at 0x000000b8 : */ 0x58000008,0x00000000,
/*
CLEAR ACK
at 0x000000ba : */ 0x60000040,0x00000000,
/*
INT int_no_msgout2, WHEN NOT MSG_OUT
at 0x000000bc : */ 0x9e030000,0xab930010,
/*
MOVE targ_msgout_cnt, targ_msgout, when MSG_OUT
at 0x000000be : */ 0x0e000000,0x00000000,
/*
JUMP redo_msgin2
at 0x000000c0 : */ 0x80080000,0x00000058,
/*
get_msgin3:
MOVE 1, targ_msgin, WHEN MSG_IN
at 0x000000c2 : */ 0x0f000001,0x00000000,
/*
JUMP ext_msg3, IF 0x01 ; Extended Message
at 0x000000c4 : */ 0x800c0001,0x00000350,
/*
JUMP ignore_msg3, IF 0x02 ; Save Data Pointers
at 0x000000c6 : */ 0x800c0002,0x00000340,
/*
JUMP ignore_msg3, IF 0x03 ; Save Restore Pointers
at 0x000000c8 : */ 0x800c0003,0x00000340,
/*
JUMP disc3, IF 0x04 ; Disconnect
at 0x000000ca : */ 0x800c0004,0x000003d0,
/*
INT int_rej_msg3, IF 0x07 ; Reject
at 0x000000cc : */ 0x980c0007,0xab930002,
/*
INT int_bad_msg3
at 0x000000ce : */ 0x98080000,0xab930008,
/*
ignore_msg3:
CLEAR ACK
at 0x000000d0 : */ 0x60000040,0x00000000,
/*
JUMP redo_msgin3
at 0x000000d2 : */ 0x80080000,0x000000c0,
/*
ext_msg3:
CLEAR ACK
at 0x000000d4 : */ 0x60000040,0x00000000,
/*
MOVE 1, targ_msgin + 1, WHEN MSG_IN
at 0x000000d6 : */ 0x0f000001,0x00000001,
/*
JUMP reject_msg3, IF NOT 0x03 ; Only handle SDTR
at 0x000000d8 : */ 0x80040003,0x00000398,
/*
CLEAR ACK
at 0x000000da : */ 0x60000040,0x00000000,
/*
MOVE 1, targ_msgin + 2, WHEN MSG_IN
at 0x000000dc : */ 0x0f000001,0x00000002,
/*
JUMP reject_msg3, IF NOT 0x01 ; Only handle SDTR
at 0x000000de : */ 0x80040001,0x00000398,
/*
CLEAR ACK
at 0x000000e0 : */ 0x60000040,0x00000000,
/*
MOVE 2, targ_msgin + 3, WHEN MSG_IN
at 0x000000e2 : */ 0x0f000002,0x00000003,
/*
INT int_msg_sdtr3
at 0x000000e4 : */ 0x98080000,0xab93000e,
/*
reject_msg3:
SET ATN
at 0x000000e6 : */ 0x58000008,0x00000000,
/*
CLEAR ACK
at 0x000000e8 : */ 0x60000040,0x00000000,
/*
JUMP reject_msg3a, WHEN NOT MSG_IN
at 0x000000ea : */ 0x87030000,0x000003c0,
/*
MOVE 1, targ_msgin + 7, WHEN MSG_IN
at 0x000000ec : */ 0x0f000001,0x00000007,
/*
JUMP reject_msg3
at 0x000000ee : */ 0x80080000,0x00000398,
/*
reject_msg3a:
MOVE 1, msg_reject, WHEN MSG_OUT
at 0x000000f0 : */ 0x0e000001,0x00000000,
/*
JUMP redo_msgin3
at 0x000000f2 : */ 0x80080000,0x000000c0,
/*
disc3:
CLEAR ACK
at 0x000000f4 : */ 0x60000040,0x00000000,
/*
ENTRY wait_disc3
wait_disc3:
WAIT DISCONNECT
at 0x000000f6 : */ 0x48000000,0x00000000,
/*
INT int_disc3
at 0x000000f8 : */ 0x98080000,0xab93001b,
/*
ENTRY resume_msgin3a
resume_msgin3a:
CLEAR ACK
at 0x000000fa : */ 0x60000040,0x00000000,
/*
JUMP redo_msgin3
at 0x000000fc : */ 0x80080000,0x000000c0,
/*
ENTRY resume_msgin3b
resume_msgin3b:
SET ATN
at 0x000000fe : */ 0x58000008,0x00000000,
/*
CLEAR ACK
at 0x00000100 : */ 0x60000040,0x00000000,
/*
INT int_no_msgout3, WHEN NOT MSG_OUT
at 0x00000102 : */ 0x9e030000,0xab930011,
/*
MOVE targ_msgout_cnt, targ_msgout, when MSG_OUT
at 0x00000104 : */ 0x0e000000,0x00000000,
/*
JUMP redo_msgin3
at 0x00000106 : */ 0x80080000,0x000000c0,
/*
ENTRY resume_rej_ident
resume_rej_ident:
CLEAR ATN
at 0x00000108 : */ 0x60000008,0x00000000,
/*
MOVE 1, targ_msgin, WHEN MSG_IN
at 0x0000010a : */ 0x0f000001,0x00000000,
/*
INT int_not_rej, IF NOT 0x07 ; Reject
at 0x0000010c : */ 0x98040007,0xab93001c,
/*
CLEAR ACK
at 0x0000010e : */ 0x60000040,0x00000000,
/*
JUMP done_ident
at 0x00000110 : */ 0x80080000,0x00000038,
/*
ENTRY reselect
reselect:
ENTRY zap700d
zap700d:
MOVE CTEST7 | 0x10 TO CTEST7
at 0x00000112 : */ 0x7a1b1000,0x00000000,
/*
WAIT RESELECT resel_err
at 0x00000114 : */ 0x50000000,0x00000468,
/*
INT int_resel_not_msgin, WHEN NOT MSG_IN
at 0x00000116 : */ 0x9f030000,0xab930016,
/*
ENTRY do_int_reselected
do_int_reselected:
INT int_reselected
at 0x00000118 : */ 0x98080000,0xab930017,
/*
resel_err:
MOVE CTEST2 & 0x40 TO SFBR
at 0x0000011a : */ 0x74164000,0x00000000,
/*
JUMP selected, IF 0x00
at 0x0000011c : */ 0x800c0000,0x00000488,
/*
MOVE SFBR & 0 TO SFBR
at 0x0000011e : */ 0x7c080000,0x00000000,
/*
ENTRY patch_selection
patch_selection:
JUMP do_select
at 0x00000120 : */ 0x80080000,0x00000000,
/*
selected:
INT int_selected
at 0x00000122 : */ 0x98080000,0xab930018,
/*
ENTRY resume_reselect
resume_reselect:
MOVE 1, reselected_identify, WHEN MSG_IN
at 0x00000124 : */ 0x0f000001,0x00000000,
/*
ENTRY patch_resume_reselect
patch_resume_reselect:
JUMP 0
at 0x00000126 : */ 0x80080000,0x00000000,
/*
ENTRY test1
test1:
MOVE MEMORY 4, test1_src, test1_dst
at 0x00000128 : */ 0xc0000004,0x00000000,0x00000000,
/*
INT int_test1a
at 0x0000012b : */ 0x98080000,0xab93001d,
};
#define A_int_bad_msg1 0xab930006
static u32 A_int_bad_msg1_used[] __attribute((unused)) = {
0x00000043,
};
#define A_int_bad_msg2 0xab930007
static u32 A_int_bad_msg2_used[] __attribute((unused)) = {
0x00000089,
};
#define A_int_bad_msg3 0xab930008
static u32 A_int_bad_msg3_used[] __attribute((unused)) = {
0x000000cf,
};
#define A_int_cmd_bad_phase 0xab930009
static u32 A_int_cmd_bad_phase_used[] __attribute((unused)) = {
0x0000001f,
};
#define A_int_cmd_complete 0xab93000a
static u32 A_int_cmd_complete_used[] __attribute((unused)) = {
0x0000002f,
};
#define A_int_data_bad_phase 0xab93000b
static u32 A_int_data_bad_phase_used[] __attribute((unused)) = {
0x00000035,
};
#define A_int_disc1 0xab930019
static u32 A_int_disc1_used[] __attribute((unused)) = {
0x0000006d,
};
#define A_int_disc2 0xab93001a
static u32 A_int_disc2_used[] __attribute((unused)) = {
0x000000b3,
};
#define A_int_disc3 0xab93001b
static u32 A_int_disc3_used[] __attribute((unused)) = {
0x000000f9,
};
#define A_int_msg_sdtr1 0xab93000c
static u32 A_int_msg_sdtr1_used[] __attribute((unused)) = {
0x00000059,
};
#define A_int_msg_sdtr2 0xab93000d
static u32 A_int_msg_sdtr2_used[] __attribute((unused)) = {
0x0000009f,
};
#define A_int_msg_sdtr3 0xab93000e
static u32 A_int_msg_sdtr3_used[] __attribute((unused)) = {
0x000000e5,
};
#define A_int_no_msgout1 0xab93000f
static u32 A_int_no_msgout1_used[] __attribute((unused)) = {
0x00000077,
};
#define A_int_no_msgout2 0xab930010
static u32 A_int_no_msgout2_used[] __attribute((unused)) = {
0x000000bd,
};
#define A_int_no_msgout3 0xab930011
static u32 A_int_no_msgout3_used[] __attribute((unused)) = {
0x00000103,
};
#define A_int_not_cmd_complete 0xab930012
static u32 A_int_not_cmd_complete_used[] __attribute((unused)) = {
0x00000029,
};
#define A_int_not_rej 0xab93001c
static u32 A_int_not_rej_used[] __attribute((unused)) = {
0x0000010d,
};
#define A_int_rej_msg1 0xab930000
static u32 A_int_rej_msg1_used[] __attribute((unused)) = {
0x00000041,
};
#define A_int_rej_msg2 0xab930001
static u32 A_int_rej_msg2_used[] __attribute((unused)) = {
0x00000087,
};
#define A_int_rej_msg3 0xab930002
static u32 A_int_rej_msg3_used[] __attribute((unused)) = {
0x000000cd,
};
#define A_int_resel_not_msgin 0xab930016
static u32 A_int_resel_not_msgin_used[] __attribute((unused)) = {
0x00000117,
};
#define A_int_reselected 0xab930017
static u32 A_int_reselected_used[] __attribute((unused)) = {
0x00000119,
};
#define A_int_sel_no_ident 0xab930013
static u32 A_int_sel_no_ident_used[] __attribute((unused)) = {
0x0000000b,
};
#define A_int_sel_not_cmd 0xab930014
static u32 A_int_sel_not_cmd_used[] __attribute((unused)) = {
0x00000013,
};
#define A_int_selected 0xab930018
static u32 A_int_selected_used[] __attribute((unused)) = {
0x00000123,
};
#define A_int_status_not_msgin 0xab930015
static u32 A_int_status_not_msgin_used[] __attribute((unused)) = {
0x00000025,
};
#define A_int_test1a 0xab93001d
static u32 A_int_test1a_used[] __attribute((unused)) = {
0x0000012c,
};
#define A_int_test1b 0xab93001e
static u32 A_int_test1b_used[] __attribute((unused)) = {
};
#define A_msg_reject 0x00000000
static u32 A_msg_reject_used[] __attribute((unused)) = {
0x00000065,
0x000000ab,
0x000000f1,
};
#define A_reselected_identify 0x00000000
static u32 A_reselected_identify_used[] __attribute((unused)) = {
0x00000125,
};
#define A_targ_cdb 0x00000000
static u32 A_targ_cdb_used[] __attribute((unused)) = {
0x00000015,
};
#define A_targ_cdb_cnt 0x00000000
static u32 A_targ_cdb_cnt_used[] __attribute((unused)) = {
0x00000014,
};
#define A_targ_din_script 0x00000000
static u32 A_targ_din_script_used[] __attribute((unused)) = {
0x0000001b,
};
#define A_targ_dout_script 0x00000000
static u32 A_targ_dout_script_used[] __attribute((unused)) = {
0x0000001d,
};
#define A_targ_msgin 0x00000000
static u32 A_targ_msgin_used[] __attribute((unused)) = {
0x00000027,
0x00000037,
0x0000004b,
0x00000051,
0x00000057,
0x00000061,
0x0000007d,
0x00000091,
0x00000097,
0x0000009d,
0x000000a7,
0x000000c3,
0x000000d7,
0x000000dd,
0x000000e3,
0x000000ed,
0x0000010b,
};
#define A_targ_msgout 0x00000000
static u32 A_targ_msgout_used[] __attribute((unused)) = {
0x0000000d,
0x00000079,
0x000000bf,
0x00000105,
};
#define A_targ_msgout_cnt 0x00000000
static u32 A_targ_msgout_cnt_used[] __attribute((unused)) = {
0x0000000c,
0x00000078,
0x000000be,
0x00000104,
};
#define A_targ_select 0x00000000
static u32 A_targ_select_used[] __attribute((unused)) = {
0x00000004,
};
#define A_targ_status 0x00000000
static u32 A_targ_status_used[] __attribute((unused)) = {
0x00000023,
};
#define A_test1_dst 0x00000000
static u32 A_test1_dst_used[] __attribute((unused)) = {
0x0000012a,
};
#define A_test1_src 0x00000000
static u32 A_test1_src_used[] __attribute((unused)) = {
0x00000129,
};
#define Ent_do_int_reselected 0x00000460
#define Ent_do_select 0x00000000
#define Ent_done_ident 0x00000038
#define Ent_end_data_trans 0x000000c0
#define Ent_patch_resume_reselect 0x00000498
#define Ent_patch_selection 0x00000480
#define Ent_reselect 0x00000448
#define Ent_resume_cmd 0x00000050
#define Ent_resume_msgin1a 0x000001b8
#define Ent_resume_msgin1b 0x000001c8
#define Ent_resume_msgin2a 0x000002d0
#define Ent_resume_msgin2b 0x000002e0
#define Ent_resume_msgin3a 0x000003e8
#define Ent_resume_msgin3b 0x000003f8
#define Ent_resume_pmm 0x00000058
#define Ent_resume_rej_ident 0x00000420
#define Ent_resume_reselect 0x00000490
#define Ent_test1 0x000004a0
#define Ent_wait_disc1 0x000001a8
#define Ent_wait_disc2 0x000002c0
#define Ent_wait_disc3 0x000003d8
#define Ent_wait_disc_complete 0x000000b0
#define Ent_zap700a 0x00000008
#define Ent_zap700b 0x00000020
#define Ent_zap700c 0x00000080
#define Ent_zap700d 0x00000448
static u32 LABELPATCHES[] __attribute((unused)) = {
0x00000005,
0x00000007,
0x0000000f,
0x00000011,
0x00000017,
0x00000019,
0x00000031,
0x00000033,
0x00000039,
0x0000003b,
0x0000003d,
0x0000003f,
0x00000047,
0x0000004d,
0x00000053,
0x0000005f,
0x00000063,
0x00000067,
0x00000071,
0x0000007b,
0x0000007f,
0x00000081,
0x00000083,
0x00000085,
0x0000008d,
0x00000093,
0x00000099,
0x000000a5,
0x000000a9,
0x000000ad,
0x000000b7,
0x000000c1,
0x000000c5,
0x000000c7,
0x000000c9,
0x000000cb,
0x000000d3,
0x000000d9,
0x000000df,
0x000000eb,
0x000000ef,
0x000000f3,
0x000000fd,
0x00000107,
0x00000111,
0x00000115,
0x0000011d,
0x00000121,
};
static struct {
u32 offset;
void *address;
} EXTERNAL_PATCHES[] __attribute((unused)) = {
};
static u32 INSTRUCTIONS __attribute((unused)) = 150;
static u32 PATCHES __attribute((unused)) = 48;
static u32 EXTERNAL_PATCHES_LEN __attribute((unused)) = 0;
|