/trunk/uspace/lib/libc/arch/sparc64/src/entry.s |
31,7 → 31,6 |
.org 0 |
|
.globl __entry |
.globl __entry_driver |
|
## User-space task entry point |
# |
40,18 → 39,7 |
sethi %hi(_gp), %l7 |
call __main |
or %l7, %lo(_gp), %l7 |
call __io_init |
nop |
call main |
nop |
call __exit |
nop |
|
__entry_driver: |
sethi %hi(_gp), %l7 |
call __main |
or %l7, %lo(_gp), %l7 |
call main |
nop |
call __exit |
nop |
/trunk/uspace/lib/libc/arch/ppc32/src/entry.s |
31,7 → 31,6 |
.org 0 |
|
.globl __entry |
.globl __entry_driver |
|
## User-space task entry point |
# |
38,11 → 37,5 |
# |
__entry: |
bl __main |
bl __io_init |
bl main |
bl __exit |
|
__entry_driver: |
bl __main |
bl main |
bl __exit |
/trunk/uspace/lib/libc/arch/amd64/src/entry.s |
31,7 → 31,6 |
.org 0 |
|
.globl __entry |
.globl __entry_driver |
|
## User-space task entry point |
# |
38,11 → 37,5 |
# |
__entry: |
call __main |
call __io_init |
call main |
call __exit |
|
__entry_driver: |
call __main |
call main |
call __exit |
/trunk/uspace/lib/libc/arch/ia32/src/entry.s |
31,7 → 31,6 |
.org 0 |
|
.globl __entry |
.globl __entry_driver |
|
## User-space task entry point |
# |
44,17 → 43,5 |
# Do not set %gs, it contains descriptor that can see TLS |
|
call __main |
call __io_init |
call main |
call __exit |
|
__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 |