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