/branches/tracing/uspace/lib/libc/arch/amd64/src/entry.s |
---|
34,8 → 34,11 |
## User-space task entry point |
# |
# %rdi contains the PCB pointer |
# |
__entry: |
# %rdi was deliberately chosen as the first argument is also in %rdi |
# Pass PCB pointer to __main (no operation) |
call __main |
call main |
call __exit |