Changeset a35a3d8 in mainline for uspace/lib/c/arch/sparc64/src/fibril.S
- Timestamp:
- 2018-03-12T17:13:46Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b127e4af
- Parents:
- f3d47c97
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-12 17:13:46)
- git-committer:
- GitHub <noreply@…> (2018-03-12 17:13:46)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/sparc64/src/fibril.S
rf3d47c97 ra35a3d8 32 32 .text 33 33 34 FUNCTION_BEGIN( context_save)34 FUNCTION_BEGIN(__setjmp) 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 1, %o0 ! context_save_arch returns 160 FUNCTION_END( context_save)59 mov 0, %o0 ! __setjmp returns 0 60 FUNCTION_END(__setjmp) 61 61 62 FUNCTION_BEGIN( context_restore)62 FUNCTION_BEGIN(__longjmp) 63 63 # 64 64 # Flush all active windows. … … 89 89 ldx [%o0 + CONTEXT_OFFSET_TP], %g7 90 90 retl 91 xor %o0, %o0, %o0 ! context_restore_arch returns 092 FUNCTION_END( context_restore)91 mov %o1, %o0 ! __longjmp returns second argument 92 FUNCTION_END(__longjmp)
Note:
See TracChangeset
for help on using the changeset viewer.