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/ia32/src/entry.s

    rb7f9087 rc98e6ee  
    3535## User-space task entry point
    3636#
     37# %ebx contains the PCB pointer
    3738#
    3839__entry:
     
    4243        mov %ax, %fs
    4344        # Do not set %gs, it contains descriptor that can see TLS
    44        
     45
     46        # Pass the PCB pointer to __main as the first argument
     47        pushl %ebx
    4548        call __main
    46         call main
     49
    4750        call __exit
Note: See TracChangeset for help on using the changeset viewer.