Ignore:
Timestamp:
2013-12-28T17:30:44Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
41b735f3
Parents:
c1023bcb
Message:

code revision
coding style fixes
removal of debugging printouts and other temporary stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/sparc32/src/thread_entry.s

    rc1023bcb r1df1905  
    2828
    2929.text
    30        
     30
    3131.globl __thread_entry
    3232
     
    3838        # Create the first stack frame.
    3939        #
     40       
    4041        save %sp, -176, %sp
    41 # XXX   flushw
    42         mov 7, %g1
    43 1:      subcc %g1, 1, %g1
    44         bg 1b
    45         save %sp, -64, %sp
    46 
     42        ## XXX flushw
    4743        mov 7, %g1
    48 1:      subcc %g1, 1, %g1
    49         bg 1b
    50 # XXX end flushw
     44        1:
     45                subcc %g1, 1, %g1
     46                bg 1b
     47                save %sp, -64, %sp
     48       
     49        mov 7, %g1
     50        1:
     51                subcc %g1, 1, %g1
     52                bg 1b
     53       
     54        ## XXX end flushw
    5155        set 0x80000000, %fp
    52 
     56       
    5357        #
    5458        # Propagate the input arguments to the new window.
    5559        #
     60       
    5661        mov %i0, %o0
    57 
     62       
    5863        sethi %hi(_gp), %l7
    59         call __thread_main              ! %o0 contains address of uarg
     64        call __thread_main      ! %o0 contains address of uarg
    6065        or %l7, %lo(_gp), %l7
    6166       
Note: See TracChangeset for help on using the changeset viewer.