Go to the source code of this file.
|
#define | _syscall0(type, name) |
|
#define | _syscall1(type, name, type1, arg1) |
|
#define | _syscall2(type, name, type1, arg1, type2, arg2) |
|
#define | _syscall3(type, name, type1, arg1, type2, arg2, type3, arg3) |
|
#define | _syscall4(type, name, type1, arg1, type2, arg2, type3, arg3, type4, arg4) |
|
#define | _syscall5(type, name, type1, arg1, type2, arg2, type3, arg3, type4, arg4, type5, arg5) |
|
#define | _syscall6(type, name, type1, arg1, type2, arg2, type3, arg3, type4, arg4, type5, arg5, type6, arg6) |
|
Value:
{ \
register
long __a
__asm__ (
"r10"); \
__asm__ __volatile__ (".ifnc %0%1,$r10$r9\n\t" \
".err\n\t" \
".endif\n\t" \
"break 13" \
: "=r" (__a) \
: "r" (__n_)); \
if (__a >= 0) \
errno = -__a; \
}
Definition at line 9 of file unistd.h.
Value:
{ \
__asm__ __volatile__ (".ifnc %0%1,$r10$r9\n\t" \
".err\n\t" \
".endif\n\t" \
"break 13" \
: "=r" (__a) \
: "r" (__n_), "0" (__a)); \
if (__a >= 0) \
errno = -__a; \
}
Definition at line 26 of file unistd.h.
Value:
{ \
__asm__ __volatile__ (".ifnc %0%1%3,$r10$r9$r11\n\t" \
".err\n\t" \
".endif\n\t" \
"break 13" \
: "=r" (__a) \
: "r" (__n_), "0" (__a), "r" (__b)); \
if (__a >= 0) \
errno = -__a; \
}
Definition at line 43 of file unistd.h.
Value:
{ \
__asm__ __volatile__ (".ifnc %0%1%3%4,$r10$r9$r11$r12\n\t" \
".err\n\t" \
".endif\n\t" \
"break 13" \
: "=r" (__a) \
: "r" (__n_), "0" (__a), "r" (__b), "r" (__c)); \
if (__a >= 0) \
errno = -__a; \
}
Definition at line 61 of file unistd.h.
Value:
{ \
__asm__ __volatile__ (".ifnc %0%1%3%4%5,$r10$r9$r11$r12$r13\n\t" \
".err\n\t" \
".endif\n\t" \
"break 13" \
: "=r" (__a) \
: "r" (__n_), "0" (__a), "r" (__b), \
"r" (__c), "r" (__d)); \
if (__a >= 0) \
errno = -__a; \
}
Definition at line 80 of file unistd.h.
#define _syscall5 |
( |
|
type, |
|
|
|
name, |
|
|
|
type1, |
|
|
|
arg1, |
|
|
|
type2, |
|
|
|
arg2, |
|
|
|
type3, |
|
|
|
arg3, |
|
|
|
type4, |
|
|
|
arg4, |
|
|
|
type5, |
|
|
|
arg5 |
|
) |
| |
Value:
{ \
__asm__ __volatile__ (".ifnc %0%1%3%4%5,$r10$r9$r11$r12$r13\n\t" \
".err\n\t" \
".endif\n\t" \
"move %6,$mof\n\t" \
"break 13" \
: "=r" (__a) \
: "r" (__n_), "0" (__a), "r" (__b), \
"r" (__c),
"r" (__d),
"g" (
arg5)); \
if (__a >= 0) \
errno = -__a; \
}
Definition at line 101 of file unistd.h.
#define _syscall6 |
( |
|
type, |
|
|
|
name, |
|
|
|
type1, |
|
|
|
arg1, |
|
|
|
type2, |
|
|
|
arg2, |
|
|
|
type3, |
|
|
|
arg3, |
|
|
|
type4, |
|
|
|
arg4, |
|
|
|
type5, |
|
|
|
arg5, |
|
|
|
type6, |
|
|
|
arg6 |
|
) |
| |
Value:
{ \
__asm__ __volatile__ (".ifnc %0%1%3%4%5,$r10$r9$r11$r12$r13\n\t" \
".err\n\t" \
".endif\n\t" \
"move %6,$mof\n\tmove %7,$srp\n\t" \
"break 13" \
: "=r" (__a) \
: "r" (__n_), "0" (__a), "r" (__b), \
"r" (__c),
"r" (__d),
"g" (
arg5),
"g" (arg6)\
: "srp"); \
if (__a >= 0) \
errno = -__a; \
}
Definition at line 124 of file unistd.h.