Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset c92af69b in mainline


Ignore:
Timestamp:
2010-05-22T09:09:24Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
d806ce1
Parents:
34bf3d5
Message:

Create initial stack frames for main_bsp() and main_ap().

File:
1 edited

Legend:

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

    r34bf3d5 rc92af69b  
    252252        or %l1, %g0, %o0
    253253       
     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
    254261        call main_bsp
    255262        nop
     
    285292        add %g1, OFFSET_SP, %g1
    286293        ldx [%g1], %o6
     294
     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
    287301
    288302        call main_ap
Note: See TracChangeset for help on using the changeset viewer.