Changeset 47246f4 in mainline for uspace/lib/libc/arch/amd64
- Timestamp:
- 2009-12-30T18:34:15Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 01fda09
- Parents:
- ee2f1aae
- Location:
- uspace/lib/libc/arch/amd64/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/arch/amd64/src/entry.s
ree2f1aae r47246f4 39 39 __entry: 40 40 # 41 # Stop stack traces in this function.41 # Create the first stack frame. 42 42 # 43 xorq %rbp, %rbp 43 pushq $0 44 mov %rsp, %rbp 44 45 45 46 # %rdi was deliberately chosen as the first argument is also in %rdi -
uspace/lib/libc/arch/amd64/src/stacktrace.S
ree2f1aae r47246f4 33 33 .global frame_pointer_validate 34 34 .global return_address_get 35 .global program_counter_get 35 36 36 37 frame_pointer_get: … … 49 50 movq 8(%rdi), %rax 50 51 ret 52 53 program_counter_get: 54 movq (%rsp), %rax 55 ret -
uspace/lib/libc/arch/amd64/src/thread_entry.s
ree2f1aae r47246f4 36 36 __thread_entry: 37 37 # 38 # Stop stack traces in this function.38 # Create the first stack frame. 39 39 # 40 xorq %rbp, %rbp 40 pushq $0 41 movq %rsp, %rbp 41 42 42 43 #
Note:
See TracChangeset
for help on using the changeset viewer.