Changes in kernel/arch/sparc64/src/context.S [a52e2f4:b482287] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/context.S
ra52e2f4 rb482287 27 27 # 28 28 29 #include <abi/asmtool.h>30 29 #include <arch/context_struct.h> 31 30 #include <arch/arch.h> … … 34 33 .text 35 34 35 .global context_save_arch 36 .global context_restore_arch 37 36 38 /* 37 39 * context_save_arch() is required not to create its own stack frame. See the 38 40 * generic context.h for explanation. 39 41 */ 40 FUNCTION_BEGIN(context_save_arch) 42 context_save_arch: 41 43 # 42 44 # Force all our active register windows to memory so that we can find … … 65 67 retl 66 68 mov 1, %o0 ! context_save_arch returns 1 67 FUNCTION_END(context_save_arch)68 69 69 FUNCTION_BEGIN(context_restore_arch) 70 context_restore_arch: 70 71 # 71 72 # Forget all previous windows, they are not going to be needed again. … … 105 106 retl 106 107 xor %o0, %o0, %o0 ! context_restore_arch returns 0 107 FUNCTION_END(context_restore_arch)
Note:
See TracChangeset
for help on using the changeset viewer.