Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 1113 → Rev 1099

//uspace/trunk/libc/arch/ia32/src/thread_entry.s
38,13 → 38,14
mov %dx, %ds
mov %dx, %es
mov %dx, %fs
# Do not set %gs, it contains descriptor that can see TLS
mov %dx, %gs
 
#
# EAX contains address of uarg.
#
pushl %eax
call __thread_main
call thread_main
addl $4, %esp
#
# Not reached.
//uspace/trunk/libc/arch/ia32/src/entry.s
40,9 → 40,8
mov %ax, %ds
mov %ax, %es
mov %ax, %fs
# Do not set %gs, it contains descriptor that can see TLS
mov %ax, %gs
call __main
call main
call __exit