Author: cognet
Date: Sun Jan 13 00:38:55 2019
New Revision: 342980
URL: https://svnweb.freebsd.org/changeset/base/342980

Log:
  Regenerate sysent files after having modified syscalls.master.

Modified:
  head/sys/compat/freebsd32/freebsd32_proto.h
  head/sys/compat/freebsd32/freebsd32_syscalls.c
  head/sys/compat/freebsd32/freebsd32_sysent.c
  head/sys/compat/freebsd32/freebsd32_systrace_args.c

Modified: head/sys/compat/freebsd32/freebsd32_proto.h
==============================================================================
--- head/sys/compat/freebsd32/freebsd32_proto.h Sun Jan 13 00:37:31 2019        
(r342979)
+++ head/sys/compat/freebsd32/freebsd32_proto.h Sun Jan 13 00:38:55 2019        
(r342980)
@@ -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
 
 #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 o
 
 #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 *, 
stru
 
 #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 *, 
str
 
 #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 
 
 #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 f
 
 #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 {

Modified: head/sys/compat/freebsd32/freebsd32_syscalls.c
==============================================================================
--- head/sys/compat/freebsd32/freebsd32_syscalls.c      Sun Jan 13 00:37:31 
2019        (r342979)
+++ head/sys/compat/freebsd32/freebsd32_syscalls.c      Sun Jan 13 00:38:55 
2019        (r342980)
@@ -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 */

Modified: head/sys/compat/freebsd32/freebsd32_sysent.c
==============================================================================
--- head/sys/compat/freebsd32/freebsd32_sysent.c        Sun Jan 13 00:37:31 
2019        (r342979)
+++ head/sys/compat/freebsd32/freebsd32_sysent.c        Sun Jan 13 00:38:55 
2019        (r342980)
@@ -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 */

Modified: head/sys/compat/freebsd32/freebsd32_systrace_args.c
==============================================================================
--- head/sys/compat/freebsd32/freebsd32_systrace_args.c Sun Jan 13 00:37:31 
2019        (r342979)
+++ head/sys/compat/freebsd32/freebsd32_systrace_args.c Sun Jan 13 00:38:55 
2019        (r342980)
@@ -11,7 +11,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg
 {
        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
                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 *d
 {
        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 *d
                        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 *
 {
        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 */
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to