Changes in uspace/lib/c/arch/ppc32/src/fibril.S [b66cc97:fe124d63] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/ppc32/src/fibril.S
rb66cc97 rfe124d63 29 29 .text 30 30 31 #include <abi/asmtool.h> 31 .global context_save 32 .global context_restore 33 32 34 #include <libarch/regname.h> 33 35 #include <libarch/fibril_context.h> 34 36 35 FUNCTION_BEGIN(context_save) 37 context_save: 36 38 stw sp, CONTEXT_OFFSET_SP(r3) 37 39 stw r2, CONTEXT_OFFSET_TLS(r3) … … 65 67 li r3, 1 66 68 blr 67 FUNCTION_END(context_save)68 69 69 FUNCTION_BEGIN(context_restore) 70 71 context_restore: 70 72 lwz sp, CONTEXT_OFFSET_SP(r3) 71 73 lwz r2, CONTEXT_OFFSET_TLS(r3) … … 99 101 li r3, 0 100 102 blr 101 FUNCTION_END(context_restore)
Note:
See TracChangeset
for help on using the changeset viewer.