Ignore:
File:
1 edited

Legend:

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

    rc92af69b r0242621  
    155155        mov 0, %o5
    156156        ta 0xff
     157        nop
    157158
    158159        /*
     
    249250         * Call arch_pre_main(bootinfo)
    250251         */
     252        or %l1, %g0, %o0
    251253        call arch_pre_main
    252         or %l1, %g0, %o0
     254        nop
    253255       
    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 
    261256        call main_bsp
    262257        nop
     
    265260
    2662610:
    267         ba,a %xcc, 0b
     262        ba %xcc, 0b
     263        nop
    268264
    2692651:
     
    277273         */
    278274
    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
     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
    283279
    284280        mmu_enabled:
     
    293289        ldx [%g1], %o6
    294290
    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 
    302291        call main_ap
    303292        nop
     
    306295        /* Not reached. */
    3072960:
    308         ba,a %xcc, 0b
     297        ba %xcc, 0b
     298        nop
    309299
    310300.align 8
     
    324314before_ap_boots:
    325315        setx 0x80400000, %g0, %o0
    326         ba,a %xcc, kernel_image_start
     316        ba %xcc, kernel_image_start
     317        nop
    327318
    328319.section K_DATA_START, "aw", @progbits
Note: See TracChangeset for help on using the changeset viewer.