This commit is contained in:
Konstantin Belousov 2023-04-01 01:28:25 +03:00
parent dac3102488
commit 11cdffc603
10 changed files with 18 additions and 18 deletions

View File

@ -501,5 +501,5 @@
#define FREEBSD32_SYS_fspacectl 580
#define FREEBSD32_SYS_sched_getcpu 581
#define FREEBSD32_SYS_swapoff 582
#define FREEBSD32_SYS_kqueue1 583
#define FREEBSD32_SYS_kqueuex 583
#define FREEBSD32_SYS_MAXSYSCALL 584

View File

@ -589,5 +589,5 @@ const char *freebsd32_syscallnames[] = {
"fspacectl", /* 580 = fspacectl */
"sched_getcpu", /* 581 = sched_getcpu */
"swapoff", /* 582 = swapoff */
"kqueue1", /* 583 = kqueue1 */
"kqueuex", /* 583 = kqueuex */
};

View File

@ -645,5 +645,5 @@ struct sysent freebsd32_sysent[] = {
{ .sy_narg = AS(fspacectl_args), .sy_call = (sy_call_t *)sys_fspacectl, .sy_auevent = AUE_FSPACECTL, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 580 = fspacectl */
{ .sy_narg = 0, .sy_call = (sy_call_t *)sys_sched_getcpu, .sy_auevent = AUE_NULL, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 581 = sched_getcpu */
{ .sy_narg = AS(swapoff_args), .sy_call = (sy_call_t *)sys_swapoff, .sy_auevent = AUE_SWAPOFF, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 582 = swapoff */
{ .sy_narg = AS(kqueue1_args), .sy_call = (sy_call_t *)sys_kqueue1, .sy_auevent = AUE_KQUEUE, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 583 = kqueue1 */
{ .sy_narg = AS(kqueuex_args), .sy_call = (sy_call_t *)sys_kqueuex, .sy_auevent = AUE_KQUEUE, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 583 = kqueuex */
};

View File

@ -3321,9 +3321,9 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 2;
break;
}
/* kqueue1 */
/* kqueuex */
case 583: {
struct kqueue1_args *p = params;
struct kqueuex_args *p = params;
uarg[a++] = p->flags; /* u_int */
*n_args = 1;
break;
@ -8971,7 +8971,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* kqueue1 */
/* kqueuex */
case 583:
switch (ndx) {
case 0:
@ -10839,7 +10839,7 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* kqueue1 */
/* kqueuex */
case 583:
if (ndx == 0 || ndx == 1)
p = "int";

View File

@ -644,5 +644,5 @@ struct sysent sysent[] = {
{ .sy_narg = AS(fspacectl_args), .sy_call = (sy_call_t *)sys_fspacectl, .sy_auevent = AUE_FSPACECTL, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 580 = fspacectl */
{ .sy_narg = 0, .sy_call = (sy_call_t *)sys_sched_getcpu, .sy_auevent = AUE_NULL, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 581 = sched_getcpu */
{ .sy_narg = AS(swapoff_args), .sy_call = (sy_call_t *)sys_swapoff, .sy_auevent = AUE_SWAPOFF, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 582 = swapoff */
{ .sy_narg = AS(kqueue1_args), .sy_call = (sy_call_t *)sys_kqueue1, .sy_auevent = AUE_KQUEUE, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 583 = kqueue1 */
{ .sy_narg = AS(kqueuex_args), .sy_call = (sy_call_t *)sys_kqueuex, .sy_auevent = AUE_KQUEUE, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 583 = kqueuex */
};

View File

@ -589,5 +589,5 @@ const char *syscallnames[] = {
"fspacectl", /* 580 = fspacectl */
"sched_getcpu", /* 581 = sched_getcpu */
"swapoff", /* 582 = swapoff */
"kqueue1", /* 583 = kqueue1 */
"kqueuex", /* 583 = kqueuex */
};

View File

@ -3417,9 +3417,9 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 2;
break;
}
/* kqueue1 */
/* kqueuex */
case 583: {
struct kqueue1_args *p = params;
struct kqueuex_args *p = params;
uarg[a++] = p->flags; /* u_int */
*n_args = 1;
break;
@ -9141,7 +9141,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* kqueue1 */
/* kqueuex */
case 583:
switch (ndx) {
case 0:
@ -11104,7 +11104,7 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* kqueue1 */
/* kqueuex */
case 583:
if (ndx == 0 || ndx == 1)
p = "int";

View File

@ -520,5 +520,5 @@
#define SYS_fspacectl 580
#define SYS_sched_getcpu 581
#define SYS_swapoff 582
#define SYS_kqueue1 583
#define SYS_kqueuex 583
#define SYS_MAXSYSCALL 584

View File

@ -426,4 +426,4 @@ MIASM = \
fspacectl.o \
sched_getcpu.o \
swapoff.o \
kqueue1.o
kqueuex.o

View File

@ -1855,7 +1855,7 @@ struct swapoff_args {
char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)];
char flags_l_[PADL_(u_int)]; u_int flags; char flags_r_[PADR_(u_int)];
};
struct kqueue1_args {
struct kqueuex_args {
char flags_l_[PADL_(u_int)]; u_int flags; char flags_r_[PADR_(u_int)];
};
int sys_exit(struct thread *, struct exit_args *);
@ -2253,7 +2253,7 @@ int sys_aio_readv(struct thread *, struct aio_readv_args *);
int sys_fspacectl(struct thread *, struct fspacectl_args *);
int sys_sched_getcpu(struct thread *, struct sched_getcpu_args *);
int sys_swapoff(struct thread *, struct swapoff_args *);
int sys_kqueue1(struct thread *, struct kqueue1_args *);
int sys_kqueuex(struct thread *, struct kqueuex_args *);
#ifdef COMPAT_43
@ -3223,7 +3223,7 @@ int freebsd13_swapoff(struct thread *, struct freebsd13_swapoff_args *);
#define SYS_AUE_fspacectl AUE_FSPACECTL
#define SYS_AUE_sched_getcpu AUE_NULL
#define SYS_AUE_swapoff AUE_SWAPOFF
#define SYS_AUE_kqueue1 AUE_KQUEUE
#define SYS_AUE_kqueuex AUE_KQUEUE
#undef PAD_
#undef PADL_