Changeset 62e1e1d in mainline


Ignore:
Timestamp:
2009-12-29T21:24:44Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3c4762c
Parents:
d6ff0fc5
Message:

Clear the RBP register in the task and thread entry functions to stop tracing
the stack beyond those points.

Location:
uspace/lib/libc/arch/amd64/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/arch/amd64/src/entry.s

    rd6ff0fc5 r62e1e1d  
    3838#
    3939__entry:
     40        #
     41        # Stop stack traces in this function.
     42        #
     43        xorq %rbp, %rbp
     44       
    4045        # %rdi was deliberately chosen as the first argument is also in %rdi
    4146        # Pass PCB pointer to __main (no operation)
  • uspace/lib/libc/arch/amd64/src/thread_entry.s

    rd6ff0fc5 r62e1e1d  
    3636__thread_entry:
    3737        #
     38        # Stop stack traces in this function.
     39        #
     40        xorq %rbp, %rbp
     41
     42        #
    3843        # RAX contains address of uarg
    3944        #
Note: See TracChangeset for help on using the changeset viewer.