Changeset a52e2f4 in mainline for kernel/arch/sparc64/src/debug/stacktrace_asm.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/debug/stacktrace_asm.S
r27f67f5 ra52e2f4 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.