Changeset 55f068c in mainline for uspace/lib/c/arch/ppc32/src/fibril.S


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/ppc32/src/fibril.S

    r615e83d r55f068c  
    3333#include <libarch/fibril_context.h>
    3434
    35 FUNCTION_BEGIN(setjmp)
     35FUNCTION_BEGIN(__setjmp)
    3636        stw sp, CONTEXT_OFFSET_SP(r3)
    3737        stw r2, CONTEXT_OFFSET_TLS(r3)
     
    6262        stw r4, CONTEXT_OFFSET_CR(r3)
    6363
    64         # setjmp returns 0
     64        # __setjmp returns 0
    6565        li r3, 0
    6666        blr
    67 FUNCTION_END(setjmp)
     67FUNCTION_END(__setjmp)
    6868
    6969FUNCTION_BEGIN(__longjmp)
Note: See TracChangeset for help on using the changeset viewer.