Changeset 32573ff in mainline for uspace/lib/c/arch/ppc32/src/fibril.S
- Timestamp:
- 2016-05-02T20:58:16Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7c4b26c
- Parents:
- 6adb775f (diff), 5035ba05 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/ppc32/src/fibril.S
r6adb775f r32573ff 29 29 .text 30 30 31 .global context_save 32 .global context_restore 33 31 #include <abi/asmtool.h> 34 32 #include <libarch/regname.h> 35 33 #include <libarch/fibril_context.h> 36 34 37 context_save: 35 FUNCTION_BEGIN(context_save) 38 36 stw sp, CONTEXT_OFFSET_SP(r3) 39 37 stw r2, CONTEXT_OFFSET_TLS(r3) … … 67 65 li r3, 1 68 66 blr 67 FUNCTION_END(context_save) 69 68 70 71 context_restore: 69 FUNCTION_BEGIN(context_restore) 72 70 lwz sp, CONTEXT_OFFSET_SP(r3) 73 71 lwz r2, CONTEXT_OFFSET_TLS(r3) … … 101 99 li r3, 0 102 100 blr 101 FUNCTION_END(context_restore)
Note:
See TracChangeset
for help on using the changeset viewer.