Changeset 32573ff in mainline for uspace/lib/c/arch/sparc64/src/stacktrace_asm.S
- Timestamp:
- 2016-05-02T20:58:16Z (8 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
-
uspace/lib/c/arch/sparc64/src/stacktrace_asm.S
r6adb775f r32573ff 27 27 # 28 28 29 #include <abi/asmtool.h> 29 30 #include <libarch/stack.h> 30 31 31 32 .text 32 33 33 .global stacktrace_prepare 34 .global stacktrace_fp_get 35 .global stacktrace_pc_get 36 37 stacktrace_prepare: 34 FUNCTION_BEGIN(stacktrace_prepare) 38 35 save %sp, -(STACK_WINDOW_SAVE_AREA_SIZE+STACK_ARG_SAVE_AREA_SIZE), %sp 39 36 # Flush all other windows to memory so that we can read their contents. … … 41 38 ret 42 39 restore 40 FUNCTION_END(stacktrace_prepare) 43 41 44 stacktrace_fp_get: 42 FUNCTION_BEGIN(stacktrace_fp_get) 45 43 # Add the stack bias to %sp to get the actual address. 46 44 retl 47 45 add %sp, STACK_BIAS, %o0 46 FUNCTION_END(stacktrace_fp_get) 48 47 49 stacktrace_pc_get: 48 FUNCTION_BEGIN(stacktrace_pc_get) 50 49 retl 51 50 mov %o7, %o0 51 FUNCTION_END(stacktrace_pc_get)
Note:
See TracChangeset
for help on using the changeset viewer.