Regenerate sysent files after having modified syscalls.master.

This commit is contained in:
Olivier Houchard 2019-01-13 00:38:55 +00:00
parent 2ca357528f
commit 21fb66241a
4 changed files with 16 additions and 16 deletions

View File

@ -34,7 +34,7 @@ struct thread;
#define PADR_(t) 0
#endif
#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
#if !defined(PAD64_REQUIRED) && !defined(__amd64__)
#define PAD64_REQUIRED
#endif
struct freebsd32_wait4_args {
@ -167,7 +167,7 @@ struct freebsd32___sysctl_args {
char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)];
char old_l_[PADL_(void *)]; void * old; char old_r_[PADR_(void *)];
char oldlenp_l_[PADL_(uint32_t *)]; uint32_t * oldlenp; char oldlenp_r_[PADR_(uint32_t *)];
char new_l_[PADL_(void *)]; void * new; char new_r_[PADR_(void *)];
char new_l_[PADL_(const void *)]; const void * new; char new_r_[PADR_(const void *)];
char newlen_l_[PADL_(uint32_t)]; uint32_t newlen; char newlen_r_[PADR_(uint32_t)];
};
struct freebsd32_futimes_args {
@ -728,7 +728,7 @@ struct freebsd32_cpuset_setdomain_args {
char mask_l_[PADL_(domainset_t *)]; domainset_t * mask; char mask_r_[PADR_(domainset_t *)];
char policy_l_[PADL_(int)]; int policy; char policy_r_[PADR_(int)];
};
#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
#if !defined(PAD64_REQUIRED) && !defined(__amd64__)
#define PAD64_REQUIRED
#endif
int freebsd32_wait4(struct thread *, struct freebsd32_wait4_args *);
@ -868,7 +868,7 @@ int freebsd32_cpuset_setdomain(struct thread *, struct freebsd32_cpuset_setdomai
#ifdef COMPAT_43
#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
#if !defined(PAD64_REQUIRED) && !defined(__amd64__)
#define PAD64_REQUIRED
#endif
struct ofreebsd32_lseek_args {
@ -963,7 +963,7 @@ int ofreebsd32_getdirentries(struct thread *, struct ofreebsd32_getdirentries_ar
#ifdef COMPAT_FREEBSD4
#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
#if !defined(PAD64_REQUIRED) && !defined(__amd64__)
#define PAD64_REQUIRED
#endif
struct freebsd4_freebsd32_getfsstat_args {
@ -1029,7 +1029,7 @@ int freebsd4_freebsd32_sigreturn(struct thread *, struct freebsd4_freebsd32_sigr
#ifdef COMPAT_FREEBSD6
#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
#if !defined(PAD64_REQUIRED) && !defined(__amd64__)
#define PAD64_REQUIRED
#endif
struct freebsd6_freebsd32_pread_args {
@ -1119,7 +1119,7 @@ int freebsd6_freebsd32_lio_listio(struct thread *, struct freebsd6_freebsd32_lio
#ifdef COMPAT_FREEBSD7
#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
#if !defined(PAD64_REQUIRED) && !defined(__amd64__)
#define PAD64_REQUIRED
#endif
struct freebsd7_freebsd32_semctl_args {
@ -1162,7 +1162,7 @@ int freebsd7_freebsd32_shmctl(struct thread *, struct freebsd7_freebsd32_shmctl_
#ifdef COMPAT_FREEBSD10
#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
#if !defined(PAD64_REQUIRED) && !defined(__amd64__)
#define PAD64_REQUIRED
#endif
#ifdef PAD64_REQUIRED
@ -1187,7 +1187,7 @@ int freebsd10_freebsd32_pipe(struct thread *, struct freebsd10_freebsd32_pipe_ar
#ifdef COMPAT_FREEBSD11
#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
#if !defined(PAD64_REQUIRED) && !defined(__amd64__)
#define PAD64_REQUIRED
#endif
struct freebsd11_freebsd32_stat_args {

View File

@ -6,7 +6,7 @@
*/
const char *freebsd32_syscallnames[] = {
#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
#if !defined(PAD64_REQUIRED) && !defined(__amd64__)
#define PAD64_REQUIRED
#endif
"syscall", /* 0 = syscall */

View File

@ -53,7 +53,7 @@
/* The casts are bogus but will do for now. */
struct sysent freebsd32_sysent[] = {
#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
#if !defined(PAD64_REQUIRED) && !defined(__amd64__)
#define PAD64_REQUIRED
#endif
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 0 = syscall */

View File

@ -11,7 +11,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
{
int64_t *iarg = (int64_t *) uarg;
switch (sysnum) {
#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
#if !defined(PAD64_REQUIRED) && !defined(__amd64__)
#define PAD64_REQUIRED
#endif
/* nosys */
@ -942,7 +942,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
uarg[1] = p->namelen; /* u_int */
uarg[2] = (intptr_t) p->old; /* void * */
uarg[3] = (intptr_t) p->oldlenp; /* uint32_t * */
uarg[4] = (intptr_t) p->new; /* void * */
uarg[4] = (intptr_t) p->new; /* const void * */
uarg[5] = p->newlen; /* uint32_t */
*n_args = 6;
break;
@ -3320,7 +3320,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
{
const char *p = NULL;
switch (sysnum) {
#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
#if !defined(PAD64_REQUIRED) && !defined(__amd64__)
#define PAD64_REQUIRED
#endif
/* nosys */
@ -4823,7 +4823,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
p = "userland uint32_t *";
break;
case 4:
p = "userland void *";
p = "userland const void *";
break;
case 5:
p = "uint32_t";
@ -8916,7 +8916,7 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
{
const char *p = NULL;
switch (sysnum) {
#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
#if !defined(PAD64_REQUIRED) && !defined(__amd64__)
#define PAD64_REQUIRED
#endif
/* nosys */