/uspace/trunk/libc/arch/ia32/src/entry.s |
---|
36,6 → 36,11 |
# |
# |
__entry: |
mov %ss, %ax |
mov %ax, %ds |
mov %ax, %es |
mov %ax, %fs |
mov %ax, %gs |
call main |
call __exit |
/uspace/trunk/libc/arch/ia32/src/syscall.c |
---|
33,7 → 33,7 |
sysarg_t ret; |
asm volatile ( |
"int $0x80\n" |
"int $0x30\n" |
: "=a" (ret) |
: "a" (id), |
"b" (p1), |