Changes in kernel/arch/sparc32/src/context.S [208b5f5:38ad239] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc32/src/context.S
r208b5f5 r38ad239 28 28 # 29 29 30 #include <abi/asmtool.h> 30 31 #include <arch/context_offset.h> 31 32 #include <arch/arch.h> … … 33 34 .text 34 35 35 .global context_save_arch36 .global context_restore_arch37 38 36 /* 39 37 * context_save_arch() is required not to create its own stack frame. See the 40 38 * generic context.h for explanation. 41 39 */ 42 context_save_arch: 40 FUNCTION_BEGIN(context_save_arch) 43 41 # 44 42 # Force all our active register windows to memory so that we can find … … 62 60 retl 63 61 mov 1, %o0 ! context_save_arch returns 1 62 FUNCTION_END(context_save_arch) 64 63 65 context_restore_arch: 64 FUNCTION_BEGIN(context_restore_arch) 66 65 # 67 66 # Forget all previous windows, they are not going to be needed again. … … 97 96 retl 98 97 xor %o0, %o0, %o0 ! context_restore_arch returns 0 98 FUNCTION_END(context_restore_arch)
Note:
See TracChangeset
for help on using the changeset viewer.