Changeset e405228 in mainline
- Timestamp:
- 2010-01-02T18:52:06Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8786aa5
- Parents:
- a7a0417 (diff), c6d130c (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. - Location:
- uspace/lib/libc
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/arch/ppc32/src/entry.s
ra7a0417 re405228 38 38 # 39 39 __entry: 40 # 41 # Create the first stack frame. 42 # 43 li %r3, 0 44 stw %r3, 0(%r1) 45 stwu %r1, -16(%r1) 46 40 47 # Pass the PCB pointer to __main() as the first argument. 41 48 # The first argument is passed in r3. -
uspace/lib/libc/arch/ppc32/src/stacktrace.S
ra7a0417 re405228 38 38 39 39 frame_pointer_get: 40 mr r3, sp 41 blr 42 40 43 frame_pointer_prev: 44 lwz r3, 0(r3) 45 blr 46 41 47 frame_pointer_validate: 48 blr 49 42 50 return_address_get: 51 lwz r3, 4(r3) 52 blr 53 43 54 program_counter_get: 44 li r3, 055 mflr r3 45 56 blr -
uspace/lib/libc/arch/ppc32/src/thread_entry.s
ra7a0417 re405228 35 35 # 36 36 __thread_entry: 37 # 38 # Create the first stack frame. 39 # 40 li %r4, 0 41 stw %r4, 0(%r1) 42 stwu %r1, -16(%r1) 43 37 44 b __thread_main 38 45 -
uspace/lib/libc/generic/stacktrace.c
ra7a0417 re405228 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 by 56 * making it a non-tail call. 57 */ 58 (void) frame_pointer_get(); 54 59 } 55 60
Note:
See TracChangeset
for help on using the changeset viewer.