Regenerate syscalls.
This commit is contained in:
parent
6520495abc
commit
871ef8b0d8
@ -455,4 +455,6 @@
|
||||
#define FREEBSD32_SYS_freebsd32_ppoll 545
|
||||
#define FREEBSD32_SYS_freebsd32_futimens 546
|
||||
#define FREEBSD32_SYS_freebsd32_utimensat 547
|
||||
#define FREEBSD32_SYS_MAXSYSCALL 548
|
||||
#define FREEBSD32_SYS_numa_getaffinity 548
|
||||
#define FREEBSD32_SYS_numa_setaffinity 549
|
||||
#define FREEBSD32_SYS_MAXSYSCALL 550
|
||||
|
@ -581,4 +581,6 @@ const char *freebsd32_syscallnames[] = {
|
||||
"freebsd32_ppoll", /* 545 = freebsd32_ppoll */
|
||||
"freebsd32_futimens", /* 546 = freebsd32_futimens */
|
||||
"freebsd32_utimensat", /* 547 = freebsd32_utimensat */
|
||||
"numa_getaffinity", /* 548 = numa_getaffinity */
|
||||
"numa_setaffinity", /* 549 = numa_setaffinity */
|
||||
};
|
||||
|
@ -618,4 +618,6 @@ struct sysent freebsd32_sysent[] = {
|
||||
{ AS(freebsd32_ppoll_args), (sy_call_t *)freebsd32_ppoll, AUE_POLL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 545 = freebsd32_ppoll */
|
||||
{ AS(freebsd32_futimens_args), (sy_call_t *)freebsd32_futimens, AUE_FUTIMES, NULL, 0, 0, 0, SY_THR_STATIC }, /* 546 = freebsd32_futimens */
|
||||
{ AS(freebsd32_utimensat_args), (sy_call_t *)freebsd32_utimensat, AUE_FUTIMESAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 547 = freebsd32_utimensat */
|
||||
{ AS(numa_getaffinity_args), (sy_call_t *)sys_numa_getaffinity, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 548 = numa_getaffinity */
|
||||
{ AS(numa_setaffinity_args), (sy_call_t *)sys_numa_setaffinity, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 549 = numa_setaffinity */
|
||||
};
|
||||
|
@ -3327,6 +3327,24 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* numa_getaffinity */
|
||||
case 548: {
|
||||
struct numa_getaffinity_args *p = params;
|
||||
iarg[0] = p->which; /* cpuwhich_t */
|
||||
iarg[1] = p->id; /* id_t */
|
||||
uarg[2] = (intptr_t) p->policy; /* struct vm_domain_policy * */
|
||||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* numa_setaffinity */
|
||||
case 549: {
|
||||
struct numa_setaffinity_args *p = params;
|
||||
iarg[0] = p->which; /* cpuwhich_t */
|
||||
iarg[1] = p->id; /* id_t */
|
||||
uarg[2] = (intptr_t) p->policy; /* const struct vm_domain_policy * */
|
||||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
*n_args = 0;
|
||||
break;
|
||||
@ -8923,6 +8941,38 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* numa_getaffinity */
|
||||
case 548:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "cpuwhich_t";
|
||||
break;
|
||||
case 1:
|
||||
p = "id_t";
|
||||
break;
|
||||
case 2:
|
||||
p = "struct vm_domain_policy *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* numa_setaffinity */
|
||||
case 549:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "cpuwhich_t";
|
||||
break;
|
||||
case 1:
|
||||
p = "id_t";
|
||||
break;
|
||||
case 2:
|
||||
p = "const struct vm_domain_policy *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
@ -10811,6 +10861,16 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* numa_getaffinity */
|
||||
case 548:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* numa_setaffinity */
|
||||
case 549:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
|
@ -1074,3 +1074,9 @@
|
||||
547 AUE_FUTIMESAT STD { int freebsd32_utimensat(int fd, \
|
||||
char *path, \
|
||||
struct timespec *times, int flag); }
|
||||
548 AUE_NULL NOPROTO { int numa_getaffinity(cpuwhich_t which, \
|
||||
id_t id, \
|
||||
struct vm_domain_policy *policy); }
|
||||
549 AUE_NULL NOPROTO { int numa_setaffinity(cpuwhich_t which, \
|
||||
id_t id, \
|
||||
const struct vm_domain_policy *policy); }
|
||||
|
@ -555,4 +555,6 @@ const char *syscallnames[] = {
|
||||
"ppoll", /* 545 = ppoll */
|
||||
"futimens", /* 546 = futimens */
|
||||
"utimensat", /* 547 = utimensat */
|
||||
"numa_getaffinity", /* 548 = numa_getaffinity */
|
||||
"numa_setaffinity", /* 549 = numa_setaffinity */
|
||||
};
|
||||
|
@ -988,5 +988,12 @@
|
||||
547 AUE_FUTIMESAT STD { int utimensat(int fd, \
|
||||
char *path, \
|
||||
struct timespec *times, int flag); }
|
||||
548 AUE_NULL STD { int numa_getaffinity(cpuwhich_t which, \
|
||||
id_t id, \
|
||||
struct vm_domain_policy_entry *policy); }
|
||||
549 AUE_NULL STD { int numa_setaffinity(cpuwhich_t which, \
|
||||
id_t id, \
|
||||
const struct vm_domain_policy_entry *policy); }
|
||||
|
||||
; Please copy any additions and changes to the following compatability tables:
|
||||
; sys/compat/freebsd32/syscalls.master
|
||||
|
@ -3337,6 +3337,24 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* numa_getaffinity */
|
||||
case 548: {
|
||||
struct numa_getaffinity_args *p = params;
|
||||
iarg[0] = p->which; /* cpuwhich_t */
|
||||
iarg[1] = p->id; /* id_t */
|
||||
uarg[2] = (intptr_t) p->policy; /* struct vm_domain_policy_entry * */
|
||||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* numa_setaffinity */
|
||||
case 549: {
|
||||
struct numa_setaffinity_args *p = params;
|
||||
iarg[0] = p->which; /* cpuwhich_t */
|
||||
iarg[1] = p->id; /* id_t */
|
||||
uarg[2] = (intptr_t) p->policy; /* const struct vm_domain_policy_entry * */
|
||||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
*n_args = 0;
|
||||
break;
|
||||
@ -8883,6 +8901,38 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* numa_getaffinity */
|
||||
case 548:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "cpuwhich_t";
|
||||
break;
|
||||
case 1:
|
||||
p = "id_t";
|
||||
break;
|
||||
case 2:
|
||||
p = "struct vm_domain_policy_entry *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* numa_setaffinity */
|
||||
case 549:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "cpuwhich_t";
|
||||
break;
|
||||
case 1:
|
||||
p = "id_t";
|
||||
break;
|
||||
case 2:
|
||||
p = "const struct vm_domain_policy_entry *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
@ -10806,6 +10856,16 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* numa_getaffinity */
|
||||
case 548:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* numa_setaffinity */
|
||||
case 549:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
|
@ -465,4 +465,6 @@
|
||||
#define SYS_ppoll 545
|
||||
#define SYS_futimens 546
|
||||
#define SYS_utimensat 547
|
||||
#define SYS_MAXSYSCALL 548
|
||||
#define SYS_numa_getaffinity 548
|
||||
#define SYS_numa_setaffinity 549
|
||||
#define SYS_MAXSYSCALL 550
|
||||
|
@ -412,4 +412,6 @@ MIASM = \
|
||||
procctl.o \
|
||||
ppoll.o \
|
||||
futimens.o \
|
||||
utimensat.o
|
||||
utimensat.o \
|
||||
numa_getaffinity.o \
|
||||
numa_setaffinity.o
|
||||
|
@ -1790,6 +1790,16 @@ struct utimensat_args {
|
||||
char times_l_[PADL_(struct timespec *)]; struct timespec * times; char times_r_[PADR_(struct timespec *)];
|
||||
char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
|
||||
};
|
||||
struct numa_getaffinity_args {
|
||||
char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
|
||||
char id_l_[PADL_(id_t)]; id_t id; char id_r_[PADR_(id_t)];
|
||||
char policy_l_[PADL_(struct vm_domain_policy_entry *)]; struct vm_domain_policy_entry * policy; char policy_r_[PADR_(struct vm_domain_policy_entry *)];
|
||||
};
|
||||
struct numa_setaffinity_args {
|
||||
char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
|
||||
char id_l_[PADL_(id_t)]; id_t id; char id_r_[PADR_(id_t)];
|
||||
char policy_l_[PADL_(const struct vm_domain_policy_entry *)]; const struct vm_domain_policy_entry * policy; char policy_r_[PADR_(const struct vm_domain_policy_entry *)];
|
||||
};
|
||||
int nosys(struct thread *, struct nosys_args *);
|
||||
void sys_sys_exit(struct thread *, struct sys_exit_args *);
|
||||
int sys_fork(struct thread *, struct fork_args *);
|
||||
@ -2178,6 +2188,8 @@ int sys_procctl(struct thread *, struct procctl_args *);
|
||||
int sys_ppoll(struct thread *, struct ppoll_args *);
|
||||
int sys_futimens(struct thread *, struct futimens_args *);
|
||||
int sys_utimensat(struct thread *, struct utimensat_args *);
|
||||
int sys_numa_getaffinity(struct thread *, struct numa_getaffinity_args *);
|
||||
int sys_numa_setaffinity(struct thread *, struct numa_setaffinity_args *);
|
||||
|
||||
#ifdef COMPAT_43
|
||||
|
||||
@ -2931,6 +2943,8 @@ int freebsd7_shmctl(struct thread *, struct freebsd7_shmctl_args *);
|
||||
#define SYS_AUE_ppoll AUE_POLL
|
||||
#define SYS_AUE_futimens AUE_FUTIMES
|
||||
#define SYS_AUE_utimensat AUE_FUTIMESAT
|
||||
#define SYS_AUE_numa_getaffinity AUE_NULL
|
||||
#define SYS_AUE_numa_setaffinity AUE_NULL
|
||||
|
||||
#undef PAD_
|
||||
#undef PADL_
|
||||
|
Loading…
x
Reference in New Issue
Block a user