Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/sun4v/start.S

    rb97b348 rc92af69b  
    155155        mov 0, %o5
    156156        ta 0xff
    157         nop
    158157
    159158        /*
     
    219218        ! on APs skip executing the following code
    220219        cmp %l7, 0
    221         be 1f
     220        be %xcc, 1f
    222221        nop
    223222
     
    250249         * Call arch_pre_main(bootinfo)
    251250         */
     251        call arch_pre_main
    252252        or %l1, %g0, %o0
    253         call arch_pre_main
    254         nop
    255253       
     254        /*
     255         * Create the first stack frame.
     256         */
     257        save %sp, -(STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE), %sp
     258        flushw
     259        add %g0, -STACK_BIAS, %fp
     260
    256261        call main_bsp
    257262        nop
     
    260265
    2612660:
    262         ba 0b
    263         nop
     267        ba,a %xcc, 0b
    264268
    2652691:
     
    273277         */
    274278
    275         mov     1, %o0                  ! MMU enable flag
    276         set     mmu_enabled, %o1
    277         mov     MMU_ENABLE, %o5 ! MMU enable HV call
    278         ta      0x80            ! call HV
     279        mov 1, %o0              ! MMU enable flag
     280        set mmu_enabled, %o1
     281        mov MMU_ENABLE, %o5     ! MMU enable HV call
     282        ta 0x80                 ! call HV
    279283
    280284        mmu_enabled:
     
    289293        ldx [%g1], %o6
    290294
     295        /*
     296         * Create the first stack frame.
     297         */
     298        save %sp, -(STACK_WINDWO_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE), %sp
     299        flushw
     300        add %g0, -STACK_BIAS, %fp
     301
    291302        call main_ap
    292303        nop
     
    295306        /* Not reached. */
    2963070:
    297         ba 0b
    298         nop
     308        ba,a %xcc, 0b
    299309
    300310.align 8
     
    314324before_ap_boots:
    315325        setx 0x80400000, %g0, %o0
    316         ba kernel_image_start
    317         nop
     326        ba,a %xcc, kernel_image_start
    318327
    319328.section K_DATA_START, "aw", @progbits
Note: See TracChangeset for help on using the changeset viewer.