|
|
|
@ -22,10 +22,10 @@ struct syscallname { |
|
|
|
int nr; |
|
|
|
const char *name; |
|
|
|
const char *format; |
|
|
|
void (*call)(void *, const struct syscallname *, |
|
|
|
void (*call)(CPUArchState *, const struct syscallname *, |
|
|
|
abi_long, abi_long, abi_long, |
|
|
|
abi_long, abi_long, abi_long); |
|
|
|
void (*result)(void *, const struct syscallname *, abi_long, |
|
|
|
void (*result)(CPUArchState *, const struct syscallname *, abi_long, |
|
|
|
abi_long, abi_long, abi_long, |
|
|
|
abi_long, abi_long, abi_long); |
|
|
|
}; |
|
|
|
@ -593,7 +593,7 @@ print_fdset(int n, abi_ulong target_fds_addr) |
|
|
|
/* select */ |
|
|
|
#ifdef TARGET_NR__newselect |
|
|
|
static void |
|
|
|
print_newselect(void *cpu_env, const struct syscallname *name, |
|
|
|
print_newselect(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg1, abi_long arg2, abi_long arg3, |
|
|
|
abi_long arg4, abi_long arg5, abi_long arg6) |
|
|
|
{ |
|
|
|
@ -611,7 +611,7 @@ print_newselect(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_semctl |
|
|
|
static void |
|
|
|
print_semctl(void *cpu_env, const struct syscallname *name, |
|
|
|
print_semctl(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg1, abi_long arg2, abi_long arg3, |
|
|
|
abi_long arg4, abi_long arg5, abi_long arg6) |
|
|
|
{ |
|
|
|
@ -623,7 +623,7 @@ print_semctl(void *cpu_env, const struct syscallname *name, |
|
|
|
#endif |
|
|
|
|
|
|
|
static void |
|
|
|
print_execve(void *cpu_env, const struct syscallname *name, |
|
|
|
print_execve(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg1, abi_long arg2, abi_long arg3, |
|
|
|
abi_long arg4, abi_long arg5, abi_long arg6) |
|
|
|
{ |
|
|
|
@ -656,7 +656,7 @@ print_execve(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_ipc |
|
|
|
static void |
|
|
|
print_ipc(void *cpu_env, const struct syscallname *name, |
|
|
|
print_ipc(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg1, abi_long arg2, abi_long arg3, |
|
|
|
abi_long arg4, abi_long arg5, abi_long arg6) |
|
|
|
{ |
|
|
|
@ -700,7 +700,7 @@ print_syscall_err(abi_long ret) |
|
|
|
} |
|
|
|
|
|
|
|
static void |
|
|
|
print_syscall_ret_addr(void *cpu_env, const struct syscallname *name, |
|
|
|
print_syscall_ret_addr(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long ret, abi_long arg0, abi_long arg1, |
|
|
|
abi_long arg2, abi_long arg3, abi_long arg4, |
|
|
|
abi_long arg5) |
|
|
|
@ -721,7 +721,7 @@ print_syscall_ret_raw(struct syscallname *name, abi_long ret) |
|
|
|
|
|
|
|
#ifdef TARGET_NR__newselect |
|
|
|
static void |
|
|
|
print_syscall_ret_newselect(void *cpu_env, const struct syscallname *name, |
|
|
|
print_syscall_ret_newselect(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long ret, abi_long arg0, abi_long arg1, |
|
|
|
abi_long arg2, abi_long arg3, abi_long arg4, |
|
|
|
abi_long arg5) |
|
|
|
@ -751,7 +751,7 @@ print_syscall_ret_newselect(void *cpu_env, const struct syscallname *name, |
|
|
|
#define TARGET_TIME_ERROR 5 /* clock not synchronized */ |
|
|
|
#ifdef TARGET_NR_adjtimex |
|
|
|
static void |
|
|
|
print_syscall_ret_adjtimex(void *cpu_env, const struct syscallname *name, |
|
|
|
print_syscall_ret_adjtimex(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long ret, abi_long arg0, abi_long arg1, |
|
|
|
abi_long arg2, abi_long arg3, abi_long arg4, |
|
|
|
abi_long arg5) |
|
|
|
@ -786,7 +786,7 @@ print_syscall_ret_adjtimex(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#if defined(TARGET_NR_clock_gettime) || defined(TARGET_NR_clock_getres) |
|
|
|
static void |
|
|
|
print_syscall_ret_clock_gettime(void *cpu_env, const struct syscallname *name, |
|
|
|
print_syscall_ret_clock_gettime(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long ret, abi_long arg0, abi_long arg1, |
|
|
|
abi_long arg2, abi_long arg3, abi_long arg4, |
|
|
|
abi_long arg5) |
|
|
|
@ -805,7 +805,7 @@ print_syscall_ret_clock_gettime(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_gettimeofday |
|
|
|
static void |
|
|
|
print_syscall_ret_gettimeofday(void *cpu_env, const struct syscallname *name, |
|
|
|
print_syscall_ret_gettimeofday(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long ret, abi_long arg0, abi_long arg1, |
|
|
|
abi_long arg2, abi_long arg3, abi_long arg4, |
|
|
|
abi_long arg5) |
|
|
|
@ -824,7 +824,7 @@ print_syscall_ret_gettimeofday(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_getitimer |
|
|
|
static void |
|
|
|
print_syscall_ret_getitimer(void *cpu_env, const struct syscallname *name, |
|
|
|
print_syscall_ret_getitimer(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long ret, abi_long arg0, abi_long arg1, |
|
|
|
abi_long arg2, abi_long arg3, abi_long arg4, |
|
|
|
abi_long arg5) |
|
|
|
@ -843,7 +843,7 @@ print_syscall_ret_getitimer(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_getitimer |
|
|
|
static void |
|
|
|
print_syscall_ret_setitimer(void *cpu_env, const struct syscallname *name, |
|
|
|
print_syscall_ret_setitimer(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long ret, abi_long arg0, abi_long arg1, |
|
|
|
abi_long arg2, abi_long arg3, abi_long arg4, |
|
|
|
abi_long arg5) |
|
|
|
@ -862,7 +862,7 @@ print_syscall_ret_setitimer(void *cpu_env, const struct syscallname *name, |
|
|
|
#if defined(TARGET_NR_listxattr) || defined(TARGET_NR_llistxattr) \ |
|
|
|
|| defined(TARGGET_NR_flistxattr) |
|
|
|
static void |
|
|
|
print_syscall_ret_listxattr(void *cpu_env, const struct syscallname *name, |
|
|
|
print_syscall_ret_listxattr(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long ret, abi_long arg0, abi_long arg1, |
|
|
|
abi_long arg2, abi_long arg3, abi_long arg4, |
|
|
|
abi_long arg5) |
|
|
|
@ -894,7 +894,7 @@ print_syscall_ret_listxattr(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_ioctl |
|
|
|
static void |
|
|
|
print_syscall_ret_ioctl(void *cpu_env, const struct syscallname *name, |
|
|
|
print_syscall_ret_ioctl(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long ret, abi_long arg0, abi_long arg1, |
|
|
|
abi_long arg2, abi_long arg3, abi_long arg4, |
|
|
|
abi_long arg5) |
|
|
|
@ -1760,7 +1760,7 @@ print_termios(void *arg) |
|
|
|
|
|
|
|
#ifdef TARGET_NR_accept |
|
|
|
static void |
|
|
|
print_accept(void *cpu_env, const struct syscallname *name, |
|
|
|
print_accept(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -1774,7 +1774,7 @@ print_accept(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_access |
|
|
|
static void |
|
|
|
print_access(void *cpu_env, const struct syscallname *name, |
|
|
|
print_access(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -1787,7 +1787,7 @@ print_access(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_acct |
|
|
|
static void |
|
|
|
print_acct(void *cpu_env, const struct syscallname *name, |
|
|
|
print_acct(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -1799,7 +1799,7 @@ print_acct(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_brk |
|
|
|
static void |
|
|
|
print_brk(void *cpu_env, const struct syscallname *name, |
|
|
|
print_brk(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -1811,7 +1811,7 @@ print_brk(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_chdir |
|
|
|
static void |
|
|
|
print_chdir(void *cpu_env, const struct syscallname *name, |
|
|
|
print_chdir(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -1823,7 +1823,7 @@ print_chdir(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_chroot |
|
|
|
static void |
|
|
|
print_chroot(void *cpu_env, const struct syscallname *name, |
|
|
|
print_chroot(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -1835,7 +1835,7 @@ print_chroot(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_chmod |
|
|
|
static void |
|
|
|
print_chmod(void *cpu_env, const struct syscallname *name, |
|
|
|
print_chmod(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -1848,7 +1848,7 @@ print_chmod(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#if defined(TARGET_NR_chown) || defined(TARGET_NR_lchown) |
|
|
|
static void |
|
|
|
print_chown(void *cpu_env, const struct syscallname *name, |
|
|
|
print_chown(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -1863,7 +1863,7 @@ print_chown(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_clock_adjtime |
|
|
|
static void |
|
|
|
print_clock_adjtime(void *cpu_env, const struct syscallname *name, |
|
|
|
print_clock_adjtime(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -1887,7 +1887,7 @@ static void do_print_clone(unsigned int flags, abi_ulong newsp, |
|
|
|
} |
|
|
|
|
|
|
|
static void |
|
|
|
print_clone(void *cpu_env, const struct syscallname *name, |
|
|
|
print_clone(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg1, abi_long arg2, abi_long arg3, |
|
|
|
abi_long arg4, abi_long arg5, abi_long arg6) |
|
|
|
{ |
|
|
|
@ -1907,7 +1907,7 @@ print_clone(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_creat |
|
|
|
static void |
|
|
|
print_creat(void *cpu_env, const struct syscallname *name, |
|
|
|
print_creat(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -1920,7 +1920,7 @@ print_creat(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_execv |
|
|
|
static void |
|
|
|
print_execv(void *cpu_env, const struct syscallname *name, |
|
|
|
print_execv(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -1933,7 +1933,7 @@ print_execv(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_faccessat |
|
|
|
static void |
|
|
|
print_faccessat(void *cpu_env, const struct syscallname *name, |
|
|
|
print_faccessat(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -1948,7 +1948,7 @@ print_faccessat(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_fallocate |
|
|
|
static void |
|
|
|
print_fallocate(void *cpu_env, const struct syscallname *name, |
|
|
|
print_fallocate(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -1968,7 +1968,7 @@ print_fallocate(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_fchmodat |
|
|
|
static void |
|
|
|
print_fchmodat(void *cpu_env, const struct syscallname *name, |
|
|
|
print_fchmodat(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -1983,7 +1983,7 @@ print_fchmodat(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_fchownat |
|
|
|
static void |
|
|
|
print_fchownat(void *cpu_env, const struct syscallname *name, |
|
|
|
print_fchownat(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -1999,7 +1999,7 @@ print_fchownat(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#if defined(TARGET_NR_fcntl) || defined(TARGET_NR_fcntl64) |
|
|
|
static void |
|
|
|
print_fcntl(void *cpu_env, const struct syscallname *name, |
|
|
|
print_fcntl(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2135,7 +2135,7 @@ print_fcntl(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_fgetxattr |
|
|
|
static void |
|
|
|
print_fgetxattr(void *cpu_env, const struct syscallname *name, |
|
|
|
print_fgetxattr(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2150,7 +2150,7 @@ print_fgetxattr(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_flistxattr |
|
|
|
static void |
|
|
|
print_flistxattr(void *cpu_env, const struct syscallname *name, |
|
|
|
print_flistxattr(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2164,7 +2164,7 @@ print_flistxattr(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#if defined(TARGET_NR_getxattr) || defined(TARGET_NR_lgetxattr) |
|
|
|
static void |
|
|
|
print_getxattr(void *cpu_env, const struct syscallname *name, |
|
|
|
print_getxattr(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2180,7 +2180,7 @@ print_getxattr(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#if defined(TARGET_NR_listxattr) || defined(TARGET_NR_llistxattr) |
|
|
|
static void |
|
|
|
print_listxattr(void *cpu_env, const struct syscallname *name, |
|
|
|
print_listxattr(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2195,7 +2195,7 @@ print_listxattr(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#if defined(TARGET_NR_fremovexattr) |
|
|
|
static void |
|
|
|
print_fremovexattr(void *cpu_env, const struct syscallname *name, |
|
|
|
print_fremovexattr(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2208,7 +2208,7 @@ print_fremovexattr(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#if defined(TARGET_NR_removexattr) || defined(TARGET_NR_lremovexattr) |
|
|
|
static void |
|
|
|
print_removexattr(void *cpu_env, const struct syscallname *name, |
|
|
|
print_removexattr(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2222,7 +2222,7 @@ print_removexattr(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_futimesat |
|
|
|
static void |
|
|
|
print_futimesat(void *cpu_env, const struct syscallname *name, |
|
|
|
print_futimesat(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2237,7 +2237,7 @@ print_futimesat(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_gettimeofday |
|
|
|
static void |
|
|
|
print_gettimeofday(void *cpu_env, const struct syscallname *name, |
|
|
|
print_gettimeofday(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2250,7 +2250,7 @@ print_gettimeofday(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_settimeofday |
|
|
|
static void |
|
|
|
print_settimeofday(void *cpu_env, const struct syscallname *name, |
|
|
|
print_settimeofday(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2263,7 +2263,7 @@ print_settimeofday(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#if defined(TARGET_NR_clock_gettime) || defined(TARGET_NR_clock_getres) |
|
|
|
static void |
|
|
|
print_clock_gettime(void *cpu_env, const struct syscallname *name, |
|
|
|
print_clock_gettime(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2277,7 +2277,7 @@ print_clock_gettime(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_clock_settime |
|
|
|
static void |
|
|
|
print_clock_settime(void *cpu_env, const struct syscallname *name, |
|
|
|
print_clock_settime(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2290,7 +2290,7 @@ print_clock_settime(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_getitimer |
|
|
|
static void |
|
|
|
print_getitimer(void *cpu_env, const struct syscallname *name, |
|
|
|
print_getitimer(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2303,7 +2303,7 @@ print_getitimer(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_setitimer |
|
|
|
static void |
|
|
|
print_setitimer(void *cpu_env, const struct syscallname *name, |
|
|
|
print_setitimer(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2317,7 +2317,7 @@ print_setitimer(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_link |
|
|
|
static void |
|
|
|
print_link(void *cpu_env, const struct syscallname *name, |
|
|
|
print_link(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2330,7 +2330,7 @@ print_link(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_linkat |
|
|
|
static void |
|
|
|
print_linkat(void *cpu_env, const struct syscallname *name, |
|
|
|
print_linkat(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2346,7 +2346,7 @@ print_linkat(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#if defined(TARGET_NR__llseek) || defined(TARGET_NR_llseek) |
|
|
|
static void |
|
|
|
print__llseek(void *cpu_env, const struct syscallname *name, |
|
|
|
print__llseek(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2369,7 +2369,7 @@ print__llseek(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_lseek |
|
|
|
static void |
|
|
|
print_lseek(void *cpu_env, const struct syscallname *name, |
|
|
|
print_lseek(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2400,7 +2400,7 @@ print_lseek(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_truncate |
|
|
|
static void |
|
|
|
print_truncate(void *cpu_env, const struct syscallname *name, |
|
|
|
print_truncate(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2413,7 +2413,7 @@ print_truncate(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_truncate64 |
|
|
|
static void |
|
|
|
print_truncate64(void *cpu_env, const struct syscallname *name, |
|
|
|
print_truncate64(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2430,7 +2430,7 @@ print_truncate64(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_ftruncate64 |
|
|
|
static void |
|
|
|
print_ftruncate64(void *cpu_env, const struct syscallname *name, |
|
|
|
print_ftruncate64(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2447,7 +2447,7 @@ print_ftruncate64(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_mlockall |
|
|
|
static void |
|
|
|
print_mlockall(void *cpu_env, const struct syscallname *name, |
|
|
|
print_mlockall(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2459,7 +2459,7 @@ print_mlockall(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#if defined(TARGET_NR_socket) |
|
|
|
static void |
|
|
|
print_socket(void *cpu_env, const struct syscallname *name, |
|
|
|
print_socket(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2920,7 +2920,7 @@ static struct { |
|
|
|
}; |
|
|
|
|
|
|
|
static void |
|
|
|
print_socketcall(void *cpu_env, const struct syscallname *name, |
|
|
|
print_socketcall(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2941,7 +2941,7 @@ print_socketcall(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#if defined(TARGET_NR_bind) |
|
|
|
static void |
|
|
|
print_bind(void *cpu_env, const struct syscallname *name, |
|
|
|
print_bind(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2955,7 +2955,7 @@ print_bind(void *cpu_env, const struct syscallname *name, |
|
|
|
#if defined(TARGET_NR_stat) || defined(TARGET_NR_stat64) || \ |
|
|
|
defined(TARGET_NR_lstat) || defined(TARGET_NR_lstat64) |
|
|
|
static void |
|
|
|
print_stat(void *cpu_env, const struct syscallname *name, |
|
|
|
print_stat(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2971,7 +2971,7 @@ print_stat(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#if defined(TARGET_NR_fstat) || defined(TARGET_NR_fstat64) |
|
|
|
static void |
|
|
|
print_fstat(void *cpu_env, const struct syscallname *name, |
|
|
|
print_fstat(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2985,7 +2985,7 @@ print_fstat(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_mkdir |
|
|
|
static void |
|
|
|
print_mkdir(void *cpu_env, const struct syscallname *name, |
|
|
|
print_mkdir(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -2998,7 +2998,7 @@ print_mkdir(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_mkdirat |
|
|
|
static void |
|
|
|
print_mkdirat(void *cpu_env, const struct syscallname *name, |
|
|
|
print_mkdirat(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3012,7 +3012,7 @@ print_mkdirat(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_rmdir |
|
|
|
static void |
|
|
|
print_rmdir(void *cpu_env, const struct syscallname *name, |
|
|
|
print_rmdir(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3024,7 +3024,7 @@ print_rmdir(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_rt_sigaction |
|
|
|
static void |
|
|
|
print_rt_sigaction(void *cpu_env, const struct syscallname *name, |
|
|
|
print_rt_sigaction(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3038,7 +3038,7 @@ print_rt_sigaction(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_rt_sigprocmask |
|
|
|
static void |
|
|
|
print_rt_sigprocmask(void *cpu_env, const struct syscallname *name, |
|
|
|
print_rt_sigprocmask(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3058,7 +3058,7 @@ print_rt_sigprocmask(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_rt_sigqueueinfo |
|
|
|
static void |
|
|
|
print_rt_sigqueueinfo(void *cpu_env, const struct syscallname *name, |
|
|
|
print_rt_sigqueueinfo(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3083,7 +3083,7 @@ print_rt_sigqueueinfo(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_rt_tgsigqueueinfo |
|
|
|
static void |
|
|
|
print_rt_tgsigqueueinfo(void *cpu_env, const struct syscallname *name, |
|
|
|
print_rt_tgsigqueueinfo(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3167,7 +3167,7 @@ print_syslog_action(abi_ulong arg, int last) |
|
|
|
} |
|
|
|
|
|
|
|
static void |
|
|
|
print_syslog(void *cpu_env, const struct syscallname *name, |
|
|
|
print_syslog(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3181,7 +3181,7 @@ print_syslog(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_mknod |
|
|
|
static void |
|
|
|
print_mknod(void *cpu_env, const struct syscallname *name, |
|
|
|
print_mknod(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3200,7 +3200,7 @@ print_mknod(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_mknodat |
|
|
|
static void |
|
|
|
print_mknodat(void *cpu_env, const struct syscallname *name, |
|
|
|
print_mknodat(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3220,7 +3220,7 @@ print_mknodat(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_mq_open |
|
|
|
static void |
|
|
|
print_mq_open(void *cpu_env, const struct syscallname *name, |
|
|
|
print_mq_open(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3239,7 +3239,7 @@ print_mq_open(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_open |
|
|
|
static void |
|
|
|
print_open(void *cpu_env, const struct syscallname *name, |
|
|
|
print_open(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3256,7 +3256,7 @@ print_open(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_openat |
|
|
|
static void |
|
|
|
print_openat(void *cpu_env, const struct syscallname *name, |
|
|
|
print_openat(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3274,7 +3274,7 @@ print_openat(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_mq_unlink |
|
|
|
static void |
|
|
|
print_mq_unlink(void *cpu_env, const struct syscallname *name, |
|
|
|
print_mq_unlink(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3286,7 +3286,7 @@ print_mq_unlink(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#if defined(TARGET_NR_fstatat64) || defined(TARGET_NR_newfstatat) |
|
|
|
static void |
|
|
|
print_fstatat64(void *cpu_env, const struct syscallname *name, |
|
|
|
print_fstatat64(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3302,7 +3302,7 @@ print_fstatat64(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_readlink |
|
|
|
static void |
|
|
|
print_readlink(void *cpu_env, const struct syscallname *name, |
|
|
|
print_readlink(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3316,7 +3316,7 @@ print_readlink(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_readlinkat |
|
|
|
static void |
|
|
|
print_readlinkat(void *cpu_env, const struct syscallname *name, |
|
|
|
print_readlinkat(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3331,7 +3331,7 @@ print_readlinkat(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_rename |
|
|
|
static void |
|
|
|
print_rename(void *cpu_env, const struct syscallname *name, |
|
|
|
print_rename(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3344,7 +3344,7 @@ print_rename(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_renameat |
|
|
|
static void |
|
|
|
print_renameat(void *cpu_env, const struct syscallname *name, |
|
|
|
print_renameat(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3359,7 +3359,7 @@ print_renameat(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_statfs |
|
|
|
static void |
|
|
|
print_statfs(void *cpu_env, const struct syscallname *name, |
|
|
|
print_statfs(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3372,7 +3372,7 @@ print_statfs(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_statfs64 |
|
|
|
static void |
|
|
|
print_statfs64(void *cpu_env, const struct syscallname *name, |
|
|
|
print_statfs64(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3385,7 +3385,7 @@ print_statfs64(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_symlink |
|
|
|
static void |
|
|
|
print_symlink(void *cpu_env, const struct syscallname *name, |
|
|
|
print_symlink(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3398,7 +3398,7 @@ print_symlink(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_symlinkat |
|
|
|
static void |
|
|
|
print_symlinkat(void *cpu_env, const struct syscallname *name, |
|
|
|
print_symlinkat(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3412,7 +3412,7 @@ print_symlinkat(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_mount |
|
|
|
static void |
|
|
|
print_mount(void *cpu_env, const struct syscallname *name, |
|
|
|
print_mount(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3428,7 +3428,7 @@ print_mount(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_umount |
|
|
|
static void |
|
|
|
print_umount(void *cpu_env, const struct syscallname *name, |
|
|
|
print_umount(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3440,7 +3440,7 @@ print_umount(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_umount2 |
|
|
|
static void |
|
|
|
print_umount2(void *cpu_env, const struct syscallname *name, |
|
|
|
print_umount2(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3453,7 +3453,7 @@ print_umount2(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_unlink |
|
|
|
static void |
|
|
|
print_unlink(void *cpu_env, const struct syscallname *name, |
|
|
|
print_unlink(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3465,7 +3465,7 @@ print_unlink(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_unlinkat |
|
|
|
static void |
|
|
|
print_unlinkat(void *cpu_env, const struct syscallname *name, |
|
|
|
print_unlinkat(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3479,7 +3479,7 @@ print_unlinkat(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_unshare |
|
|
|
static void |
|
|
|
print_unshare(void *cpu_env, const struct syscallname *name, |
|
|
|
print_unshare(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3491,7 +3491,7 @@ print_unshare(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_utime |
|
|
|
static void |
|
|
|
print_utime(void *cpu_env, const struct syscallname *name, |
|
|
|
print_utime(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3504,7 +3504,7 @@ print_utime(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_utimes |
|
|
|
static void |
|
|
|
print_utimes(void *cpu_env, const struct syscallname *name, |
|
|
|
print_utimes(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3517,7 +3517,7 @@ print_utimes(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_utimensat |
|
|
|
static void |
|
|
|
print_utimensat(void *cpu_env, const struct syscallname *name, |
|
|
|
print_utimensat(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3532,7 +3532,7 @@ print_utimensat(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#if defined(TARGET_NR_mmap) || defined(TARGET_NR_mmap2) |
|
|
|
static void |
|
|
|
print_mmap(void *cpu_env, const struct syscallname *name, |
|
|
|
print_mmap(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3550,7 +3550,7 @@ print_mmap(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_mprotect |
|
|
|
static void |
|
|
|
print_mprotect(void *cpu_env, const struct syscallname *name, |
|
|
|
print_mprotect(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3564,7 +3564,7 @@ print_mprotect(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_munmap |
|
|
|
static void |
|
|
|
print_munmap(void *cpu_env, const struct syscallname *name, |
|
|
|
print_munmap(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3617,7 +3617,7 @@ if( cmd == val ) { \ |
|
|
|
} |
|
|
|
|
|
|
|
static void |
|
|
|
print_futex(void *cpu_env, const struct syscallname *name, |
|
|
|
print_futex(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3634,7 +3634,7 @@ print_futex(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_kill |
|
|
|
static void |
|
|
|
print_kill(void *cpu_env, const struct syscallname *name, |
|
|
|
print_kill(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3647,7 +3647,7 @@ print_kill(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_tkill |
|
|
|
static void |
|
|
|
print_tkill(void *cpu_env, const struct syscallname *name, |
|
|
|
print_tkill(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3660,7 +3660,7 @@ print_tkill(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_tgkill |
|
|
|
static void |
|
|
|
print_tgkill(void *cpu_env, const struct syscallname *name, |
|
|
|
print_tgkill(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3674,7 +3674,7 @@ print_tgkill(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_statx |
|
|
|
static void |
|
|
|
print_statx(void *cpu_env, const struct syscallname *name, |
|
|
|
print_statx(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3690,7 +3690,7 @@ print_statx(void *cpu_env, const struct syscallname *name, |
|
|
|
|
|
|
|
#ifdef TARGET_NR_ioctl |
|
|
|
static void |
|
|
|
print_ioctl(void *cpu_env, const struct syscallname *name, |
|
|
|
print_ioctl(CPUArchState *cpu_env, const struct syscallname *name, |
|
|
|
abi_long arg0, abi_long arg1, abi_long arg2, |
|
|
|
abi_long arg3, abi_long arg4, abi_long arg5) |
|
|
|
{ |
|
|
|
@ -3775,7 +3775,7 @@ static int nsyscalls = ARRAY_SIZE(scnames); |
|
|
|
* The public interface to this module. |
|
|
|
*/ |
|
|
|
void |
|
|
|
print_syscall(void *cpu_env, int num, |
|
|
|
print_syscall(CPUArchState *cpu_env, int num, |
|
|
|
abi_long arg1, abi_long arg2, abi_long arg3, |
|
|
|
abi_long arg4, abi_long arg5, abi_long arg6) |
|
|
|
{ |
|
|
|
@ -3804,7 +3804,7 @@ print_syscall(void *cpu_env, int num, |
|
|
|
|
|
|
|
|
|
|
|
void |
|
|
|
print_syscall_ret(void *cpu_env, int num, abi_long ret, |
|
|
|
print_syscall_ret(CPUArchState *cpu_env, int num, abi_long ret, |
|
|
|
abi_long arg1, abi_long arg2, abi_long arg3, |
|
|
|
abi_long arg4, abi_long arg5, abi_long arg6) |
|
|
|
{ |
|
|
|
|