Changes in / [e405228:a7a0417] in mainline
- Location:
- uspace/lib/libc
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/arch/ppc32/src/entry.s
re405228 ra7a0417 38 38 # 39 39 __entry: 40 #41 # Create the first stack frame.42 #43 li %r3, 044 stw %r3, 0(%r1)45 stwu %r1, -16(%r1)46 47 40 # Pass the PCB pointer to __main() as the first argument. 48 41 # The first argument is passed in r3. -
uspace/lib/libc/arch/ppc32/src/stacktrace.S
re405228 ra7a0417 38 38 39 39 frame_pointer_get: 40 mr r3, sp 40 frame_pointer_prev: 41 frame_pointer_validate: 42 return_address_get: 43 program_counter_get: 44 li r3, 0 41 45 blr 42 43 frame_pointer_prev:44 lwz r3, 0(r3)45 blr46 47 frame_pointer_validate:48 blr49 50 return_address_get:51 lwz r3, 4(r3)52 blr53 54 program_counter_get:55 mflr r356 blr -
uspace/lib/libc/arch/ppc32/src/thread_entry.s
re405228 ra7a0417 35 35 # 36 36 __thread_entry: 37 #38 # Create the first stack frame.39 #40 li %r4, 041 stw %r4, 0(%r1)42 stwu %r1, -16(%r1)43 44 37 b __thread_main 45 38 -
uspace/lib/libc/generic/stacktrace.c
re405228 ra7a0417 52 52 { 53 53 stack_trace_fp_pc(frame_pointer_get(), program_counter_get()); 54 /*55 * Prevent the tail call optimization of the previous call by56 * making it a non-tail call.57 */58 (void) frame_pointer_get();59 54 } 60 55
Note:
See TracChangeset
for help on using the changeset viewer.