Changes in / [ecbd287d:7c8e1e1] in mainline


Ignore:
Files:
3 edited

Legend:

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

    recbd287d r7c8e1e1  
    293293         * Call arch_pre_main(bootinfo)
    294294         */
     295        mov %o1, %o0
    295296        call arch_pre_main
    296         mov %o1, %o0
    297        
    298         /*
    299          * Create the first stack frame.
    300          */
    301         save %sp, -(STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE), %sp
    302         flushw
    303         add %g0, -STACK_BIAS, %fp
    304 
     297        nop
     298       
    305299        call main_bsp
    306300        nop
     
    309303
    3103040:
    311         ba,a %xcc, 0b
     305        ba %xcc, 0b
     306        nop
    312307
    313308
     
    359354        ldx [%g1], %o6
    360355
    361         /*
    362          * Create the first stack frame.
    363          */
    364         save %sp, -(STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE), %sp
    365         flushw
    366         add %g0, -STACK_BIAS, %fp
    367 
    368356        call main_ap
    369357        nop
     
    373361       
    3743620:
    375         ba,a %xcc, 0b
     363        ba %xcc, 0b
     364        nop
    376365
    377366
  • kernel/arch/sparc64/src/sun4v/start.S

    recbd287d r7c8e1e1  
    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
  • uspace/lib/c/arch/sparc64/src/thread_entry.s

    recbd287d r7c8e1e1  
    3838        # Create the first stack frame.
    3939        #
    40         save %sp, -176, %sp
    41         flushw
    42         add %g0, -0x7ff, %fp
    4340
    44         #
    45         # Propagate the input arguments to the new window.
    46         #
    47         mov %i0, %o0
     41        #save %sp, -176, %sp
     42        #flushw
     43        #add %g0, -0x7ff, %fp
    4844
    4945        sethi %hi(_gp), %l7
Note: See TracChangeset for help on using the changeset viewer.