Changes in uspace/lib/c/arch/ppc32/src/fibril.S [fe124d63:b66cc97] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/ppc32/src/fibril.S
rfe124d63 rb66cc97 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.