Changeset b4f1171 in mainline for uspace/lib/c/arch/sparc64
- Timestamp:
- 2019-02-03T14:56:13Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8f99dbf
- Parents:
- a5c78a18
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-03 14:49:38)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-03 14:56:13)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/sparc64/src/fibril.S
ra5c78a18 rb4f1171 32 32 .text 33 33 34 FUNCTION_BEGIN(__ setjmp)34 FUNCTION_BEGIN(__context_save) 35 35 # 36 36 # We rely on the kernel to flush our active register windows to memory … … 57 57 stx %g7, [%o0 + __CONTEXT_OFFSET_TP] 58 58 retl 59 mov 0, %o0 ! __ setjmpreturns 060 FUNCTION_END(__ setjmp)59 mov 0, %o0 ! __context_save returns 0 60 FUNCTION_END(__context_save) 61 61 62 FUNCTION_BEGIN(__ longjmp)62 FUNCTION_BEGIN(__context_restore) 63 63 # 64 64 # Flush all active windows. … … 89 89 ldx [%o0 + __CONTEXT_OFFSET_TP], %g7 90 90 retl 91 mov %o1, %o0 ! __ longjmpreturns second argument92 FUNCTION_END(__ longjmp)91 mov %o1, %o0 ! __context_restore returns second argument 92 FUNCTION_END(__context_restore)
Note:
See TracChangeset
for help on using the changeset viewer.