head_32.S (d94e5fcbf1420366dcb4102bafe04dbcfc0d0d4b) | head_32.S (8401707ff645521e9f21cbb8fe3b138f60e85680) |
---|---|
1/* 2 * head.S: The initial boot code for the Sparc port of Linux. 3 * 4 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) 5 * Copyright (C) 1995,1999 Pete Zaitcev (zaitcev@yahoo.com) 6 * Copyright (C) 1996 Miguel de Icaza (miguel@nuclecu.unam.mx) 7 * Copyright (C) 1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz) 8 * Copyright (C) 1997 Michael A. Griffith (grif@acm.org) --- 797 unchanged lines hidden (view full) --- 806 ld [%l1], %l0 807 ld [%l0 + 0xc], %l0 808 call %l0 809 nop 810 811got_prop: 812#ifdef CONFIG_SPARC_LEON 813 /* no cpu-type check is needed, it is a SPARC-LEON */ | 1/* 2 * head.S: The initial boot code for the Sparc port of Linux. 3 * 4 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) 5 * Copyright (C) 1995,1999 Pete Zaitcev (zaitcev@yahoo.com) 6 * Copyright (C) 1996 Miguel de Icaza (miguel@nuclecu.unam.mx) 7 * Copyright (C) 1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz) 8 * Copyright (C) 1997 Michael A. Griffith (grif@acm.org) --- 797 unchanged lines hidden (view full) --- 806 ld [%l1], %l0 807 ld [%l0 + 0xc], %l0 808 call %l0 809 nop 810 811got_prop: 812#ifdef CONFIG_SPARC_LEON 813 /* no cpu-type check is needed, it is a SPARC-LEON */ |
814#ifdef CONFIG_SMP 815 ba leon_smp_init 816 nop 817 818 .global leon_smp_init 819leon_smp_init: 820 sethi %hi(boot_cpu_id), %g1 ! master always 0 821 stb %g0, [%g1 + %lo(boot_cpu_id)] 822 sethi %hi(boot_cpu_id4), %g1 ! master always 0 823 stb %g0, [%g1 + %lo(boot_cpu_id4)] 824 825 rd %asr17,%g1 826 srl %g1,28,%g1 827 828 cmp %g0,%g1 829 beq sun4c_continue_boot !continue with master 830 nop 831 832 ba leon_smp_cpu_startup 833 nop 834#else |
|
814 ba sun4c_continue_boot 815 nop 816#endif | 835 ba sun4c_continue_boot 836 nop 837#endif |
838#endif |
|
817 set cputypval, %o2 818 ldub [%o2 + 0x4], %l1 819 820 cmp %l1, ' ' 821 be 1f 822 cmp %l1, 'c' 823 be 1f 824 cmp %l1, 'm' --- 476 unchanged lines hidden --- | 839 set cputypval, %o2 840 ldub [%o2 + 0x4], %l1 841 842 cmp %l1, ' ' 843 be 1f 844 cmp %l1, 'c' 845 be 1f 846 cmp %l1, 'm' --- 476 unchanged lines hidden --- |