Changeset b9b105e1 in mainline


Ignore:
Timestamp:
2009-12-28T20:37:44Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
83a0e47
Parents:
a6aef4e
Message:

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

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

Legend:

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

    ra6aef4e rb9b105e1  
    5555        movl $__syscall_fast, (%eax)
    56560:
     57        #
     58        # Stop stack traces in this function.
     59        #
     60        xorl %ebp, %ebp
    5761
    5862        # Pass the PCB pointer to __main as the first argument
  • uspace/lib/libc/arch/ia32/src/thread_entry.s

    ra6aef4e rb9b105e1  
    4242
    4343        #
     44        # Stop stack traces in this function.
     45        #
     46        xorl %ebp, %ebp
     47
     48        #
    4449        # EAX contains address of uarg.
    4550        #
Note: See TracChangeset for help on using the changeset viewer.