Changeset 32573ff in mainline for kernel/arch/sparc32/src/context.S
- Timestamp:
- 2016-05-02T20:58:16Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7c4b26c
- Parents:
- 6adb775f (diff), 5035ba05 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc32/src/context.S
r6adb775f r32573ff 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.