Changes in kernel/arch/sparc32/src/context.S [38ad239:208b5f5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc32/src/context.S
r38ad239 r208b5f5 28 28 # 29 29 30 #include <abi/asmtool.h>31 30 #include <arch/context_offset.h> 32 31 #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 … … 60 62 retl 61 63 mov 1, %o0 ! context_save_arch returns 1 62 FUNCTION_END(context_save_arch)63 64 64 FUNCTION_BEGIN(context_restore_arch) 65 context_restore_arch: 65 66 # 66 67 # Forget all previous windows, they are not going to be needed again. … … 96 97 retl 97 98 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.