Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 960 → Rev 948

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