Changeset 38ad239 in mainline for uspace/lib/c/arch/sparc32/src/stacktrace_asm.S
- Timestamp:
- 2016-04-24T08:42:07Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bc41f3a3
- Parents:
- b66cc97
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/sparc32/src/stacktrace_asm.S
rb66cc97 r38ad239 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 … … 53 50 ret 54 51 restore 52 FUNCTION_END(stacktrace_prepare) 55 53 56 stacktrace_fp_get: 54 FUNCTION_BEGIN(stacktrace_fp_get) 57 55 # Add the stack bias to %sp to get the actual address. 58 56 retl 59 57 mov %sp, %o0 58 FUNCTION_END(stacktrace_fp_get) 60 59 61 stacktrace_pc_get: 60 FUNCTION_BEGIN(stacktrace_pc_get) 62 61 retl 63 62 mov %o7, %o0 63 FUNCTION_END(stacktrace_pc_get)
Note:
See TracChangeset
for help on using the changeset viewer.