📄 cpu_init.lst.svn-base
字号:
570 20307830 570 30303030 570 30333000 571 11cb 01 .byte 0x1 572 11cc 9601 .uleb128 0x96 573 11ce 4F525F53 .string "OR_SCY_1 0x00000000"GAS LISTING /tmp/cc6KwFBz.s page 23 573 43595F31 573 20307830 573 30303030 573 30303000 574 11e2 01 .byte 0x1 575 11e3 9701 .uleb128 0x97 576 11e5 4F525F53 .string "OR_SCY_8 0x00000080" 576 43595F38 576 20307830 576 30303030 576 30383000 577 11f9 01 .byte 0x1 578 11fa 9801 .uleb128 0x98 579 11fc 4F525F54 .string "OR_TRLX 0x00000001" 579 524C5820 579 30783030 579 30303030 579 303100 580 120f 01 .byte 0x1 581 1210 9901 .uleb128 0x99 582 1212 4F525F42 .string "OR_BSCY 0x00000060" 582 53435920 582 30783030 582 30303030 582 363000 583 1225 01 .byte 0x1 584 1226 9A01 .uleb128 0x9a 585 1228 4F525F41 .string "OR_ACS_10 0x00000600" 585 43535F31 585 30203078 585 30303030 585 30363030 586 123d 01 .byte 0x1 587 123e 9B01 .uleb128 0x9b 588 1240 4F525F43 .string "OR_CSNT 0x00000800" 588 534E5420 588 30783030 588 30303038 588 303000 589 1253 01 .byte 0x1 590 1254 9C01 .uleb128 0x9c 591 1256 4F525F45 .string "OR_ETHR 0x00000100" 591 54485220 591 30783030 591 30303031 591 303000 592 1269 01 .byte 0x1 593 126a 9D01 .uleb128 0x9d 594 126c 4F525F41 .string "OR_ADDR_MK_FF 0xFF000000" 594 4444525F 594 4D4B5F46 594 46203078 594 46463030 595 1285 01 .byte 0x1 596 1286 9E01 .uleb128 0x9e 597 1288 4F525F41 .string "OR_ADDR_MK_FFFF 0xFFFF0000" 597 4444525F GAS LISTING /tmp/cc6KwFBz.s page 24 597 4D4B5F46 597 46464620 597 30784646 598 12a3 01 .byte 0x1 599 12a4 A301 .uleb128 0xa3 600 12a6 554D4352 .string "UMCR_FSPEED 0x00000000" 600 5F465350 600 45454420 600 30783030 600 30303030 601 12bd 01 .byte 0x1 602 12be A401 .uleb128 0xa4 603 12c0 554D4352 .string "UMCR_HSPEED 0x10000000" 603 5F485350 603 45454420 603 30783130 603 30303030 604 12d7 01 .byte 0x1 605 12d8 A501 .uleb128 0xa5 606 12da 4346475F .string "CFG_UMCR (UMCR_FSPEED)" 606 554D4352 606 2028554D 606 43525F46 606 53504545 607 12f1 01 .byte 0x1 608 12f2 AC01 .uleb128 0xac 609 12f4 4346475F .string "CFG_DER 0x00000000" 609 44455220 609 30783030 609 30303030 609 303000 610 1307 01 .byte 0x1 611 1308 B101 .uleb128 0xb1 612 130a 4B415057 .string "KAPWR_KEY 0x55ccaa33" 612 525F4B45 612 59203078 612 35356363 612 61613333 613 131f 04 .byte 0x4 614 .section ".text" 615 .align 2 616 .globl cpu_init_f 617 .type cpu_init_f, @function 618 cpu_init_f: 619 .LFB2: 1:BootloaderBsp/cpu_init.c **** /*
2:BootloaderBsp/cpu_init.c **** * File: cpu_init.c
3:BootloaderBsp/cpu_init.c **** *
4:BootloaderBsp/cpu_init.c **** * Discription: Contains initialisation functions to setup
5:BootloaderBsp/cpu_init.c **** * the cpu properly
6:BootloaderBsp/cpu_init.c **** *
7:BootloaderBsp/cpu_init.c **** */
8:BootloaderBsp/cpu_init.c ****
9:BootloaderBsp/cpu_init.c **** #include "mpc555_immap.h" 10:BootloaderBsp/cpu_init.c **** #include "mpc555.h"
11:BootloaderBsp/cpu_init.c ****
12:BootloaderBsp/cpu_init.c **** /*
GAS LISTING /tmp/cc6KwFBz.s page 25 13:BootloaderBsp/cpu_init.c **** * Setup essential cpu registers to run
14:BootloaderBsp/cpu_init.c **** */
15:BootloaderBsp/cpu_init.c **** void cpu_init_f ( volatile immap_t *immr)
16:BootloaderBsp/cpu_init.c **** {
620 .loc 1 16 0 621 0000 9421FFD8 stwu 1,-40(1) 622 .LCFI0: 623 0004 93E10024 stw 31,36(1) 624 .LCFI1: 625 0008 7C3F0B78 mr 31,1 626 .LCFI2: 627 000c 907F0018 stw 3,24(31) 17:BootloaderBsp/cpu_init.c **** volatile memctl5xx_t *memctl = &immr->im_memctl;
628 .loc 1 17 0 629 0010 813F0018 lwz 9,24(31) 630 0014 3D290030 addis 9,9,0x30 631 0018 3809C100 addi 0,9,-16128 632 001c 901F0008 stw 0,8(31) 18:BootloaderBsp/cpu_init.c ****
19:BootloaderBsp/cpu_init.c **** /* SYPCR - contains watchdog control. This will enable watchdog */
20:BootloaderBsp/cpu_init.c **** // immr->im_siu_conf.sc_sypcr = CFG_SYPCR;
21:BootloaderBsp/cpu_init.c ****
22:BootloaderBsp/cpu_init.c **** /* SIUMCR - contains debug pin configuration */
23:BootloaderBsp/cpu_init.c **** // immr->im_siu_conf.sc_siumcr = CFG_SIUMCR;
24:BootloaderBsp/cpu_init.c ****
25:BootloaderBsp/cpu_init.c **** /* Memory Controller */
26:BootloaderBsp/cpu_init.c **** /* memctl->memc_br0 = ;
27:BootloaderBsp/cpu_init.c **** memctl->memc_or0 = ;
28:BootloaderBsp/cpu_init.c **** */
29:BootloaderBsp/cpu_init.c **** /*#if (defined(CFG_OR1_PRELIM) && defined(CFG_BR1_PRELIM))
30:BootloaderBsp/cpu_init.c **** memctl->memc_or1 = CFG_OR1_PRELIM;
31:BootloaderBsp/cpu_init.c **** memctl->memc_br1 = CFG_BR1_PRELIM;
32:BootloaderBsp/cpu_init.c **** #endif
33:BootloaderBsp/cpu_init.c ****
34:BootloaderBsp/cpu_init.c **** #if defined(CFG_OR2_PRELIM) && defined(CFG_BR2_PRELIM)
35:BootloaderBsp/cpu_init.c **** memctl->memc_or2 = CFG_OR2_PRELIM;
36:BootloaderBsp/cpu_init.c **** memctl->memc_br2 = CFG_BR2_PRELIM;
37:BootloaderBsp/cpu_init.c **** #endif
38:BootloaderBsp/cpu_init.c ****
39:BootloaderBsp/cpu_init.c **** #if defined(CFG_OR3_PRELIM) && defined(CFG_BR3_PRELIM)
40:BootloaderBsp/cpu_init.c **** memctl->memc_or3 = CFG_OR3_PRELIM;
41:BootloaderBsp/cpu_init.c **** memctl->memc_br3 = CFG_BR3_PRELIM;
42:BootloaderBsp/cpu_init.c **** #endif*/
43:BootloaderBsp/cpu_init.c ****
44:BootloaderBsp/cpu_init.c **** /*dual mapping base register, maybe we don't need it*/
45:BootloaderBsp/cpu_init.c **** /* memctl->memc_dmbr = ;*/
46:BootloaderBsp/cpu_init.c ****
47:BootloaderBsp/cpu_init.c **** /*dual mapping option register*/
48:BootloaderBsp/cpu_init.c **** /* memctl->memc_dmor = ;*/
49:BootloaderBsp/cpu_init.c ****
50:BootloaderBsp/cpu_init.c **** /*UIMB module configuration register*/
51:BootloaderBsp/cpu_init.c **** /* Full IMB bus speed */
52:BootloaderBsp/cpu_init.c **** // immr->im_uimb.uimb_umcr = CFG_UMCR;
53:BootloaderBsp/cpu_init.c ****
54:BootloaderBsp/cpu_init.c **** /*External master control register*/
55:BootloaderBsp/cpu_init.c **** /* immr->im_siu_conf.sc_emcr = ;*/
56:BootloaderBsp/cpu_init.c ****
GAS LISTING /tmp/cc6KwFBz.s page 26 57:BootloaderBsp/cpu_init.c **** /*system clock control register*/
58:BootloaderBsp/cpu_init.c **** /* immr->im_clkrstk.cark_sccrk = KAPWR_KEY;*/
59:BootloaderBsp/cpu_init.c **** immr->im_clkrst.car_sccr = 0;
633 .loc 1 59 0 634 0020 813F0018 lwz 9,24(31) 635 0024 3D290030 addis 9,9,0x30 636 0028 38000000 li 0,0 637 002c 9009C280 stw 0,-15744(9) 60:BootloaderBsp/cpu_init.c ****
61:BootloaderBsp/cpu_init.c **** /* Initialize timebase. Unlock TBSCRK */
62:BootloaderBsp/cpu_init.c **** // immr->im_sitk.sitk_tbscrk = KAPWR_KEY;
63:BootloaderBsp/cpu_init.c **** immr->im_sit.sit_tbscr = 0;
638 .loc 1 63 0 639 0030 813F0018 lwz 9,24(31) 640 0034 3D290030 addis 9,9,0x30 641 0038 38000000 li 0,0 642 003c B009C200 sth 0,-15872(9) 64:BootloaderBsp/cpu_init.c ****
65:BootloaderBsp/cpu_init.c **** /* Initialize the PIT. Unlock PISCRK */
66:BootloaderBsp/cpu_init.c **** // immr->im_sitk.sitk_piscrk = KAPWR_KEY;
67:BootloaderBsp/cpu_init.c **** /* immr->im_sit.sit_piscr = ;*/
68:BootloaderBsp/cpu_init.c ****
69:BootloaderBsp/cpu_init.c **** /* PLL (CPU clock) settings */
70:BootloaderBsp/cpu_init.c **** // immr->im_clkrstk.cark_plprcrk = KAPWR_KEY;
71:BootloaderBsp/cpu_init.c **** immr->im_clkrst.car_plprcr = 0;
643 .loc 1 71 0 644 0040 813F0018 lwz 9,24(31) 645 0044 3D290030 addis 9,9,0x30 646 0048 38000000 li 0,0 647 004c 9009C284 stw 0,-15740(9) 72:BootloaderBsp/cpu_init.c **** }
648 .loc 1 72 0 649 0050 81610000 lwz 11,0(1) 650 0054 83EBFFFC lwz 31,-4(11) 651 0058 7D615B78 mr 1,11 652 005c 4E800020 blr 653 .LFE2: 654 .size cpu_init_f, .-cpu_init_f 655 .align 2 656 .globl cpu_init_r 657 .type cpu_init_r, @function 658 cpu_init_r: 659 .LFB3: 73:BootloaderBsp/cpu_init.c ****
74:BootloaderBsp/cpu_init.c **** /*
75:BootloaderBsp/cpu_init.c **** * Initialize higher level parts of cpu
76:BootloaderBsp/cpu_init.c **** */
77:BootloaderBsp/cpu_init.c **** int cpu_init_r (void)
78:BootloaderBsp/cpu_init.c **** {
660 .loc 1 78 0 661 0060 9421FFF0 stwu 1,-16(1) 662 .LCFI3: 663 0064 93E1000C stw 31,12(1) 664 .LCFI4: 665 0068 7C3F0B78 mr 31,1 666 .LCFI5: 79:BootloaderBsp/cpu_init.c **** /* Nothing to do at the moment */
GAS LISTING /tmp/cc6KwFBz.s page 27 80:BootloaderBsp/cpu_init.c **** return (0);
667 .loc 1 80 0 668 006c 38000000 li 0,0 81:BootloaderBsp/cpu_init.c **** }
669 .loc 1 81 0 670 0070 7C030378 mr 3,0 671 0074 81610000 lwz 11,0(1) 672 0078 83EBFFFC lwz 31,-4(11) 673 007c 7D615B78 mr 1,11 674 0080 4E800020 blr 675 .LFE3: 676 .size cpu_init_r, .-cpu_init_r 677 .section .debug_macinfo 678 1320 04 .byte 0x4 679 .section .debug_frame,"",@progbits 680 .Lframe0: 681 0000 0000000C .4byte .LECIE0-.LSCIE0 682 .LSCIE0: 683 0004 FFFFFFFF .4byte 0xffffffff 684 0008 01 .byte 0x1 685 0009 00 .string "" 686 000a 01 .uleb128 0x1 687 000b 7C .sleb128 -4 688 000c 6C .byte 0x6c 689 000d 0C .byte 0xc 690 000e 01 .uleb128 0x1 691 000f 00 .uleb128 0x0 692 .align 2 693 .LECIE0: 694 .LSFDE0: 695 0010 00000018 .4byte .LEFDE0-.LASFDE0 696 .LASFDE0: 697 0014 00000000 .4byte .Lframe0 698 0018 00000000 .4byte .LFB2 699 001c 00000060 .4byte .LFE2-.LFB2 700 0020 44 .byte 0x4 701 .4byte .LCFI0-.LFB2 702 0021 0E .byte 0xe 703 0022 28 .uleb128 0x28 704 0023 44 .byte 0x4 705 .4byte .LCFI1-.LCFI0 706 0024 9F .byte 0x9f 707 0025 01 .uleb128 0x1 708 0026 44 .byte 0x4 709 .4byte .LCFI2-.LCFI1 710 0027 0D .byte 0xd 711 0028 1F .uleb128 0x1f 712 0029 000000 .align 2 713 .LEFDE0: 714 .LSFDE2: 715 002c 00000018 .4byte .LEFDE2-.LASFDE2 716 .LASFDE2: 717 0030 00000000 .4byte .Lframe0 718 0034 00000060 .4byte .LFB3 719 0038 00000024 .4byte .LFE3-.LFB3 720 003c 44 .byte 0x4 721 .4byte .LCFI3-.LFB3GAS LISTING /tmp/cc6KwFBz.s page 28 722 003d 0E .byte 0xe 723 003e 10 .uleb128 0x10 724 003f 44 .byte 0x4 725 .4byte .LCFI4-.LCFI3 726 0040 9F .byte 0x9f 727 0041 01 .uleb128 0x1 728 0042 44 .byte 0x4 729 .4byte .LCFI5-.LCFI4 730 0043 0D .byte 0xd 731 0044 1F .uleb128 0x1f 732 0045 000000 .align 2 733 .LEFDE2: 734 .section ".text" 735 .Letext0: 736 .section .debug_info 737 0000 00002262 .4byte 0x2262 738 0004 0002 .2byte 0x2 739 0006 00000000 .4byte .Ldebug_abbrev0 740 000a 04 .byte 0x4 741 000b 01 .uleb128 0x1 742 000c 00000000 .4byte .Ldebug_macinfo0 743 0010 00000000 .4byte .Ldebug_line0 744 0014 00000084 .4byte .Letext0 745 0018 00000000 .4byte .Ltext0 746 001c 474E5520 .string "GNU C 4.0.1" 746 4320342E 746 302E3100 747 0028 01 .byte 0x1 748 0029 426F6F74 .string "BootloaderBsp/cpu_init.c" 748 6C6F6164 748 65724273 748 702F6370 748 755F696E 749 0042 2F686F6D .string "/home/zzxiong/osek" 749 652F7A7A 749 78696F6E 749 672F6F73 749 656B00 750 0055 02 .uleb128 0x2 751 0056 756E7369 .string "unsigned char" 751 676E6564 751 20636861 751 7200 752 0064 01 .byte 0x1 753 0065 08 .byte 0x8 754 0066 02 .uleb128 0x2 755 0067 63686172 .string "char" 755 00 756 006c 01 .byte 0x1 757 006d 08 .byte 0x8 758 006e 02 .uleb128 0x2 759 006f 73686F72 .string "short unsigned int" 759 7420756E 759 7369676E 759 65642069 759 6E7400 760 0082 02 .byte 0x2GAS LISTING /tmp/cc6KwFBz.s page 29 761 0083 07 .byte 0x7 762 0084 02 .uleb128 0x2 763 0085 73686F72 .string "short int" 763 7420696E 763 7400 764 008f 02 .byte 0x2 765 0090 05 .byte 0x5 766 0091 02 .uleb128 0x2 767 0092 6C6F6E67 .string "long unsigned int" 767 20756E73 767 69676E65 767 6420696E 767 7400 768 00a4 04 .byte 0x4 769 00a5 07 .byte 0x7 770 00a6 02 .uleb128 0x2 771 00a7 6C6F6E67 .string "long int" 771 20696E74 771 00 772 00b0 04 .byte 0x4 773 00b1 05 .byte 0x5 774 00b2 02 .uleb128 0x2 775 00b3 6C6F6E67 .string "long long unsigned int" 775 206C6F6E 775 6720756E 775 7369676E 775 65642069 776 00ca 08 .byte 0x8 777 00cb 07 .byte 0x7 778 00cc 02 .uleb128 0x2 779 00cd 6C6F6E67 .string "long long int" 779 206C6F6E 779 6720696E 779 7400 780 00db 08 .byte 0x8 781 00dc 05 .byte 0x5 782 00dd 02 .uleb128 0x2 783 00de 666C6F61 .string "float" 783 7400 784 00e4 04 .byte 0x4 785 00e5 04 .byte 0x4 786 00e6 02 .uleb128 0x2 787 00e7 646F7562 .string "double" 787 6C6500 788 00ee 08 .byte 0x8 789 00ef 04 .byte 0x4 790 00f0 03 .uleb128 0x3 791 00f1 75696E74 .string "uint" 791 00 792 00f6 03 .byte 0x3 793 00f7 14 .byte 0x14 794 00f8 00000091 .4byte 0x91 795 00fc 03 .uleb128 0x3 796 00fd 7573686F .string "ushort" 796 727400 797 0104 03 .byte 0x3 798 0105 15 .byte 0x15GAS LISTING /tmp/cc6KwFBz.s page 30 799 0106 0000006E .4byte 0x6e 800 010a 03 .uleb128 0x3 801 010b 755F6368 .string "u_char" 801 617200 802 0112 03 .byte 0x3 803 0113 16 .byte 0x16 804 0114 00000055 .4byte 0x55 805 0118 04 .uleb128 0x4 806 0119 0000026D .4byte 0x26d
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -