Ignore:
Timestamp:
2010-01-02T18:50:48Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3c01906, e405228
Parents:
c83d2b4
Message:

Create the initial stack frame in task and thread entry points.

File:
1 edited

Legend:

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

    rc83d2b4 rc6d130c  
    3838#
    3939__entry:
     40        #
     41        # Create the first stack frame.
     42        #
     43        li %r3, 0
     44        stw %r3, 0(%r1)
     45        stwu %r1, -16(%r1)
     46
    4047        # Pass the PCB pointer to __main() as the first argument.
    4148        # The first argument is passed in r3.
Note: See TracChangeset for help on using the changeset viewer.