Changeset a52e2f4 in mainline for kernel/arch/sparc64/src/context.S
- Timestamp:
- 2016-04-23T20:27:28Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0407636
- Parents:
- 27f67f5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/context.S
r27f67f5 ra52e2f4 27 27 # 28 28 29 #include <abi/asmtool.h> 29 30 #include <arch/context_struct.h> 30 31 #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 … … 67 65 retl 68 66 mov 1, %o0 ! context_save_arch returns 1 67 FUNCTION_END(context_save_arch) 69 68 70 context_restore_arch: 69 FUNCTION_BEGIN(context_restore_arch) 71 70 # 72 71 # Forget all previous windows, they are not going to be needed again. … … 106 105 retl 107 106 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.