Ignore:
Timestamp:
2008-07-08T16:05:45Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f93f168
Parents:
b7f9087
Message:

Merge program-loader related stuff from dynload branch to trunk. (huge)

File:
1 edited

Legend:

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

    rb7f9087 rc98e6ee  
    3535## User-space task entry point
    3636#
     37# %o0 contains uarg
     38# %o1 contains pcb_ptr
    3739#
    3840__entry:
     41        # Pass pcb_ptr as the first argument to __main()
     42        mov %o1, %o0
    3943        sethi %hi(_gp), %l7
    4044        call __main
    4145        or %l7, %lo(_gp), %l7
    42         call main
    43         nop
     46
    4447        call __exit
    4548        nop
Note: See TracChangeset for help on using the changeset viewer.