]> granicus.if.org Git - strace/commitdiff
Drop non-functional CRIS architecture support
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 25 Jan 2018 01:55:08 +0000 (01:55 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 25 Jan 2018 01:55:08 +0000 (01:55 +0000)
From the very first commit when CRIS architecture support was introduced
and up to this comment that ends the agony of this non-functional code,
this support was incomplete and could never be compiled.

* Makefile.am (EXTRA_DIST): Remove linux/crisv*.
* clone.c: Remove CRISV* checks.
* configure.ac ($host_cpu == cris*): Remove.
* linux/crisv10: Remove.
* linux/crisv32: Likewise.

Fixes: v4.5.18-77-gea0e6e8 ("CRIS support by Hinko Kocevar ...")
27 files changed:
Makefile.am
clone.c
configure.ac
linux/crisv10/arch_regs.c [deleted file]
linux/crisv10/arch_rt_sigframe.c [deleted file]
linux/crisv10/arch_sigreturn.c [deleted file]
linux/crisv10/get_error.c [deleted file]
linux/crisv10/get_scno.c [deleted file]
linux/crisv10/get_syscall_args.c [deleted file]
linux/crisv10/get_syscall_result.c [deleted file]
linux/crisv10/rt_sigframe.h [deleted file]
linux/crisv10/set_error.c [deleted file]
linux/crisv10/set_scno.c [deleted file]
linux/crisv10/syscallent.h [deleted file]
linux/crisv10/userent.h [deleted file]
linux/crisv32/arch_regs.c [deleted file]
linux/crisv32/arch_rt_sigframe.c [deleted file]
linux/crisv32/arch_sigreturn.c [deleted file]
linux/crisv32/get_error.c [deleted file]
linux/crisv32/get_scno.c [deleted file]
linux/crisv32/get_syscall_args.c [deleted file]
linux/crisv32/get_syscall_result.c [deleted file]
linux/crisv32/rt_sigframe.h [deleted file]
linux/crisv32/set_error.c [deleted file]
linux/crisv32/set_scno.c [deleted file]
linux/crisv32/syscallent.h [deleted file]
linux/crisv32/userent.h [deleted file]

index 4f44ca9771dc27714913dfe3dc4361e62095f7b5..76474464d171106c470eaf35438383a9317e9810 100644 (file)
@@ -480,30 +480,6 @@ EXTRA_DIST =                               \
        linux/bfin/set_scno.c           \
        linux/bfin/syscallent.h         \
        linux/bfin/userent.h            \
-       linux/crisv10/arch_regs.c       \
-       linux/crisv10/arch_rt_sigframe.c\
-       linux/crisv10/arch_sigreturn.c  \
-       linux/crisv10/get_error.c       \
-       linux/crisv10/get_scno.c        \
-       linux/crisv10/get_syscall_args.c        \
-       linux/crisv10/get_syscall_result.c      \
-       linux/crisv10/rt_sigframe.h     \
-       linux/crisv10/set_error.c       \
-       linux/crisv10/set_scno.c        \
-       linux/crisv10/syscallent.h      \
-       linux/crisv10/userent.h         \
-       linux/crisv32/arch_regs.c       \
-       linux/crisv32/arch_rt_sigframe.c\
-       linux/crisv32/arch_sigreturn.c  \
-       linux/crisv32/get_error.c       \
-       linux/crisv32/get_scno.c        \
-       linux/crisv32/get_syscall_args.c        \
-       linux/crisv32/get_syscall_result.c      \
-       linux/crisv32/rt_sigframe.h     \
-       linux/crisv32/set_error.c       \
-       linux/crisv32/set_scno.c        \
-       linux/crisv32/syscallent.h      \
-       linux/crisv32/userent.h         \
        linux/dummy.h                   \
        linux/errnoent.h                \
        linux/getregs_old.h             \
diff --git a/clone.c b/clone.c
index 64d40abe4c9cf54c69c6788720b6651c7034a59b..a961f4881ab1a9e27607bfe6372b22beda1f92ff 100644 (file)
--- a/clone.c
+++ b/clone.c
@@ -49,7 +49,7 @@
 # define ARG_PTID      (tcp->scno == __NR_clone2 ? 3 : 2)
 # define ARG_CTID      (tcp->scno == __NR_clone2 ? 4 : 3)
 # define ARG_TLS       (tcp->scno == __NR_clone2 ? 5 : 4)
-#elif defined S390 || defined S390X || defined CRISV10 || defined CRISV32
+#elif defined S390 || defined S390X
 # define ARG_STACK     0
 # define ARG_FLAGS     1
 # define ARG_PTID      2
index d962f1933b76c68f1a0e2d109b483b2d33feadd8..e4ce688184373177350b70f714ec6d087934f018 100644 (file)
@@ -174,14 +174,6 @@ x86?64*)
                AC_DEFINE([X32], 1, [Define for the 32bit AMD x86-64 architecture.])
        fi
        ;;
-cris|crisv10)
-       arch=crisv10
-       AC_DEFINE([CRISV10], 1, [Define for the CRISv10 architecture.])
-       ;;
-crisv32)
-       arch=crisv32
-       AC_DEFINE([CRISV32], 1, [Define for the CRISv32 architecture.])
-       ;;
 tile*)
        arch=tile
        AC_DEFINE([TILE], 1, [Define for the Tile architecture])
