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

Changeset 7f1d897 in mainline


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

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

File:
1 edited

Legend:

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

    rd806ce1 r7f1d897  
    296296        mov %o1, %o0
    297297       
     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
    298305        call main_bsp
    299306        nop
     
    352359        ldx [%g1], %o6
    353360
     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
    354368        call main_ap
    355369        nop
Note: See TracChangeset for help on using the changeset viewer.