Ignore:
Timestamp:
2013-12-28T17:30:44Z (10 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/fibril.S

    rc1023bcb r1df1905  
    4040        # should a thread switch occur.
    4141        #
    42         mov 7, %g1
    43 1:      subcc %g1, 1, %g1
    44         bg 1b
    45         save %sp, -64, %sp
    46 
     42       
    4743        mov 7, %g1
    48 1:      subcc %g1, 1, %g1
    49         bg 1b
    50         restore
    51 
     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                restore
     54       
    5255        CONTEXT_SAVE_ARCH_CORE %o0
    5356        retl
    54         mov 1, %o0              ! context_save_arch returns 1
     57        mov 1, %o0              ! context_save_arch returns 1
    5558
    5659context_restore:
     
    6164        # windows mitigates this problem as CWP - 1 becomes the overlap window.
    6265        #
    63 # XXX
    64 #       flushw
    65 #        ta 0x4f
    66 #        nop
    67         mov 7, %g1
    68 1:      subcc %g1, 1, %g1
    69         bg 1b
    70         save %sp, -64, %sp
    71 
     66       
     67        ## XXX
     68        ## flushw
     69        ## ta 0x4f
     70        ## nop
    7271        mov 7, %g1
    73 1:      subcc %g1, 1, %g1
    74         bg 1b
    75         restore
     72        1:
     73                subcc %g1, 1, %g1
     74                bg 1b
     75                save %sp, -64, %sp
     76       
     77        mov 7, %g1
     78        1:
     79                subcc %g1, 1, %g1
     80                bg 1b
     81                restore
    7682       
    7783        CONTEXT_RESTORE_ARCH_CORE %o0
    7884        retl
    79         xor %o0, %o0, %o0       ! context_restore_arch returns 0
     85        xor %o0, %o0, %o0       ! context_restore_arch returns 0
Note: See TracChangeset for help on using the changeset viewer.