Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 959 → Rev 960

/uspace/trunk/libc/arch/ia32/src/syscall.c
28,7 → 28,8
 
#include <libc.h>
 
sysarg_t __syscall(const syscall_t id, const sysarg_t p1, const sysarg_t p2, const sysarg_t p3)
sysarg_t __syscall(const sysarg_t p1, const sysarg_t p2, const sysarg_t p3,
const sysarg_t p4, const syscall_t id)
{
sysarg_t ret;
35,10 → 36,11
asm volatile (
"int $0x30\n"
: "=a" (ret)
: "a" (id),
"b" (p1),
"c" (p2),
"d" (p3)
: "a" (p1),
"b" (p2),
"c" (p3),
"d" (p4),
"S" (id)
);
return ret;