Changes in uspace/lib/c/arch/sparc64/src/fibril.S [50805c9:a52e2f4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/sparc64/src/fibril.S
r50805c9 ra52e2f4 27 27 # 28 28 29 #include <abi/asmtool.h> 29 30 #include <libarch/fibril_context.h> 30 31 31 32 .text 32 33 33 .global context_save 34 .global context_restore 35 36 context_save: 34 FUNCTION_BEGIN(context_save) 37 35 # 38 36 # We rely on the kernel to flush our active register windows to memory … … 60 58 retl 61 59 mov 1, %o0 ! context_save_arch returns 1 60 FUNCTION_END(context_save) 62 61 63 context_restore: 62 FUNCTION_BEGIN(context_restore) 64 63 # 65 64 # Flush all active windows. … … 91 90 retl 92 91 xor %o0, %o0, %o0 ! context_restore_arch returns 0 92 FUNCTION_END(context_restore)
Note:
See TracChangeset
for help on using the changeset viewer.