Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1366 → Rev 1367

/uspace/trunk/libc/arch/ia32/src/entry.s
31,6 → 31,7
.org 0
 
.globl __entry
.globl __entry_driver
 
## User-space task entry point
#
42,8 → 43,18
mov %ax, %fs
# Do not set %gs, it contains descriptor that can see TLS
call __main
call __main
call __io_init
call main
call __exit
.end __entry
__entry_driver:
mov %ss, %ax
mov %ax, %ds
mov %ax, %es
mov %ax, %fs
# Do not set %gs, it contains descriptor that can see TLS
call __main
call main
call __exit