Ignore:
Timestamp:
2018-03-11T17:15:15Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Children:
12ae6d8
Parents:
615e83d
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-11 17:07:39)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-11 17:15:15)
Message:

Rename setjmp function to setjmp, use _Noreturn instead of attribute((noreturn)), minor comment changes.

Renaming for consistency with longjmp, and to better express that the implementation
of
setjmp has additional properties not defined by the C standard.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/mips32/src/fibril.S

    r615e83d r55f068c  
    3535#include <libarch/fibril_context.h>
    3636
    37 FUNCTION_BEGIN(setjmp)
     37FUNCTION_BEGIN(__setjmp)
    3838        sw $s0, CONTEXT_OFFSET_S0($a0)
    3939        sw $s1, CONTEXT_OFFSET_S1($a0)
     
    8787        sw $sp, CONTEXT_OFFSET_SP($a0)
    8888
    89         # setjmp returns 0
     89        # __setjmp returns 0
    9090        j $ra
    9191        li $v0, 0
    92 FUNCTION_END(setjmp)
     92FUNCTION_END(__setjmp)
    9393
    9494FUNCTION_BEGIN(__longjmp)
Note: See TracChangeset for help on using the changeset viewer.