diff --git a/linux/crisv10/arch_regs.c b/linux/crisv10/arch_regs.c
deleted file mode 100644 (file)
index 9c372a3..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-static unsigned long cris_r10;
-#define ARCH_PC_PEEK_ADDR (4 * PT_IRP)
diff --git a/linux/crisv10/arch_rt_sigframe.c b/linux/crisv10/arch_rt_sigframe.c
deleted file mode 100644 (file)
index e8f609e..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The name of the author may not be used to endorse or promote products
- *    derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-FUNC_GET_RT_SIGFRAME_ADDR
-{
-       unsigned long addr;
-
-       return upeek(tcp, 4 * PT_USP, &addr) ? 0 : addr;
-}
diff --git a/linux/crisv10/arch_sigreturn.c b/linux/crisv10/arch_sigreturn.c
deleted file mode 100644 (file)
index 0458c8e..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-static void
-arch_sigreturn(struct tcb *tcp)
-{
-       unsigned long regs[PT_MAX + 1];
-
-       if (ptrace(PTRACE_GETREGS, tcp->pid, NULL, regs) < 0) {
-               perror_msg("sigreturn: PTRACE_GETREGS");
-               return;
-       }
-       const unsigned long addr =
-               regs[PT_USP] + offsetof(struct sigcontext, oldmask);
-
-       tprints("{mask=");
-       print_sigset_addr(tcp, addr);
-       tprints("}");
-}
diff --git a/linux/crisv10/get_error.c b/linux/crisv10/get_error.c
deleted file mode 100644 (file)
index 2c81f1b..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#include "negated_errno.h"
-
-static void
-get_error(struct tcb *tcp, const bool check_errno)
-{
-       if (check_errno && is_negated_errno(cris_r10)) {
-               tcp->u_rval = -1;
-               tcp->u_error = -cris_r10;
-       } else {
-               tcp->u_rval = cris_r10;
-       }
-}
diff --git a/linux/crisv10/get_scno.c b/linux/crisv10/get_scno.c
deleted file mode 100644 (file)
index 51db06a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/* Return codes: 1 - ok, 0 - ignore, other - error. */
-static int
-arch_get_scno(struct tcb *tcp)
-{
-       return upeek(tcp, 4 * PT_R9, &tcp->scno) < 0 ? -1 : 1;
-}
diff --git a/linux/crisv10/get_syscall_args.c b/linux/crisv10/get_syscall_args.c
deleted file mode 100644 (file)
index 4af38d4..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-/* Return -1 on error or 1 on success (never 0!). */
-static int
-get_syscall_args(struct tcb *tcp)
-{
-       static const int crisregs[MAX_ARGS] = {
-               4*PT_ORIG_R10, 4*PT_R11, 4*PT_R12,
-               4*PT_R13     , 4*PT_MOF, 4*PT_SRP
-       };
-       unsigned int i;
-
-       for (i = 0; i < tcp->s_ent->nargs; ++i)
-               if (upeek(tcp, crisregs[i], &tcp->u_arg[i]) < 0)
-                       return -1;
-       return 1;
-}
diff --git a/linux/crisv10/get_syscall_result.c b/linux/crisv10/get_syscall_result.c
deleted file mode 100644 (file)
index 675f3fd..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-static int
-get_syscall_result_regs(struct tcb *tcp)
-{
-       return upeek(tcp, 4 * PT_R10, &cris_r10) < 0 ? -1 : 0;
-}
diff --git a/linux/crisv10/rt_sigframe.h b/linux/crisv10/rt_sigframe.h
deleted file mode 100644 (file)
index 6080bae..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The name of the author may not be used to endorse or promote products
- *    derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef STRACE_RT_SIGFRAME_H
-#define STRACE_RT_SIGFRAME_H
-
-#include <signal.h>
-
-typedef struct {
-       siginfo_t       *pinfo;
-       void            *puc;
-       siginfo_t       info;
-       ucontext_t      uc;
-       /* more data follows */
-} struct_rt_sigframe;
-
-#endif /* !STRACE_RT_SIGFRAME_H */
diff --git a/linux/crisv10/set_error.c b/linux/crisv10/set_error.c
deleted file mode 100644 (file)
index d6623b6..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-static int
-arch_set_error(struct tcb *tcp)
-{
-       cris_r10 = -tcp->u_error;
-       return upoke(tcp, 4 * PT_R10, cris_r10);
-}
-
-static int
-arch_set_success(struct tcb *tcp)
-{
-       cris_r10 = tcp->u_rval;
-       return upoke(tcp, 4 * PT_R10, cris_r10);
-}
diff --git a/linux/crisv10/set_scno.c b/linux/crisv10/set_scno.c
deleted file mode 100644 (file)
index ec97d67..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-static int
-arch_set_scno(struct tcb *tcp, kernel_ulong_t scno)
-{
-       return upoke(tcp, 4 * PT_R9, scno);
-}
diff --git a/linux/crisv10/syscallent.h b/linux/crisv10/syscallent.h
deleted file mode 100644 (file)
index 2b4c9c2..0000000
+++ /dev/null
@@ -1,358 +0,0 @@
-[  0] = { 0,   0,              SEN(restart_syscall),           "restart_syscall"       },
-[  1] = { 1,   TP|SE,          SEN(exit),                      "exit"                  },
-[  2] = { 0,   TP,             SEN(fork),                      "fork"                  },
-[  3] = { 3,   TD,             SEN(read),                      "read"                  },
-[  4] = { 3,   TD,             SEN(write),                     "write"                 },
-[  5] = { 3,   TD|TF,          SEN(open),                      "open"                  },
-[  6] = { 1,   TD,             SEN(close),                     "close"                 },
-[  7] = { 3,   TP,             SEN(waitpid),                   "waitpid"               },
-[  8] = { 2,   TD|TF,          SEN(creat),                     "creat"                 },
-[  9] = { 2,   TF,             SEN(link),                      "link"                  },
-[ 10] = { 1,   TF,             SEN(unlink),                    "unlink"                },
-[ 11] = { 3,   TF|TP|SE|SI,    SEN(execve),                    "execve"                },
-[ 12] = { 1,   TF,             SEN(chdir),                     "chdir"                 },
-[ 13] = { 1,   0,              SEN(time),                      "time"                  },
-[ 14] = { 3,   TF,             SEN(mknod),                     "mknod"                 },
-[ 15] = { 2,   TF,             SEN(chmod),                     "chmod"                 },
-[ 16] = { 3,   TF,             SEN(chown16),                   "lchown"                },
-[ 17] = { 0,   TM,             SEN(break),                     "break"                 },
-[ 18] = { 2,   TF|TST|TSTA,    SEN(oldstat),                   "oldstat"               },
-[ 19] = { 3,   TD,             SEN(lseek),                     "lseek"                 },
-[ 20] = { 0,   NF,             SEN(getpid),                    "getpid"                },
-[ 21] = { 5,   TF,             SEN(mount),                     "mount"                 },
-[ 22] = { 1,   TF,             SEN(umount),                    "umount"                },
-[ 23] = { 1,   0,              SEN(setuid16),                  "setuid"                },
-[ 24] = { 0,   NF,             SEN(getuid16),                  "getuid"                },
-[ 25] = { 1,   0,              SEN(stime),                     "stime"                 },
-[ 26] = { 4,   0,              SEN(ptrace),                    "ptrace"                },
-[ 27] = { 1,   0,              SEN(alarm),                     "alarm"                 },
-[ 28] = { 2,   TD|TFST|TSTA,   SEN(oldfstat),                  "oldfstat"              },
-[ 29] = { 0,   TS,             SEN(pause),                     "pause"                 },
-[ 30] = { 2,   TF,             SEN(utime),                     "utime"                 },
-[ 31] = { 2,   0,              SEN(stty),                      "stty"                  },
-[ 32] = { 2,   0,              SEN(gtty),                      "gtty"                  },
-[ 33] = { 2,   TF,             SEN(access),                    "access"                },
-[ 34] = { 1,   0,              SEN(nice),                      "nice"                  },
-[ 35] = { 0,   0,              SEN(ftime),                     "ftime"                 },
-[ 36] = { 0,   0,              SEN(sync),                      "sync"                  },
-[ 37] = { 2,   TS,             SEN(kill),                      "kill"                  },
-[ 38] = { 2,   TF,             SEN(rename),                    "rename"                },
-[ 39] = { 2,   TF,             SEN(mkdir),                     "mkdir"                 },
-[ 40] = { 1,   TF,             SEN(rmdir),                     "rmdir"                 },
-[ 41] = { 1,   TD,             SEN(dup),                       "dup"                   },
-[ 42] = { 1,   TD,             SEN(pipe),                      "pipe"                  },
-[ 43] = { 1,   0,              SEN(times),                     "times"                 },
-[ 44] = { 0,   0,              SEN(prof),                      "prof"                  },
-[ 45] = { 1,   TM|SI,          SEN(brk),                       "brk"                   },
-[ 46] = { 1,   0,              SEN(setgid16),                  "setgid"                },
-[ 47] = { 0,   NF,             SEN(getgid16),                  "getgid"                },
-[ 48] = { 2,   TS,             SEN(signal),                    "signal"                },
-[ 49] = { 0,   NF,             SEN(geteuid16),                 "geteuid"               },
-[ 50] = { 0,   NF,             SEN(getegid16),                 "getegid"               },
-[ 51] = { 1,   TF,             SEN(acct),                      "acct"                  },
-[ 52] = { 2,   TF,             SEN(umount2),                   "umount2"               },
-[ 53] = { 0,   0,              SEN(lock),                      "lock"                  },
-[ 54] = { 3,   TD,             SEN(ioctl),                     "ioctl"                 },
-[ 55] = { 3,   TD,             SEN(fcntl),                     "fcntl"                 },
-[ 56] = { 0,   0,              SEN(mpx),                       "mpx"                   },
-[ 57] = { 2,   0,              SEN(setpgid),                   "setpgid"               },
-[ 58] = { 2,   0,              SEN(ulimit),                    "ulimit"                },
-[ 59] = { 1,   0,              SEN(oldolduname),               "oldolduname"           },
-[ 60] = { 1,   NF,             SEN(umask),                     "umask"                 },
-[ 61] = { 1,   TF,             SEN(chroot),                    "chroot"                },
-[ 62] = { 2,   TSFA,           SEN(ustat),                     "ustat"                 },
-[ 63] = { 2,   TD,             SEN(dup2),                      "dup2"                  },
-[ 64] = { 0,   NF,             SEN(getppid),                   "getppid"               },
-[ 65] = { 0,   0,              SEN(getpgrp),                   "getpgrp"               },
-[ 66] = { 0,   0,              SEN(setsid),                    "setsid"                },
-[ 67] = { 3,   TS,             SEN(sigaction),                 "sigaction"             },
-[ 68] = { 0,   TS,             SEN(sgetmask),                  "sgetmask"              },
-[ 69] = { 1,   TS,             SEN(ssetmask),                  "ssetmask"              },
-[ 70] = { 2,   0,              SEN(setreuid16),                "setreuid"              },
-[ 71] = { 2,   0,              SEN(setregid16),                "setregid"              },
-[ 72] = { 1,   TS,             SEN(sigsuspend),                "sigsuspend"            },
-[ 73] = { 1,   TS,             SEN(sigpending),                "sigpending"            },
-[ 74] = { 2,   0,              SEN(sethostname),               "sethostname"           },
-[ 75] = { 2,   0,              SEN(setrlimit),                 "setrlimit"             },
-[ 76] = { 2,   0,              SEN(getrlimit),                 "getrlimit"             },
-[ 77] = { 2,   0,              SEN(getrusage),                 "getrusage"             },
-[ 78] = { 2,   0,              SEN(gettimeofday),              "gettimeofday"          },
-[ 79] = { 2,   0,              SEN(settimeofday),              "settimeofday"          },
-[ 80] = { 2,   0,              SEN(getgroups16),               "getgroups"             },
-[ 81] = { 2,   0,              SEN(setgroups16),               "setgroups"             },
-[ 82] = { 1,   TD,             SEN(oldselect),                 "select"                },
-[ 83] = { 2,   TF,             SEN(symlink),                   "symlink"               },
-[ 84] = { 2,   TF|TLST|TSTA,   SEN(oldlstat),                  "oldlstat"              },
-[ 85] = { 3,   TF,             SEN(readlink),                  "readlink"              },
-[ 86] = { 1,   TF,             SEN(uselib),                    "uselib"                },
-[ 87] = { 2,   TF,             SEN(swapon),                    "swapon"                },
-[ 88] = { 4,   0,              SEN(reboot),                    "reboot"                },
-[ 89] = { 3,   TD,             SEN(readdir),                   "readdir"               },
-[ 90] = { 1,   TD|TM|SI,       SEN(old_mmap),                  "mmap"                  },
-[ 91] = { 2,   TM|SI,          SEN(munmap),                    "munmap"                },
-[ 92] = { 2,   TF,             SEN(truncate),                  "truncate"              },
-[ 93] = { 2,   TD,             SEN(ftruncate),                 "ftruncate"             },
-[ 94] = { 2,   TD,             SEN(fchmod),                    "fchmod"                },
-[ 95] = { 3,   TD,             SEN(fchown16),                  "fchown"                },
-[ 96] = { 2,   0,              SEN(getpriority),               "getpriority"           },
-[ 97] = { 3,   0,              SEN(setpriority),               "setpriority"           },
-[ 98] = { 4,   0,              SEN(profil),                    "profil"                },
-[ 99] = { 2,   TF|TSF|TSFA,    SEN(statfs),                    "statfs"                },
-[100] = { 2,   TD|TFSF|TSFA,   SEN(fstatfs),                   "fstatfs"               },
-[101] = { 3,   0,              SEN(ioperm),                    "ioperm"                },
-[102] = { 2,   TD,             SEN(socketcall),                "socketcall"            },
-[103] = { 3,   0,              SEN(syslog),                    "syslog"                },
-[104] = { 3,   0,              SEN(setitimer),                 "setitimer"             },
-[105] = { 2,   0,              SEN(getitimer),                 "getitimer"             },
-[106] = { 2,   TF|TST|TSTA,    SEN(stat),                      "stat"                  },
-[107] = { 2,   TF|TLST|TSTA,   SEN(lstat),                     "lstat"                 },
-[108] = { 2,   TD|TFST|TSTA,   SEN(fstat),                     "fstat"                 },
-[109] = { 1,   0,              SEN(olduname),                  "olduname"              },
-[110] = { 1,   0,              SEN(iopl),                      "iopl"                  },
-[111] = { 0,   0,              SEN(vhangup),                   "vhangup"               },
-[112] = { 0,   0,              SEN(idle),                      "idle"                  },
-[113] = { 5,   0,              SEN(vm86),                      "vm86"                  },
-[114] = { 4,   TP,             SEN(wait4),                     "wait4"                 },
-[115] = { 1,   TF,             SEN(swapoff),                   "swapoff"               },
-[116] = { 1,   0,              SEN(sysinfo),                   "sysinfo"               },
-[117] = { 6,   TI,             SEN(ipc),                       "ipc"                   },
-[118] = { 1,   TD,             SEN(fsync),                     "fsync"                 },
-[119] = { 0,   TS,             SEN(sigreturn),                 "sigreturn"             },
-[120] = { 5,   TP,             SEN(clone),                     "clone"                 },
-[121] = { 2,   0,              SEN(setdomainname),             "setdomainname"         },
-[122] = { 1,   0,              SEN(uname),                     "uname"                 },
-[123] = { 3,   0,              SEN(modify_ldt),                "modify_ldt"            },
-[124] = { 1,   0,              SEN(adjtimex),                  "adjtimex"              },
-[125] = { 3,   TM|SI,          SEN(mprotect),                  "mprotect"              },
-[126] = { 3,   TS,             SEN(sigprocmask),               "sigprocmask"           },
-[127] = { 2,   0,              SEN(create_module),             "create_module"         },
-[128] = { 3,   0,              SEN(init_module),               "init_module"           },
-[129] = { 2,   0,              SEN(delete_module),             "delete_module"         },
-[130] = { 1,   0,              SEN(get_kernel_syms),           "get_kernel_syms"       },
-[131] = { 4,   TF,             SEN(quotactl),                  "quotactl"              },
-[132] = { 1,   0,              SEN(getpgid),                   "getpgid"               },
-[133] = { 1,   TD,             SEN(fchdir),                    "fchdir"                },
-[134] = { 2,   0,              SEN(bdflush),                   "bdflush"               },
-[135] = { 3,   0,              SEN(sysfs),                     "sysfs"                 },
-[136] = { 1,   NF,             SEN(personality),               "personality"           },
-[137] = { 5,   0,              SEN(afs_syscall),               "afs_syscall"           },
-[138] = { 1,   NF,             SEN(setfsuid16),                "setfsuid"              },
-[139] = { 1,   NF,             SEN(setfsgid16),                "setfsgid"              },
-[140] = { 5,   TD,             SEN(llseek),                    "_llseek"               },
-[141] = { 3,   TD,             SEN(getdents),                  "getdents"              },
-[142] = { 5,   TD,             SEN(select),                    "_newselect"            },
-[143] = { 2,   TD,             SEN(flock),                     "flock"                 },
-[144] = { 3,   TM,             SEN(msync),                     "msync"                 },
-[145] = { 3,   TD,             SEN(readv),                     "readv"                 },
-[146] = { 3,   TD,             SEN(writev),                    "writev"                },
-[147] = { 1,   0,              SEN(getsid),                    "getsid"                },
-[148] = { 1,   TD,             SEN(fdatasync),                 "fdatasync"             },
-[149] = { 1,   0,              SEN(sysctl),                    "_sysctl"               },
-[150] = { 2,   TM,             SEN(mlock),                     "mlock"                 },
-[151] = { 2,   TM,             SEN(munlock),                   "munlock"               },
-[152] = { 1,   TM,             SEN(mlockall),                  "mlockall"              },
-[153] = { 0,   TM,             SEN(munlockall),                "munlockall"            },
-[154] = { 2,   0,              SEN(sched_setparam),            "sched_setparam"        },
-[155] = { 2,   0,              SEN(sched_getparam),            "sched_getparam"        },
-[156] = { 3,   0,              SEN(sched_setscheduler),        "sched_setscheduler"    },
-[157] = { 1,   0,              SEN(sched_getscheduler),        "sched_getscheduler"    },
-[158] = { 0,   0,              SEN(sched_yield),               "sched_yield"           },
-[159] = { 1,   0,              SEN(sched_get_priority_max),    "sched_get_priority_max"},
-[160] = { 1,   0,              SEN(sched_get_priority_min),    "sched_get_priority_min"},
-[161] = { 2,   0,              SEN(sched_rr_get_interval),     "sched_rr_get_interval" },
-[162] = { 2,   0,              SEN(nanosleep),                 "nanosleep"             },
-[163] = { 5,   TM|SI,          SEN(mremap),                    "mremap"                },
-[164] = { 3,   0,              SEN(setresuid16),               "setresuid"             },
-[165] = { 3,   0,              SEN(getresuid16),               "getresuid"             },
-[167] = { 5,   0,              SEN(query_module),              "query_module"          },
-[168] = { 3,   TD,             SEN(poll),                      "poll"                  },
-[169] = { 3,   0,              SEN(nfsservctl),                "nfsservctl"            },
-[170] = { 3,   0,              SEN(setresgid16),               "setresgid"             },
-[171] = { 3,   0,              SEN(getresgid16),               "getresgid"             },
-[172] = { 5,   0,              SEN(prctl),                     "prctl"                 },
-[173] = { 0,   TS,             SEN(rt_sigreturn),              "rt_sigreturn"          },
-[174] = { 4,   TS,             SEN(rt_sigaction),              "rt_sigaction"          },
-[175] = { 4,   TS,             SEN(rt_sigprocmask),            "rt_sigprocmask"        },
-[176] = { 2,   TS,             SEN(rt_sigpending),             "rt_sigpending"         },
-[177] = { 4,   TS,             SEN(rt_sigtimedwait),           "rt_sigtimedwait"       },
-[178] = { 3,   TS,             SEN(rt_sigqueueinfo),           "rt_sigqueueinfo"       },
-[179] = { 2,   TS,             SEN(rt_sigsuspend),             "rt_sigsuspend"         },
-[180] = { 5,   TD,             SEN(pread),                     "pread64"               },
-[181] = { 5,   TD,             SEN(pwrite),                    "pwrite64"              },
-[182] = { 3,   TF,             SEN(chown16),                   "chown"                 },
-[183] = { 2,   TF,             SEN(getcwd),                    "getcwd"                },
-[184] = { 2,   0,              SEN(capget),                    "capget"                },
-[185] = { 2,   0,              SEN(capset),                    "capset"                },
-[186] = { 2,   TS,             SEN(sigaltstack),               "sigaltstack"           },
-[187] = { 4,   TD|TN,          SEN(sendfile),                  "sendfile"              },
-[188] = { 5,   TN,             SEN(getpmsg),                   "getpmsg"               },
-[189] = { 5,   TN,             SEN(putpmsg),                   "putpmsg"               },
-[190] = { 0,   TP,             SEN(vfork),                     "vfork"                 },
-[191] = { 2,   0,              SEN(getrlimit),                 "ugetrlimit"            },
-[192] = { 6,   TD|TM|SI,       SEN(mmap_pgoff),                "mmap2"                 },
-[193] = { 3,   TF,             SEN(truncate64),                "truncate64"            },
-[194] = { 3,   TD,             SEN(ftruncate64),               "ftruncate64"           },
-[195] = { 2,   TF|TST|TSTA,    SEN(stat64),                    "stat64"                },
-[196] = { 2,   TF|TLST|TSTA,   SEN(lstat64),                   "lstat64"               },
-[197] = { 2,   TD|TFST|TSTA,   SEN(fstat64),                   "fstat64"               },
-[198] = { 3,   TF,             SEN(chown),                     "lchown32"              },
-[199] = { 0,   NF,             SEN(getuid),                    "getuid32"              },
-[200] = { 0,   NF,             SEN(getgid),                    "getgid32"              },
-[201] = { 0,   NF,             SEN(geteuid),                   "geteuid32"             },
-[202] = { 0,   NF,             SEN(getegid),                   "getegid32"             },
-[203] = { 2,   0,              SEN(setreuid),                  "setreuid32"            },
-[204] = { 2,   0,              SEN(setregid),                  "setregid32"            },
-[205] = { 2,   0,              SEN(getgroups),                 "getgroups32"           },
-[206] = { 2,   0,              SEN(setgroups),                 "setgroups32"           },
-[207] = { 3,   TD,             SEN(fchown),                    "fchown32"              },
-[208] = { 3,   0,              SEN(setresuid),                 "setresuid32"           },
-[209] = { 3,   0,              SEN(getresuid),                 "getresuid32"           },
-[210] = { 3,   0,              SEN(setresgid),                 "setresgid32"           },
-[211] = { 3,   0,              SEN(getresgid),                 "getresgid32"           },
-[212] = { 3,   TF,             SEN(chown),                     "chown32"               },
-[213] = { 1,   0,              SEN(setuid),                    "setuid32"              },
-[214] = { 1,   0,              SEN(setgid),                    "setgid32"              },
-[215] = { 1,   NF,             SEN(setfsuid),                  "setfsuid32"            },
-[216] = { 1,   NF,             SEN(setfsgid),                  "setfsgid32"            },
-[217] = { 2,   TF,             SEN(pivotroot),                 "pivot_root"            },
-[218] = { 3,   TM,             SEN(mincore),                   "mincore"               },
-[219] = { 3,   TM,             SEN(madvise),                   "madvise"               },
-[220] = { 3,   TD,             SEN(getdents64),                "getdents64"            },
-[221] = { 3,   TD,             SEN(fcntl64),                   "fcntl64"               },
-[224] = { 0,   NF,             SEN(gettid),                    "gettid"                },
-[225] = { 4,   TD,             SEN(readahead),                 "readahead"             },
-[226] = { 5,   TF,             SEN(setxattr),                  "setxattr"              },
-[227] = { 5,   TF,             SEN(setxattr),                  "lsetxattr"             },
-[228] = { 5,   TD,             SEN(fsetxattr),                 "fsetxattr"             },
-[229] = { 4,   TF,             SEN(getxattr),                  "getxattr"              },
-[230] = { 4,   TF,             SEN(getxattr),                  "lgetxattr"             },
-[231] = { 4,   TD,             SEN(fgetxattr),                 "fgetxattr"             },
-[232] = { 3,   TF,             SEN(listxattr),                 "listxattr"             },
-[233] = { 3,   TF,             SEN(listxattr),                 "llistxattr"            },
-[234] = { 3,   TD,             SEN(flistxattr),                "flistxattr"            },
-[235] = { 2,   TF,             SEN(removexattr),               "removexattr"           },
-[236] = { 2,   TF,             SEN(removexattr),               "lremovexattr"          },
-[237] = { 2,   TD,             SEN(fremovexattr),              "fremovexattr"          },
-[238] = { 2,   TS,             SEN(kill),                      "tkill"                 },
-[239] = { 4,   TD|TN,          SEN(sendfile64),                "sendfile64"            },
-[240] = { 6,   0,              SEN(futex),                     "futex"                 },
-[241] = { 3,   0,              SEN(sched_setaffinity),         "sched_setaffinity"     },
-[242] = { 3,   0,              SEN(sched_getaffinity),         "sched_getaffinity"     },
-[243] = { 1,   0,              SEN(set_thread_area),           "set_thread_area"       },
-[244] = { 1,   0,              SEN(get_thread_area),           "get_thread_area"       },
-[245] = { 2,   TM,             SEN(io_setup),                  "io_setup"              },
-[246] = { 1,   TM,             SEN(io_destroy),                "io_destroy"            },
-[247] = { 5,   0,              SEN(io_getevents),              "io_getevents"          },
-[248] = { 3,   0,              SEN(io_submit),                 "io_submit"             },
-[249] = { 3,   0,              SEN(io_cancel),                 "io_cancel"             },
-[250] = { 5,   TD,             SEN(fadvise64),                 "fadvise64"             },
-[252] = { 1,   TP|SE,          SEN(exit),                      "exit_group"            },
-[253] = { 4,   0,              SEN(lookup_dcookie),            "lookup_dcookie"        },
-[254] = { 1,   TD,             SEN(epoll_create),              "epoll_create"          },
-[255] = { 4,   TD,             SEN(epoll_ctl),                 "epoll_ctl"             },
-[256] = { 4,   TD,             SEN(epoll_wait),                "epoll_wait"            },
-[257] = { 5,   TM|SI,          SEN(remap_file_pages),          "remap_file_pages"      },
-[258] = { 1,   0,              SEN(set_tid_address),           "set_tid_address"       },
-[259] = { 3,   0,              SEN(timer_create),              "timer_create"          },
-[260] = { 4,   0,              SEN(timer_settime),             "timer_settime"         },
-[261] = { 2,   0,              SEN(timer_gettime),             "timer_gettime"         },
-[262] = { 1,   0,              SEN(timer_getoverrun),          "timer_getoverrun"      },
-[263] = { 1,   0,              SEN(timer_delete),              "timer_delete"          },
-[264] = { 2,   0,              SEN(clock_settime),             "clock_settime"         },
-[265] = { 2,   0,              SEN(clock_gettime),             "clock_gettime"         },
-[266] = { 2,   0,              SEN(clock_getres),              "clock_getres"          },
-[267] = { 4,   0,              SEN(clock_nanosleep),           "clock_nanosleep"       },
-[268] = { 3,   TF|TSF|TSFA,    SEN(statfs64),                  "statfs64"              },
-[269] = { 3,   TD|TFSF|TSFA,   SEN(fstatfs64),                 "fstatfs64"             },
-[270] = { 3,   TS,             SEN(tgkill),                    "tgkill"                },
-[271] = { 2,   TF,             SEN(utimes),                    "utimes"                },
-[272] = { 6,   TD,             SEN(fadvise64_64),              "fadvise64_64"          },
-[273] = { 5,   0,              SEN(vserver),                   "vserver"               },
-[274] = { 6,   TM,             SEN(mbind),                     "mbind"                 },
-[275] = { 5,   TM,             SEN(get_mempolicy),             "get_mempolicy"         },
-[276] = { 3,   TM,             SEN(set_mempolicy),             "set_mempolicy"         },
-[277] = { 4,   TD,             SEN(mq_open),                   "mq_open"               },
-[278] = { 1,   0,              SEN(mq_unlink),                 "mq_unlink"             },
-[279] = { 5,   TD,             SEN(mq_timedsend),              "mq_timedsend"          },
-[280] = { 5,   TD,             SEN(mq_timedreceive),           "mq_timedreceive"       },
-[281] = { 2,   TD,             SEN(mq_notify),                 "mq_notify"             },
-[282] = { 3,   TD,             SEN(mq_getsetattr),             "mq_getsetattr"         },
-[283] = { 4,   0,              SEN(kexec_load),                "kexec_load"            },
-[284] = { 5,   TP,             SEN(waitid),                    "waitid"                },
-[286] = { 5,   0,              SEN(add_key),                   "add_key"               },
-[287] = { 4,   0,              SEN(request_key),               "request_key"           },
-[288] = { 5,   0,              SEN(keyctl),                    "keyctl"                },
-[289] = { 3,   0,              SEN(ioprio_set),                "ioprio_set"            },
-[290] = { 2,   0,              SEN(ioprio_get),                "ioprio_get"            },
-[291] = { 0,   TD,             SEN(inotify_init),              "inotify_init"          },
-[292] = { 3,   TD|TF,          SEN(inotify_add_watch),         "inotify_add_watch"     },
-[293] = { 2,   TD,             SEN(inotify_rm_watch),          "inotify_rm_watch"      },
-[294] = { 4,   TM,             SEN(migrate_pages),             "migrate_pages"         },
-[295] = { 4,   TD|TF,          SEN(openat),                    "openat"                },
-[296] = { 3,   TD|TF,          SEN(mkdirat),                   "mkdirat"               },
-[297] = { 4,   TD|TF,          SEN(mknodat),                   "mknodat"               },
-[298] = { 5,   TD|TF,          SEN(fchownat),                  "fchownat"              },
-[299] = { 3,   TD|TF,          SEN(futimesat),                 "futimesat"             },
-[300] = { 4,   TD|TF|TFST|TSTA,SEN(fstatat64),                 "fstatat64"             },
-[301] = { 3,   TD|TF,          SEN(unlinkat),                  "unlinkat"              },
-[302] = { 4,   TD|TF,          SEN(renameat),                  "renameat"              },
-[303] = { 5,   TD|TF,          SEN(linkat),                    "linkat"                },
-[304] = { 3,   TD|TF,          SEN(symlinkat),                 "symlinkat"             },
-[305] = { 4,   TD|TF,          SEN(readlinkat),                "readlinkat"            },
-[306] = { 3,   TD|TF,          SEN(fchmodat),                  "fchmodat"              },
-[307] = { 3,   TD|TF,          SEN(faccessat),                 "faccessat"             },
-[308] = { 6,   TD,             SEN(pselect6),                  "pselect6"              },
-[309] = { 5,   TD,             SEN(ppoll),                     "ppoll"                 },
-[310] = { 1,   TP,             SEN(unshare),                   "unshare"               },
-[311] = { 2,   0,              SEN(set_robust_list),           "set_robust_list"       },
-[312] = { 3,   0,              SEN(get_robust_list),           "get_robust_list"       },
-[313] = { 6,   TD,             SEN(splice),                    "splice"                },
-[314] = { 6,   TD,             SEN(sync_file_range),           "sync_file_range"       },
-[315] = { 4,   TD,             SEN(tee),                       "tee"                   },
-[316] = { 4,   TD,             SEN(vmsplice),                  "vmsplice"              },
-[317] = { 6,   TM,             SEN(move_pages),                "move_pages"            },
-[318] = { 3,   0,              SEN(getcpu),                    "getcpu"                },
-[319] = { 6,   TD,             SEN(epoll_pwait),               "epoll_pwait"           },
-[320] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
-[321] = { 3,   TD|TS,          SEN(signalfd),                  "signalfd"              },
-[322] = { 2,   TD,             SEN(timerfd_create),            "timerfd_create"        },
-[323] = { 1,   TD,             SEN(eventfd),                   "eventfd"               },
-[324] = { 6,   TD,             SEN(fallocate),                 "fallocate"             },
-[325] = { 4,   TD,             SEN(timerfd_settime),           "timerfd_settime"       },
-[326] = { 2,   TD,             SEN(timerfd_gettime),           "timerfd_gettime"       },
-[327] = { 4,   TD|TS,          SEN(signalfd4),                 "signalfd4"             },
-[328] = { 2,   TD,             SEN(eventfd2),                  "eventfd2"              },
-[329] = { 1,   TD,             SEN(epoll_create1),             "epoll_create1"         },
-[330] = { 3,   TD,             SEN(dup3),                      "dup3"                  },
-[331] = { 2,   TD,             SEN(pipe2),                     "pipe2"                 },
-[332] = { 1,   TD,             SEN(inotify_init1),             "inotify_init1"         },
-[333] = { 5,   TD,             SEN(preadv),                    "preadv"                },
-[334] = { 5,   TD,             SEN(pwritev),                   "pwritev"               },
-[335] = { 2,   TD,             SEN(setns),                     "setns"                 },
-[336] = { 5,   TD|TF,          SEN(name_to_handle_at),         "name_to_handle_at"     },
-[337] = { 3,   TD,             SEN(open_by_handle_at),         "open_by_handle_at"     },
-[338] = { 4,   TP|TS,          SEN(rt_tgsigqueueinfo),         "rt_tgsigqueueinfo"     },
-[339] = { 5,   TD,             SEN(perf_event_open),           "perf_event_open"       },
-[340] = { 5,   TN,             SEN(recvmmsg),                  "recvmmsg"              },
-[341] = { 4,   TN,             SEN(accept4),                   "accept4"               },
-[342] = { 2,   TD,             SEN(fanotify_init),             "fanotify_init"         },
-[343] = { 6,   TD|TF,          SEN(fanotify_mark),             "fanotify_mark"         },
-[344] = { 4,   0,              SEN(prlimit64),                 "prlimit64"             },
-[345] = { 2,   0,              SEN(clock_adjtime),             "clock_adjtime"         },
-[346] = { 1,   TD,             SEN(syncfs),                    "syncfs"                },
-[347] = { 4,   TN,             SEN(sendmmsg),                  "sendmmsg"              },
-[348] = { 6,   0,              SEN(process_vm_readv),          "process_vm_readv"      },
-[349] = { 6,   0,              SEN(process_vm_writev),         "process_vm_writev"     },
-[350] = { 5,   0,              SEN(kcmp),                      "kcmp"                  },
-[351] = { 3,   TD,             SEN(finit_module),              "finit_module"          },
-[352] = { 3,   0,              SEN(sched_setattr),             "sched_setattr"         },
-[353] = { 4,   0,              SEN(sched_getattr),             "sched_getattr"         },
-[354] = { 5,   TD|TF,          SEN(renameat2),                 "renameat2"             },
-[355] = { 3,   0,              SEN(seccomp),                   "seccomp"               },
-[356] = { 3,   0,              SEN(getrandom),                 "getrandom"             },
-[357] = { 2,   TD,             SEN(memfd_create),              "memfd_create"          },
-[358] = { 3,   TD,             SEN(bpf),                       "bpf"                   },
-[359] = { 5,   TD|TF|TP|SE|SI, SEN(execveat),                  "execveat"              },
-
-#define SYS_socket_subcall     400
-#include "subcall.h"
diff --git a/linux/crisv10/userent.h b/linux/crisv10/userent.h
deleted file mode 100644 (file)
index bea16ae..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-XLAT(4*PT_FRAMETYPE),
-XLAT(4*PT_ORIG_R10),
-XLAT(4*PT_R13),
-XLAT(4*PT_R12),
-XLAT(4*PT_R11),
-XLAT(4*PT_R10),
-XLAT(4*PT_R9),
-XLAT(4*PT_R8),
-XLAT(4*PT_R7),
-XLAT(4*PT_R6),
-XLAT(4*PT_R5),
-XLAT(4*PT_R4),
-XLAT(4*PT_R3),
-XLAT(4*PT_R2),
-XLAT(4*PT_R1),
-XLAT(4*PT_R0),
-XLAT(4*PT_MOF),
-XLAT(4*PT_DCCR),
-XLAT(4*PT_SRP),
-XLAT(4*PT_IRP),
-XLAT(4*PT_CSRINSTR),
-XLAT(4*PT_CSRADDR),
-XLAT(4*PT_CSRDATA),
-XLAT(4*PT_USP),
-/* Other fields in "struct user" */
-#include "../userent0.h"
diff --git a/linux/crisv32/arch_regs.c b/linux/crisv32/arch_regs.c
deleted file mode 100644 (file)
index 8e59c15..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#include "crisv10/arch_regs.c"
-#define ARCH_PC_PEEK_ADDR (4 * PT_ERP)
diff --git a/linux/crisv32/arch_rt_sigframe.c b/linux/crisv32/arch_rt_sigframe.c
deleted file mode 100644 (file)
index 2f45746..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "crisv10/arch_rt_sigframe.c"
diff --git a/linux/crisv32/arch_sigreturn.c b/linux/crisv32/arch_sigreturn.c
deleted file mode 100644 (file)
index 6c0fc03..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "crisv10/arch_sigreturn.c"
diff --git a/linux/crisv32/get_error.c b/linux/crisv32/get_error.c
deleted file mode 100644 (file)
index f7bb1e0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "crisv10/get_error.c"
diff --git a/linux/crisv32/get_scno.c b/linux/crisv32/get_scno.c
deleted file mode 100644 (file)
index edfd60f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "crisv10/get_scno.c"
diff --git a/linux/crisv32/get_syscall_args.c b/linux/crisv32/get_syscall_args.c
deleted file mode 100644 (file)
index 4d98465..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "crisv10/get_syscall_args.c"
diff --git a/linux/crisv32/get_syscall_result.c b/linux/crisv32/get_syscall_result.c
deleted file mode 100644 (file)
index ebefdb2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "crisv10/get_syscall_result.c"
diff --git a/linux/crisv32/rt_sigframe.h b/linux/crisv32/rt_sigframe.h
deleted file mode 100644 (file)
index bfe07d4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "crisv10/rt_sigframe.h"
diff --git a/linux/crisv32/set_error.c b/linux/crisv32/set_error.c
deleted file mode 100644 (file)
index 18a5ee8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "crisv10/set_error.c"
diff --git a/linux/crisv32/set_scno.c b/linux/crisv32/set_scno.c
deleted file mode 100644 (file)
index b021adf..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "crisv10/set_scno.c"
diff --git a/linux/crisv32/syscallent.h b/linux/crisv32/syscallent.h
deleted file mode 100644 (file)
index ce4e528..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "crisv10/syscallent.h"
diff --git a/linux/crisv32/userent.h b/linux/crisv32/userent.h
deleted file mode 100644 (file)
index 3c5949e..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-XLAT(4*PT_ORIG_R10),
-XLAT(4*PT_R0),
-XLAT(4*PT_R1),
-XLAT(4*PT_R2),
-XLAT(4*PT_R3),
-XLAT(4*PT_R4),
-XLAT(4*PT_R5),
-XLAT(4*PT_R6),
-XLAT(4*PT_R7),
-XLAT(4*PT_R8),
-XLAT(4*PT_R9),
-XLAT(4*PT_R10),
-XLAT(4*PT_R11),
-XLAT(4*PT_R12),
-XLAT(4*PT_R13),
-XLAT(4*PT_ACR),
-XLAT(4*PT_SRS),
-XLAT(4*PT_MOF),
-XLAT(4*PT_SPC),
-XLAT(4*PT_CCS),
-XLAT(4*PT_SRP),
-XLAT(4*PT_ERP),
-XLAT(4*PT_EXS),
-XLAT(4*PT_EDA),
-XLAT(4*PT_USP),
-XLAT(4*PT_PPC),
-XLAT(4*PT_BP_CTRL),
-XLAT(4*PT_BP+4),
-XLAT(4*PT_BP+8),
-XLAT(4*PT_BP+12),
-XLAT(4*PT_BP+16),
-XLAT(4*PT_BP+20),
-XLAT(4*PT_BP+24),
-XLAT(4*PT_BP+28),
-XLAT(4*PT_BP+32),
-XLAT(4*PT_BP+36),
-XLAT(4*PT_BP+40),
-XLAT(4*PT_BP+44),
-XLAT(4*PT_BP+48),
-XLAT(4*PT_BP+52),
-XLAT(4*PT_BP+56),
-/* Other fields in "struct user" */
-#include "../userent0.h"