syscalls.cc revision 4236
14188Sgblack@eecs.umich.edu/*
24188Sgblack@eecs.umich.edu * Copyright (c) 2003-2005 The Regents of The University of Michigan
34188Sgblack@eecs.umich.edu * All rights reserved.
44188Sgblack@eecs.umich.edu *
54188Sgblack@eecs.umich.edu * Redistribution and use in source and binary forms, with or without
64188Sgblack@eecs.umich.edu * modification, are permitted provided that the following conditions are
74188Sgblack@eecs.umich.edu * met: redistributions of source code must retain the above copyright
84188Sgblack@eecs.umich.edu * notice, this list of conditions and the following disclaimer;
94188Sgblack@eecs.umich.edu * redistributions in binary form must reproduce the above copyright
104188Sgblack@eecs.umich.edu * notice, this list of conditions and the following disclaimer in the
114188Sgblack@eecs.umich.edu * documentation and/or other materials provided with the distribution;
124188Sgblack@eecs.umich.edu * neither the name of the copyright holders nor the names of its
134188Sgblack@eecs.umich.edu * contributors may be used to endorse or promote products derived from
144188Sgblack@eecs.umich.edu * this software without specific prior written permission.
154188Sgblack@eecs.umich.edu *
164188Sgblack@eecs.umich.edu * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
174188Sgblack@eecs.umich.edu * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
184188Sgblack@eecs.umich.edu * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
194188Sgblack@eecs.umich.edu * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
204188Sgblack@eecs.umich.edu * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
214188Sgblack@eecs.umich.edu * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
224188Sgblack@eecs.umich.edu * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
234188Sgblack@eecs.umich.edu * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
244188Sgblack@eecs.umich.edu * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
254188Sgblack@eecs.umich.edu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
264188Sgblack@eecs.umich.edu * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
274188Sgblack@eecs.umich.edu *
284188Sgblack@eecs.umich.edu * Authors: Gabe Black
294188Sgblack@eecs.umich.edu */
304188Sgblack@eecs.umich.edu
314188Sgblack@eecs.umich.edu#include "arch/sparc/linux/process.hh"
324188Sgblack@eecs.umich.edu#include "arch/sparc/syscallreturn.hh"
334188Sgblack@eecs.umich.edu#include "sim/syscall_emul.hh"
344188Sgblack@eecs.umich.edu
354188Sgblack@eecs.umich.educlass LiveProcess;
364188Sgblack@eecs.umich.educlass ThreadContext;
374188Sgblack@eecs.umich.edu
384188Sgblack@eecs.umich.edunamespace SparcISA {
394188Sgblack@eecs.umich.edu
404188Sgblack@eecs.umich.edu/// Target uname() handler.
414188Sgblack@eecs.umich.edustatic SyscallReturn
424188Sgblack@eecs.umich.eduunameFunc(SyscallDesc *desc, int callnum, LiveProcess *process,
434188Sgblack@eecs.umich.edu        ThreadContext *tc)
444188Sgblack@eecs.umich.edu{
454188Sgblack@eecs.umich.edu    TypedBufferArg<Linux::utsname> name(tc->getSyscallArg(0));
464188Sgblack@eecs.umich.edu
474188Sgblack@eecs.umich.edu    strcpy(name->sysname, "Linux");
484188Sgblack@eecs.umich.edu    strcpy(name->nodename, "m5.eecs.umich.edu");
494188Sgblack@eecs.umich.edu    strcpy(name->release, "2.6.12-9-sparc64");
504188Sgblack@eecs.umich.edu    strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003");
514188Sgblack@eecs.umich.edu    strcpy(name->machine, "sparc");
524188Sgblack@eecs.umich.edu
534188Sgblack@eecs.umich.edu    name.copyOut(tc->getMemPort());
544188Sgblack@eecs.umich.edu
554188Sgblack@eecs.umich.edu    return 0;
564188Sgblack@eecs.umich.edu}
574188Sgblack@eecs.umich.edu
584188Sgblack@eecs.umich.edu
594188Sgblack@eecs.umich.eduSyscallReturn getresuidFunc(SyscallDesc *desc, int num,
604188Sgblack@eecs.umich.edu        LiveProcess *p, ThreadContext *tc)
614188Sgblack@eecs.umich.edu{
624188Sgblack@eecs.umich.edu    const IntReg id = htog(100);
634188Sgblack@eecs.umich.edu    Addr ruid = tc->getSyscallArg(0);
644188Sgblack@eecs.umich.edu    Addr euid = tc->getSyscallArg(1);
654188Sgblack@eecs.umich.edu    Addr suid = tc->getSyscallArg(2);
664188Sgblack@eecs.umich.edu    //Handle the EFAULT case
674188Sgblack@eecs.umich.edu    //Set the ruid
684188Sgblack@eecs.umich.edu    if(ruid)
694188Sgblack@eecs.umich.edu    {
704188Sgblack@eecs.umich.edu        BufferArg ruidBuff(ruid, sizeof(IntReg));
714188Sgblack@eecs.umich.edu        memcpy(ruidBuff.bufferPtr(), &id, sizeof(IntReg));
724188Sgblack@eecs.umich.edu        ruidBuff.copyOut(tc->getMemPort());
734188Sgblack@eecs.umich.edu    }
744188Sgblack@eecs.umich.edu    //Set the euid
754188Sgblack@eecs.umich.edu    if(euid)
764188Sgblack@eecs.umich.edu    {
774188Sgblack@eecs.umich.edu        BufferArg euidBuff(euid, sizeof(IntReg));
784188Sgblack@eecs.umich.edu        memcpy(euidBuff.bufferPtr(), &id, sizeof(IntReg));
794188Sgblack@eecs.umich.edu        euidBuff.copyOut(tc->getMemPort());
804188Sgblack@eecs.umich.edu    }
814188Sgblack@eecs.umich.edu    //Set the suid
824188Sgblack@eecs.umich.edu    if(suid)
834188Sgblack@eecs.umich.edu    {
844188Sgblack@eecs.umich.edu        BufferArg suidBuff(suid, sizeof(IntReg));
854188Sgblack@eecs.umich.edu        memcpy(suidBuff.bufferPtr(), &id, sizeof(IntReg));
864188Sgblack@eecs.umich.edu        suidBuff.copyOut(tc->getMemPort());
874188Sgblack@eecs.umich.edu    }
884188Sgblack@eecs.umich.edu    return 0;
894188Sgblack@eecs.umich.edu}
904188Sgblack@eecs.umich.edu
914188Sgblack@eecs.umich.eduSyscallDesc SparcLinuxProcess::syscall32Descs[] = {
924188Sgblack@eecs.umich.edu    /*   0 */ SyscallDesc("restart_syscall", unimplementedFunc),
934188Sgblack@eecs.umich.edu    /*   1 */ SyscallDesc("exit", exitFunc), //32 bit
944188Sgblack@eecs.umich.edu    /*   2 */ SyscallDesc("fork", unimplementedFunc),
954188Sgblack@eecs.umich.edu    /*   3 */ SyscallDesc("read", readFunc),
964188Sgblack@eecs.umich.edu    /*   4 */ SyscallDesc("write", writeFunc),
974188Sgblack@eecs.umich.edu    /*   5 */ SyscallDesc("open", openFunc<Sparc32Linux>), //32 bit
984188Sgblack@eecs.umich.edu    /*   6 */ SyscallDesc("close", closeFunc),
994188Sgblack@eecs.umich.edu    /*   7 */ SyscallDesc("wait4", unimplementedFunc), //32 bit
1004188Sgblack@eecs.umich.edu    /*   8 */ SyscallDesc("creat", unimplementedFunc), //32 bit
1014188Sgblack@eecs.umich.edu    /*   9 */ SyscallDesc("link", unimplementedFunc),
1024188Sgblack@eecs.umich.edu    /*  10 */ SyscallDesc("unlink", unlinkFunc),
1034188Sgblack@eecs.umich.edu    /*  11 */ SyscallDesc("execv", unimplementedFunc),
1044188Sgblack@eecs.umich.edu    /*  12 */ SyscallDesc("chdir", unimplementedFunc),
1054188Sgblack@eecs.umich.edu    /*  13 */ SyscallDesc("chown", chownFunc), //32 bit
1064188Sgblack@eecs.umich.edu    /*  14 */ SyscallDesc("mknod", unimplementedFunc),
1074188Sgblack@eecs.umich.edu    /*  15 */ SyscallDesc("chmod", unimplementedFunc),
1084188Sgblack@eecs.umich.edu    /*  16 */ SyscallDesc("lchown", unimplementedFunc), //32 bit
1094188Sgblack@eecs.umich.edu    /*  17 */ SyscallDesc("brk", obreakFunc),
1104188Sgblack@eecs.umich.edu    /*  18 */ SyscallDesc("perfctr", unimplementedFunc), //32 bit
1114188Sgblack@eecs.umich.edu    /*  19 */ SyscallDesc("lseek", lseekFunc), //32 bit
1124188Sgblack@eecs.umich.edu    /*  20 */ SyscallDesc("getpid", getpidFunc),
1134188Sgblack@eecs.umich.edu    /*  21 */ SyscallDesc("capget", unimplementedFunc),
1144188Sgblack@eecs.umich.edu    /*  22 */ SyscallDesc("capset", unimplementedFunc),
1154188Sgblack@eecs.umich.edu    /*  23 */ SyscallDesc("setuid", setuidFunc), //32 bit
1164188Sgblack@eecs.umich.edu    /*  24 */ SyscallDesc("getuid", getuidFunc), //32 bit
1174188Sgblack@eecs.umich.edu    /*  25 */ SyscallDesc("time", unimplementedFunc),
1184188Sgblack@eecs.umich.edu    /*  26 */ SyscallDesc("ptrace", unimplementedFunc),
1194188Sgblack@eecs.umich.edu    /*  27 */ SyscallDesc("alarm", unimplementedFunc),
1204188Sgblack@eecs.umich.edu    /*  28 */ SyscallDesc("sigaltstack", unimplementedFunc), //32 bit
1214188Sgblack@eecs.umich.edu    /*  29 */ SyscallDesc("pause", unimplementedFunc), //32 bit
1224188Sgblack@eecs.umich.edu    /*  30 */ SyscallDesc("utime", unimplementedFunc),
1234188Sgblack@eecs.umich.edu    /*  31 */ SyscallDesc("lchown32", unimplementedFunc),
1244188Sgblack@eecs.umich.edu    /*  32 */ SyscallDesc("fchown32", unimplementedFunc),
1254188Sgblack@eecs.umich.edu    /*  33 */ SyscallDesc("access", unimplementedFunc), //32 bit
1264188Sgblack@eecs.umich.edu    /*  34 */ SyscallDesc("nice", unimplementedFunc), //32 bit
1274188Sgblack@eecs.umich.edu    /*  35 */ SyscallDesc("chown32", unimplementedFunc),
1284188Sgblack@eecs.umich.edu    /*  36 */ SyscallDesc("sync", unimplementedFunc),
1294188Sgblack@eecs.umich.edu    /*  37 */ SyscallDesc("kill", unimplementedFunc), //32 bit
1304188Sgblack@eecs.umich.edu    /*  38 */ SyscallDesc("stat", unimplementedFunc),
1314188Sgblack@eecs.umich.edu    /*  39 */ SyscallDesc("sendfile", unimplementedFunc), //32 bit
1324188Sgblack@eecs.umich.edu    /*  40 */ SyscallDesc("lstat", unimplementedFunc),
1334188Sgblack@eecs.umich.edu    /*  41 */ SyscallDesc("dup", unimplementedFunc),
1344188Sgblack@eecs.umich.edu    /*  42 */ SyscallDesc("pipe", pipePseudoFunc),
1354188Sgblack@eecs.umich.edu    /*  43 */ SyscallDesc("times", unimplementedFunc),
1364188Sgblack@eecs.umich.edu    /*  44 */ SyscallDesc("getuid32", unimplementedFunc),
1374188Sgblack@eecs.umich.edu    /*  45 */ SyscallDesc("umount2", unimplementedFunc), //32 bit
1384188Sgblack@eecs.umich.edu    /*  46 */ SyscallDesc("setgid", unimplementedFunc), //32 bit
1394188Sgblack@eecs.umich.edu    /*  47 */ SyscallDesc("getgid", getgidFunc), //32 bit
1404188Sgblack@eecs.umich.edu    /*  48 */ SyscallDesc("signal", unimplementedFunc), //32 bit
1414188Sgblack@eecs.umich.edu    /*  49 */ SyscallDesc("geteuid", geteuidFunc), //32 bit
1424188Sgblack@eecs.umich.edu    /*  50 */ SyscallDesc("getegid", getegidFunc), //32 bit
1434188Sgblack@eecs.umich.edu    /*  51 */ SyscallDesc("acct", unimplementedFunc),
1444188Sgblack@eecs.umich.edu    /*  52 */ SyscallDesc("memory_ordering", unimplementedFunc),
1454188Sgblack@eecs.umich.edu    /*  53 */ SyscallDesc("getgid32", unimplementedFunc),
1464188Sgblack@eecs.umich.edu    /*  54 */ SyscallDesc("ioctl", unimplementedFunc),
1474188Sgblack@eecs.umich.edu    /*  55 */ SyscallDesc("reboot", unimplementedFunc), //32 bit
1484188Sgblack@eecs.umich.edu    /*  56 */ SyscallDesc("mmap2", unimplementedFunc), //32 bit
1494188Sgblack@eecs.umich.edu    /*  57 */ SyscallDesc("symlink", unimplementedFunc),
1504188Sgblack@eecs.umich.edu    /*  58 */ SyscallDesc("readlink", unimplementedFunc), //32 bit
1514188Sgblack@eecs.umich.edu    /*  59 */ SyscallDesc("execve", unimplementedFunc), //32 bit
1524188Sgblack@eecs.umich.edu    /*  60 */ SyscallDesc("umask", unimplementedFunc), //32 bit
1534188Sgblack@eecs.umich.edu    /*  61 */ SyscallDesc("chroot", unimplementedFunc),
1544188Sgblack@eecs.umich.edu    /*  62 */ SyscallDesc("fstat", unimplementedFunc),
1554188Sgblack@eecs.umich.edu    /*  63 */ SyscallDesc("fstat64", fstat64Func<Sparc32Linux>),
1564188Sgblack@eecs.umich.edu    /*  64 */ SyscallDesc("getpagesize", unimplementedFunc),
1574188Sgblack@eecs.umich.edu    /*  65 */ SyscallDesc("msync", unimplementedFunc), //32 bit
1584188Sgblack@eecs.umich.edu    /*  66 */ SyscallDesc("vfork", unimplementedFunc),
1594188Sgblack@eecs.umich.edu    /*  67 */ SyscallDesc("pread64", unimplementedFunc), //32 bit
1604188Sgblack@eecs.umich.edu    /*  68 */ SyscallDesc("pwrite64", unimplementedFunc), //32 bit
1614188Sgblack@eecs.umich.edu    /*  69 */ SyscallDesc("geteuid32", unimplementedFunc),
1624188Sgblack@eecs.umich.edu    /*  70 */ SyscallDesc("getegid32", unimplementedFunc),
1634188Sgblack@eecs.umich.edu    /*  71 */ SyscallDesc("mmap", mmapFunc<Sparc32Linux>),
1644188Sgblack@eecs.umich.edu    /*  72 */ SyscallDesc("setreuid32", unimplementedFunc),
1654188Sgblack@eecs.umich.edu    /*  73 */ SyscallDesc("munmap", munmapFunc),
1664188Sgblack@eecs.umich.edu    /*  74 */ SyscallDesc("mprotect", unimplementedFunc),
1674188Sgblack@eecs.umich.edu    /*  75 */ SyscallDesc("madvise", unimplementedFunc),
1684188Sgblack@eecs.umich.edu    /*  76 */ SyscallDesc("vhangup", unimplementedFunc),
1694188Sgblack@eecs.umich.edu    /*  77 */ SyscallDesc("truncate64", unimplementedFunc), //32 bit
1704188Sgblack@eecs.umich.edu    /*  78 */ SyscallDesc("mincore", unimplementedFunc),
1714188Sgblack@eecs.umich.edu    /*  79 */ SyscallDesc("getgroups", unimplementedFunc), //32 bit
1724188Sgblack@eecs.umich.edu    /*  80 */ SyscallDesc("setgroups", unimplementedFunc), //32 bit
1734188Sgblack@eecs.umich.edu    /*  81 */ SyscallDesc("getpgrp", unimplementedFunc),
1744188Sgblack@eecs.umich.edu    /*  82 */ SyscallDesc("setgroups32", unimplementedFunc), //32 bit
1754188Sgblack@eecs.umich.edu    /*  83 */ SyscallDesc("setitimer", unimplementedFunc), //32 bit
1764188Sgblack@eecs.umich.edu    /*  84 */ SyscallDesc("ftruncate64", unimplementedFunc), //32 bit
1774188Sgblack@eecs.umich.edu    /*  85 */ SyscallDesc("swapon", unimplementedFunc), //32 bit
1784188Sgblack@eecs.umich.edu    /*  86 */ SyscallDesc("getitimer", unimplementedFunc), //32 bit
1794188Sgblack@eecs.umich.edu    /*  87 */ SyscallDesc("setuid32", unimplementedFunc),
1804188Sgblack@eecs.umich.edu    /*  88 */ SyscallDesc("sethostname", unimplementedFunc), //32 bit
1814188Sgblack@eecs.umich.edu    /*  89 */ SyscallDesc("setgid32", unimplementedFunc),
1824188Sgblack@eecs.umich.edu    /*  90 */ SyscallDesc("dup2", unimplementedFunc),
1834188Sgblack@eecs.umich.edu    /*  91 */ SyscallDesc("setfsuid32", unimplementedFunc),
1844188Sgblack@eecs.umich.edu    /*  92 */ SyscallDesc("fcntl", unimplementedFunc),
1854188Sgblack@eecs.umich.edu    /*  93 */ SyscallDesc("select", unimplementedFunc), //32 bit
1864188Sgblack@eecs.umich.edu    /*  94 */ SyscallDesc("setfsgid32", unimplementedFunc),
1874188Sgblack@eecs.umich.edu    /*  95 */ SyscallDesc("fsync", unimplementedFunc),
1884188Sgblack@eecs.umich.edu    /*  96 */ SyscallDesc("setpriority", unimplementedFunc), //32 bit
1894188Sgblack@eecs.umich.edu    /*  97 */ SyscallDesc("socket", unimplementedFunc),
1904188Sgblack@eecs.umich.edu    /*  98 */ SyscallDesc("connect", unimplementedFunc),
1914188Sgblack@eecs.umich.edu    /*  99 */ SyscallDesc("accept", unimplementedFunc),
1924188Sgblack@eecs.umich.edu    /* 100 */ SyscallDesc("getpriority", unimplementedFunc), //32 bit
1934188Sgblack@eecs.umich.edu    /* 101 */ SyscallDesc("rt_sigreturn", unimplementedFunc), //32 bit
1944188Sgblack@eecs.umich.edu    /* 102 */ SyscallDesc("rt_sigaction", ignoreFunc), //32 bit
1954188Sgblack@eecs.umich.edu    /* 103 */ SyscallDesc("rt_sigprocmask", unimplementedFunc), //32 bit
1964188Sgblack@eecs.umich.edu    /* 104 */ SyscallDesc("rt_sigpending", unimplementedFunc), //32 bit
1974188Sgblack@eecs.umich.edu    /* 105 */ SyscallDesc("rt_sigtimedwait", unimplementedFunc),
1984188Sgblack@eecs.umich.edu    /* 106 */ SyscallDesc("rt_sigqueueinfo", unimplementedFunc), //32 bit
1994188Sgblack@eecs.umich.edu    /* 107 */ SyscallDesc("rt_sigsuspend", unimplementedFunc),
2004188Sgblack@eecs.umich.edu    /* 108 */ SyscallDesc("setresuid32", unimplementedFunc),
2014188Sgblack@eecs.umich.edu    /* 109 */ SyscallDesc("getresuid32", getresuidFunc),
2024188Sgblack@eecs.umich.edu    /* 110 */ SyscallDesc("setresgid32", unimplementedFunc),
2034188Sgblack@eecs.umich.edu    /* 111 */ SyscallDesc("getresgid32", unimplementedFunc),
2044188Sgblack@eecs.umich.edu    /* 112 */ SyscallDesc("setregid32", unimplementedFunc),
2054188Sgblack@eecs.umich.edu    /* 113 */ SyscallDesc("revcmsg", unimplementedFunc),
2064188Sgblack@eecs.umich.edu    /* 114 */ SyscallDesc("sendmsg", unimplementedFunc),
2074188Sgblack@eecs.umich.edu    /* 115 */ SyscallDesc("getgroups32", unimplementedFunc), //32 bit
2084188Sgblack@eecs.umich.edu    /* 116 */ SyscallDesc("gettimeofday", unimplementedFunc), //32 bit
2094188Sgblack@eecs.umich.edu    /* 117 */ SyscallDesc("getrusage", unimplementedFunc), //32 bit
2104188Sgblack@eecs.umich.edu    /* 118 */ SyscallDesc("getsockopt", unimplementedFunc),
2114188Sgblack@eecs.umich.edu    /* 119 */ SyscallDesc("getcwd", unimplementedFunc),
2124188Sgblack@eecs.umich.edu    /* 120 */ SyscallDesc("readv", unimplementedFunc),
2134188Sgblack@eecs.umich.edu    /* 121 */ SyscallDesc("writev", unimplementedFunc),
2144188Sgblack@eecs.umich.edu    /* 122 */ SyscallDesc("settimeofday", unimplementedFunc), //32 bit
2154188Sgblack@eecs.umich.edu    /* 123 */ SyscallDesc("fchown", unimplementedFunc), //32 bit
2164188Sgblack@eecs.umich.edu    /* 124 */ SyscallDesc("fchmod", unimplementedFunc),
2174188Sgblack@eecs.umich.edu    /* 125 */ SyscallDesc("recvfrom", unimplementedFunc),
2184188Sgblack@eecs.umich.edu    /* 126 */ SyscallDesc("setreuid", unimplementedFunc), //32 bit
2194188Sgblack@eecs.umich.edu    /* 127 */ SyscallDesc("setregid", unimplementedFunc), //32 bit
2204236Sgblack@eecs.umich.edu    /* 128 */ SyscallDesc("rename", renameFunc),
2214188Sgblack@eecs.umich.edu    /* 129 */ SyscallDesc("truncate", unimplementedFunc),
2224188Sgblack@eecs.umich.edu    /* 130 */ SyscallDesc("ftruncate", unimplementedFunc),
2234188Sgblack@eecs.umich.edu    /* 131 */ SyscallDesc("flock", unimplementedFunc),
2244188Sgblack@eecs.umich.edu    /* 132 */ SyscallDesc("lstat64", unimplementedFunc),
2254188Sgblack@eecs.umich.edu    /* 133 */ SyscallDesc("sendto", unimplementedFunc),
2264188Sgblack@eecs.umich.edu    /* 134 */ SyscallDesc("shutdown", unimplementedFunc),
2274188Sgblack@eecs.umich.edu    /* 135 */ SyscallDesc("socketpair", unimplementedFunc),
2284188Sgblack@eecs.umich.edu    /* 136 */ SyscallDesc("mkdir", unimplementedFunc), //32 bit
2294188Sgblack@eecs.umich.edu    /* 137 */ SyscallDesc("rmdir", unimplementedFunc),
2304188Sgblack@eecs.umich.edu    /* 138 */ SyscallDesc("utimes", unimplementedFunc), //32 bit
2314188Sgblack@eecs.umich.edu    /* 139 */ SyscallDesc("stat64", unimplementedFunc),
2324188Sgblack@eecs.umich.edu    /* 140 */ SyscallDesc("sendfile64", unimplementedFunc), //32 bit
2334188Sgblack@eecs.umich.edu    /* 141 */ SyscallDesc("getpeername", unimplementedFunc),
2344188Sgblack@eecs.umich.edu    /* 142 */ SyscallDesc("futex", unimplementedFunc), //32 bit
2354188Sgblack@eecs.umich.edu    /* 143 */ SyscallDesc("gettid", unimplementedFunc),
2364188Sgblack@eecs.umich.edu    /* 144 */ SyscallDesc("getrlimit", unimplementedFunc),
2374188Sgblack@eecs.umich.edu    /* 145 */ SyscallDesc("setrlimit", unimplementedFunc),
2384188Sgblack@eecs.umich.edu    /* 146 */ SyscallDesc("pivot_root", unimplementedFunc),
2394188Sgblack@eecs.umich.edu    /* 147 */ SyscallDesc("prctl", unimplementedFunc), //32 bit
2404188Sgblack@eecs.umich.edu    /* 148 */ SyscallDesc("pciconfig_read", unimplementedFunc),
2414188Sgblack@eecs.umich.edu    /* 149 */ SyscallDesc("pciconfig_write", unimplementedFunc),
2424188Sgblack@eecs.umich.edu    /* 150 */ SyscallDesc("getsockname", unimplementedFunc),
2434188Sgblack@eecs.umich.edu    /* 151 */ SyscallDesc("inotify_init", unimplementedFunc),
2444188Sgblack@eecs.umich.edu    /* 152 */ SyscallDesc("inotify_add_watch", unimplementedFunc),
2454188Sgblack@eecs.umich.edu    /* 153 */ SyscallDesc("poll", unimplementedFunc),
2464188Sgblack@eecs.umich.edu    /* 154 */ SyscallDesc("getdents64", unimplementedFunc),
2474188Sgblack@eecs.umich.edu    /* 155 */ SyscallDesc("fcntl64", unimplementedFunc),
2484188Sgblack@eecs.umich.edu    /* 156 */ SyscallDesc("inotify_rm_watch", unimplementedFunc),
2494188Sgblack@eecs.umich.edu    /* 157 */ SyscallDesc("statfs", unimplementedFunc),
2504188Sgblack@eecs.umich.edu    /* 158 */ SyscallDesc("fstatfs", unimplementedFunc),
2514188Sgblack@eecs.umich.edu    /* 159 */ SyscallDesc("umount", unimplementedFunc),
2524188Sgblack@eecs.umich.edu    /* 160 */ SyscallDesc("sched_setaffinity", unimplementedFunc),
2534188Sgblack@eecs.umich.edu    /* 161 */ SyscallDesc("sched_getaffinity", unimplementedFunc),
2544188Sgblack@eecs.umich.edu    /* 162 */ SyscallDesc("getdomainname", unimplementedFunc), //32 bit
2554188Sgblack@eecs.umich.edu    /* 163 */ SyscallDesc("setdomainname", unimplementedFunc), //32 bit
2564188Sgblack@eecs.umich.edu    /* 164 */ SyscallDesc("ni_syscall", unimplementedFunc),
2574188Sgblack@eecs.umich.edu    /* 165 */ SyscallDesc("quotactl", unimplementedFunc),
2584188Sgblack@eecs.umich.edu    /* 166 */ SyscallDesc("set_tid_address", unimplementedFunc),
2594188Sgblack@eecs.umich.edu    /* 167 */ SyscallDesc("mount", unimplementedFunc),
2604188Sgblack@eecs.umich.edu    /* 168 */ SyscallDesc("ustat", unimplementedFunc),
2614188Sgblack@eecs.umich.edu    /* 169 */ SyscallDesc("setxattr", unimplementedFunc), //32 bit
2624188Sgblack@eecs.umich.edu    /* 170 */ SyscallDesc("lsetxattr", unimplementedFunc), //32 bit
2634188Sgblack@eecs.umich.edu    /* 171 */ SyscallDesc("fsetxattr", unimplementedFunc), //32 bit
2644188Sgblack@eecs.umich.edu    /* 172 */ SyscallDesc("getxattr", unimplementedFunc),
2654188Sgblack@eecs.umich.edu    /* 173 */ SyscallDesc("lgetxattr", unimplementedFunc),
2664188Sgblack@eecs.umich.edu    /* 174 */ SyscallDesc("getdents", unimplementedFunc),
2674188Sgblack@eecs.umich.edu    /* 175 */ SyscallDesc("setsid", unimplementedFunc),
2684188Sgblack@eecs.umich.edu    /* 176 */ SyscallDesc("fchdir", unimplementedFunc),
2694188Sgblack@eecs.umich.edu    /* 177 */ SyscallDesc("fgetxattr", unimplementedFunc), //32 bit
2704188Sgblack@eecs.umich.edu    /* 178 */ SyscallDesc("listxattr", unimplementedFunc),
2714188Sgblack@eecs.umich.edu    /* 179 */ SyscallDesc("llistxattr", unimplementedFunc),
2724188Sgblack@eecs.umich.edu    /* 180 */ SyscallDesc("flistxattr", unimplementedFunc), //32 bit
2734188Sgblack@eecs.umich.edu    /* 181 */ SyscallDesc("removexattr", unimplementedFunc),
2744188Sgblack@eecs.umich.edu    /* 182 */ SyscallDesc("lremovexattr", unimplementedFunc),
2754188Sgblack@eecs.umich.edu    /* 183 */ SyscallDesc("sigpending", unimplementedFunc),
2764188Sgblack@eecs.umich.edu    /* 184 */ SyscallDesc("query_module", unimplementedFunc),
2774188Sgblack@eecs.umich.edu    /* 185 */ SyscallDesc("setpgid", unimplementedFunc), //32 bit
2784188Sgblack@eecs.umich.edu    /* 186 */ SyscallDesc("fremovexattr", unimplementedFunc), //32 bit
2794188Sgblack@eecs.umich.edu    /* 187 */ SyscallDesc("tkill", unimplementedFunc), //32 bit
2804188Sgblack@eecs.umich.edu    /* 188 */ SyscallDesc("exit_group", exitFunc), //32 bit
2814188Sgblack@eecs.umich.edu    /* 189 */ SyscallDesc("uname", unameFunc),
2824188Sgblack@eecs.umich.edu    /* 190 */ SyscallDesc("init_module", unimplementedFunc), //32 bit
2834188Sgblack@eecs.umich.edu    /* 191 */ SyscallDesc("personality", unimplementedFunc),
2844188Sgblack@eecs.umich.edu    /* 192 */ SyscallDesc("remap_file_pages", unimplementedFunc),
2854188Sgblack@eecs.umich.edu    /* 193 */ SyscallDesc("epoll_create", unimplementedFunc), //32 bit
2864188Sgblack@eecs.umich.edu    /* 194 */ SyscallDesc("epoll_ctl", unimplementedFunc), //32 bit
2874188Sgblack@eecs.umich.edu    /* 195 */ SyscallDesc("epoll_wait", unimplementedFunc), //32 bit
2884188Sgblack@eecs.umich.edu    /* 196 */ SyscallDesc("ioprio_set", unimplementedFunc), //32 bit
2894188Sgblack@eecs.umich.edu    /* 197 */ SyscallDesc("getppid", getppidFunc),
2904188Sgblack@eecs.umich.edu    /* 198 */ SyscallDesc("sigaction", unimplementedFunc), //32 bit
2914188Sgblack@eecs.umich.edu    /* 199 */ SyscallDesc("sgetmask", unimplementedFunc),
2924188Sgblack@eecs.umich.edu    /* 200 */ SyscallDesc("ssetmask", unimplementedFunc),
2934188Sgblack@eecs.umich.edu    /* 201 */ SyscallDesc("sigsuspend", unimplementedFunc),
2944188Sgblack@eecs.umich.edu    /* 202 */ SyscallDesc("oldlstat", unimplementedFunc),
2954188Sgblack@eecs.umich.edu    /* 203 */ SyscallDesc("uselib", unimplementedFunc),
2964188Sgblack@eecs.umich.edu    /* 204 */ SyscallDesc("readdir", unimplementedFunc),
2974188Sgblack@eecs.umich.edu    /* 205 */ SyscallDesc("readahead", unimplementedFunc), //32 bit
2984188Sgblack@eecs.umich.edu    /* 206 */ SyscallDesc("socketcall", unimplementedFunc), //32 bit
2994188Sgblack@eecs.umich.edu    /* 207 */ SyscallDesc("syslog", unimplementedFunc), //32 bit
3004188Sgblack@eecs.umich.edu    /* 208 */ SyscallDesc("lookup_dcookie", unimplementedFunc), //32 bit
3014188Sgblack@eecs.umich.edu    /* 209 */ SyscallDesc("fadvise64", unimplementedFunc), //32 bit
3024188Sgblack@eecs.umich.edu    /* 210 */ SyscallDesc("fadvise64_64", unimplementedFunc), //32 bit
3034188Sgblack@eecs.umich.edu    /* 211 */ SyscallDesc("tgkill", unimplementedFunc), //32 bit
3044188Sgblack@eecs.umich.edu    /* 212 */ SyscallDesc("waitpid", unimplementedFunc), //32 bit
3054188Sgblack@eecs.umich.edu    /* 213 */ SyscallDesc("swapoff", unimplementedFunc),
3064188Sgblack@eecs.umich.edu    /* 214 */ SyscallDesc("sysinfo", unimplementedFunc), //32 bit
3074188Sgblack@eecs.umich.edu    /* 215 */ SyscallDesc("ipc", unimplementedFunc), //32 bit
3084188Sgblack@eecs.umich.edu    /* 216 */ SyscallDesc("sigreturn", unimplementedFunc), //32 bit
3094188Sgblack@eecs.umich.edu    /* 217 */ SyscallDesc("clone", unimplementedFunc),
3104188Sgblack@eecs.umich.edu    /* 218 */ SyscallDesc("ioprio_get", unimplementedFunc), //32 bit
3114188Sgblack@eecs.umich.edu    /* 219 */ SyscallDesc("adjtimex", unimplementedFunc), //32 bit
3124188Sgblack@eecs.umich.edu    /* 220 */ SyscallDesc("sigprocmask", unimplementedFunc), //32 bit
3134188Sgblack@eecs.umich.edu    /* 221 */ SyscallDesc("create_module", unimplementedFunc),
3144188Sgblack@eecs.umich.edu    /* 222 */ SyscallDesc("delete_module", unimplementedFunc), //32 bit
3154188Sgblack@eecs.umich.edu    /* 223 */ SyscallDesc("get_kernel_syms", unimplementedFunc),
3164188Sgblack@eecs.umich.edu    /* 224 */ SyscallDesc("getpgid", unimplementedFunc), //32 bit
3174188Sgblack@eecs.umich.edu    /* 225 */ SyscallDesc("bdflush", unimplementedFunc), //32 bit
3184188Sgblack@eecs.umich.edu    /* 226 */ SyscallDesc("sysfs", unimplementedFunc), //32 bit
3194188Sgblack@eecs.umich.edu    /* 227 */ SyscallDesc("afs_syscall", unimplementedFunc),
3204188Sgblack@eecs.umich.edu    /* 228 */ SyscallDesc("setfsuid", unimplementedFunc), //32 bit
3214188Sgblack@eecs.umich.edu    /* 229 */ SyscallDesc("setfsgid", unimplementedFunc), //32 bit
3224188Sgblack@eecs.umich.edu    /* 230 */ SyscallDesc("_newselect", unimplementedFunc), //32 bit
3234188Sgblack@eecs.umich.edu    /* 231 */ SyscallDesc("time", unimplementedFunc),
3244188Sgblack@eecs.umich.edu    /* 232 */ SyscallDesc("oldstat", unimplementedFunc),
3254188Sgblack@eecs.umich.edu    /* 233 */ SyscallDesc("stime", unimplementedFunc),
3264188Sgblack@eecs.umich.edu    /* 234 */ SyscallDesc("statfs64", unimplementedFunc),
3274188Sgblack@eecs.umich.edu    /* 235 */ SyscallDesc("fstatfs64", unimplementedFunc),
3284188Sgblack@eecs.umich.edu    /* 236 */ SyscallDesc("_llseek", _llseekFunc),
3294188Sgblack@eecs.umich.edu    /* 237 */ SyscallDesc("mlock", unimplementedFunc),
3304188Sgblack@eecs.umich.edu    /* 238 */ SyscallDesc("munlock", unimplementedFunc),
3314188Sgblack@eecs.umich.edu    /* 239 */ SyscallDesc("mlockall", unimplementedFunc), //32 bit
3324188Sgblack@eecs.umich.edu    /* 240 */ SyscallDesc("munlockall", unimplementedFunc),
3334188Sgblack@eecs.umich.edu    /* 241 */ SyscallDesc("sched_setparam", unimplementedFunc), //32 bit
3344188Sgblack@eecs.umich.edu    /* 242 */ SyscallDesc("sched_getparam", unimplementedFunc), //32 bit
3354188Sgblack@eecs.umich.edu    /* 243 */ SyscallDesc("sched_setscheduler", unimplementedFunc), //32 bit
3364188Sgblack@eecs.umich.edu    /* 244 */ SyscallDesc("sched_getscheduler", unimplementedFunc), //32 bit
3374188Sgblack@eecs.umich.edu    /* 245 */ SyscallDesc("sched_yield", unimplementedFunc),
3384188Sgblack@eecs.umich.edu    /* 246 */ SyscallDesc("sched_get_priority_max", unimplementedFunc), //32 bit
3394188Sgblack@eecs.umich.edu    /* 247 */ SyscallDesc("sched_get_priority_min", unimplementedFunc), //32 bit
3404188Sgblack@eecs.umich.edu    /* 248 */ SyscallDesc("sched_rr_get_interval", unimplementedFunc), //32 bit
3414188Sgblack@eecs.umich.edu    /* 249 */ SyscallDesc("nanosleep", unimplementedFunc),
3424188Sgblack@eecs.umich.edu    /* 250 */ SyscallDesc("mremap", unimplementedFunc), //32 bit
3434188Sgblack@eecs.umich.edu    /* 251 */ SyscallDesc("_sysctl", unimplementedFunc), //32 bit
3444188Sgblack@eecs.umich.edu    /* 252 */ SyscallDesc("getsid", unimplementedFunc), //32 bit
3454188Sgblack@eecs.umich.edu    /* 253 */ SyscallDesc("fdatasync", unimplementedFunc),
3464188Sgblack@eecs.umich.edu    /* 254 */ SyscallDesc("nfsservctl", unimplementedFunc), //32 bit
3474188Sgblack@eecs.umich.edu    /* 255 */ SyscallDesc("aplib", unimplementedFunc),
3484188Sgblack@eecs.umich.edu    /* 256 */ SyscallDesc("clock_settime", unimplementedFunc),
3494188Sgblack@eecs.umich.edu    /* 257 */ SyscallDesc("clock_gettime", unimplementedFunc),
3504188Sgblack@eecs.umich.edu    /* 258 */ SyscallDesc("clock_getres", unimplementedFunc),
3514188Sgblack@eecs.umich.edu    /* 259 */ SyscallDesc("clock_nanosleep", unimplementedFunc), //32 bit
3524188Sgblack@eecs.umich.edu    /* 260 */ SyscallDesc("sched_getaffinity", unimplementedFunc),
3534188Sgblack@eecs.umich.edu    /* 261 */ SyscallDesc("sched_setaffinity", unimplementedFunc),
3544188Sgblack@eecs.umich.edu    /* 262 */ SyscallDesc("timer_settime", unimplementedFunc), //32 bit
3554188Sgblack@eecs.umich.edu    /* 263 */ SyscallDesc("timer_gettime", unimplementedFunc),
3564188Sgblack@eecs.umich.edu    /* 264 */ SyscallDesc("timer_getoverrun", unimplementedFunc),
3574188Sgblack@eecs.umich.edu    /* 265 */ SyscallDesc("timer_delete", unimplementedFunc),
3584188Sgblack@eecs.umich.edu    /* 266 */ SyscallDesc("timer_create", unimplementedFunc),
3594188Sgblack@eecs.umich.edu    /* 267 */ SyscallDesc("vserver", unimplementedFunc),
3604188Sgblack@eecs.umich.edu    /* 268 */ SyscallDesc("io_setup", unimplementedFunc),
3614188Sgblack@eecs.umich.edu    /* 269 */ SyscallDesc("io_destroy", unimplementedFunc),
3624188Sgblack@eecs.umich.edu    /* 270 */ SyscallDesc("io_submit", unimplementedFunc), //32 bit
3634188Sgblack@eecs.umich.edu    /* 271 */ SyscallDesc("io_cancel", unimplementedFunc),
3644188Sgblack@eecs.umich.edu    /* 272 */ SyscallDesc("io_getevents", unimplementedFunc),
3654188Sgblack@eecs.umich.edu    /* 273 */ SyscallDesc("mq_open", unimplementedFunc), //32 bit
3664188Sgblack@eecs.umich.edu    /* 274 */ SyscallDesc("mq_unlink", unimplementedFunc),
3674188Sgblack@eecs.umich.edu    /* 275 */ SyscallDesc("mq_timedsend", unimplementedFunc),
3684188Sgblack@eecs.umich.edu    /* 276 */ SyscallDesc("mq_timedreceive", unimplementedFunc),
3694188Sgblack@eecs.umich.edu    /* 277 */ SyscallDesc("mq_notify", unimplementedFunc),
3704188Sgblack@eecs.umich.edu    /* 278 */ SyscallDesc("mq_getsetattr", unimplementedFunc),
3714188Sgblack@eecs.umich.edu    /* 279 */ SyscallDesc("waitid", unimplementedFunc),
3724188Sgblack@eecs.umich.edu    /* 280 */ SyscallDesc("sys_setaltroot", unimplementedFunc),
3734188Sgblack@eecs.umich.edu    /* 281 */ SyscallDesc("add_key", unimplementedFunc),
3744188Sgblack@eecs.umich.edu    /* 282 */ SyscallDesc("request_key", unimplementedFunc),
3754188Sgblack@eecs.umich.edu    /* 283 */ SyscallDesc("keyctl", unimplementedFunc),
3764188Sgblack@eecs.umich.edu    /* 284 */ SyscallDesc("openat", unimplementedFunc),
3774188Sgblack@eecs.umich.edu    /* 285 */ SyscallDesc("mkdirat", unimplementedFunc),
3784188Sgblack@eecs.umich.edu    /* 286 */ SyscallDesc("mknodat", unimplementedFunc),
3794188Sgblack@eecs.umich.edu    /* 287 */ SyscallDesc("fchownat", unimplementedFunc),
3804188Sgblack@eecs.umich.edu    /* 288 */ SyscallDesc("futimesat", unimplementedFunc),
3814188Sgblack@eecs.umich.edu    /* 289 */ SyscallDesc("fstatat64", unimplementedFunc),
3824188Sgblack@eecs.umich.edu    /* 290 */ SyscallDesc("unlinkat", unimplementedFunc),
3834188Sgblack@eecs.umich.edu    /* 291 */ SyscallDesc("renameat", unimplementedFunc),
3844188Sgblack@eecs.umich.edu    /* 292 */ SyscallDesc("linkat", unimplementedFunc),
3854188Sgblack@eecs.umich.edu    /* 293 */ SyscallDesc("symlinkat", unimplementedFunc),
3864188Sgblack@eecs.umich.edu    /* 294 */ SyscallDesc("readlinkat", unimplementedFunc),
3874188Sgblack@eecs.umich.edu    /* 295 */ SyscallDesc("fchmodat", unimplementedFunc),
3884188Sgblack@eecs.umich.edu    /* 296 */ SyscallDesc("faccessat", unimplementedFunc),
3894188Sgblack@eecs.umich.edu    /* 297 */ SyscallDesc("pselect6", unimplementedFunc),
3904188Sgblack@eecs.umich.edu    /* 298 */ SyscallDesc("ppoll", unimplementedFunc),
3914188Sgblack@eecs.umich.edu    /* 299 */ SyscallDesc("unshare", unimplementedFunc)
3924188Sgblack@eecs.umich.edu};
3934188Sgblack@eecs.umich.edu
3944188Sgblack@eecs.umich.eduSyscallDesc SparcLinuxProcess::syscallDescs[] = {
3954188Sgblack@eecs.umich.edu    /*  0 */ SyscallDesc("restart_syscall", unimplementedFunc),
3964188Sgblack@eecs.umich.edu    /*  1 */ SyscallDesc("exit", exitFunc),
3974188Sgblack@eecs.umich.edu    /*  2 */ SyscallDesc("fork", unimplementedFunc),
3984188Sgblack@eecs.umich.edu    /*  3 */ SyscallDesc("read", readFunc),
3994188Sgblack@eecs.umich.edu    /*  4 */ SyscallDesc("write", writeFunc),
4004188Sgblack@eecs.umich.edu    /*  5 */ SyscallDesc("open", openFunc<SparcLinux>),
4014188Sgblack@eecs.umich.edu    /*  6 */ SyscallDesc("close", closeFunc),
4024188Sgblack@eecs.umich.edu    /*  7 */ SyscallDesc("wait4", unimplementedFunc),
4034188Sgblack@eecs.umich.edu    /*  8 */ SyscallDesc("creat", unimplementedFunc),
4044188Sgblack@eecs.umich.edu    /*  9 */ SyscallDesc("link", unimplementedFunc),
4054188Sgblack@eecs.umich.edu    /* 10 */ SyscallDesc("unlink", unlinkFunc),
4064188Sgblack@eecs.umich.edu    /* 11 */ SyscallDesc("execv", unimplementedFunc),
4074188Sgblack@eecs.umich.edu    /* 12 */ SyscallDesc("chdir", unimplementedFunc),
4084188Sgblack@eecs.umich.edu    /* 13 */ SyscallDesc("chown", chownFunc),
4094188Sgblack@eecs.umich.edu    /* 14 */ SyscallDesc("mknod", unimplementedFunc),
4104188Sgblack@eecs.umich.edu    /* 15 */ SyscallDesc("chmod", chmodFunc<Linux>),
4114188Sgblack@eecs.umich.edu    /* 16 */ SyscallDesc("lchown", unimplementedFunc),
4124188Sgblack@eecs.umich.edu    /* 17 */ SyscallDesc("brk", obreakFunc),
4134188Sgblack@eecs.umich.edu    /* 18 */ SyscallDesc("perfctr", unimplementedFunc),
4144188Sgblack@eecs.umich.edu    /* 19 */ SyscallDesc("lseek", lseekFunc),
4154188Sgblack@eecs.umich.edu    /* 20 */ SyscallDesc("getpid", getpidFunc),
4164188Sgblack@eecs.umich.edu    /* 21 */ SyscallDesc("capget", unimplementedFunc),
4174188Sgblack@eecs.umich.edu    /* 22 */ SyscallDesc("capset", unimplementedFunc),
4184188Sgblack@eecs.umich.edu    /* 23 */ SyscallDesc("setuid", setuidFunc),
4194188Sgblack@eecs.umich.edu    /* 24 */ SyscallDesc("getuid", getuidFunc),
4204188Sgblack@eecs.umich.edu    /* 25 */ SyscallDesc("time", unimplementedFunc),
4214188Sgblack@eecs.umich.edu    /* 26 */ SyscallDesc("ptrace", unimplementedFunc),
4224188Sgblack@eecs.umich.edu    /* 27 */ SyscallDesc("alarm", unimplementedFunc),
4234188Sgblack@eecs.umich.edu    /* 28 */ SyscallDesc("sigaltstack", unimplementedFunc),
4244188Sgblack@eecs.umich.edu    /* 29 */ SyscallDesc("pause", unimplementedFunc),
4254188Sgblack@eecs.umich.edu    /* 30 */ SyscallDesc("utime", unimplementedFunc),
4264188Sgblack@eecs.umich.edu    /* 31 */ SyscallDesc("lchown32", unimplementedFunc),
4274188Sgblack@eecs.umich.edu    /* 32 */ SyscallDesc("fchown32", unimplementedFunc),
4284188Sgblack@eecs.umich.edu    /* 33 */ SyscallDesc("access", unimplementedFunc),
4294188Sgblack@eecs.umich.edu    /* 34 */ SyscallDesc("nice", unimplementedFunc),
4304188Sgblack@eecs.umich.edu    /* 35 */ SyscallDesc("chown32", unimplementedFunc),
4314188Sgblack@eecs.umich.edu    /* 36 */ SyscallDesc("sync", unimplementedFunc),
4324188Sgblack@eecs.umich.edu    /* 37 */ SyscallDesc("kill", unimplementedFunc),
4334188Sgblack@eecs.umich.edu    /* 38 */ SyscallDesc("stat", unimplementedFunc),
4344188Sgblack@eecs.umich.edu    /* 39 */ SyscallDesc("sendfile", unimplementedFunc),
4354188Sgblack@eecs.umich.edu    /* 40 */ SyscallDesc("lstat", unimplementedFunc),
4364188Sgblack@eecs.umich.edu    /* 41 */ SyscallDesc("dup", unimplementedFunc),
4374188Sgblack@eecs.umich.edu    /* 42 */ SyscallDesc("pipe", pipePseudoFunc),
4384188Sgblack@eecs.umich.edu    /* 43 */ SyscallDesc("times", unimplementedFunc),
4394188Sgblack@eecs.umich.edu    /* 44 */ SyscallDesc("getuid32", unimplementedFunc),
4404188Sgblack@eecs.umich.edu    /* 45 */ SyscallDesc("umount2", unimplementedFunc),
4414188Sgblack@eecs.umich.edu    /* 46 */ SyscallDesc("setgid", unimplementedFunc),
4424188Sgblack@eecs.umich.edu    /* 47 */ SyscallDesc("getgid", getgidFunc),
4434188Sgblack@eecs.umich.edu    /* 48 */ SyscallDesc("signal", unimplementedFunc),
4444188Sgblack@eecs.umich.edu    /* 49 */ SyscallDesc("geteuid", geteuidFunc),
4454188Sgblack@eecs.umich.edu    /* 50 */ SyscallDesc("getegid", getegidFunc),
4464188Sgblack@eecs.umich.edu    /* 51 */ SyscallDesc("acct", unimplementedFunc),
4474188Sgblack@eecs.umich.edu    /* 52 */ SyscallDesc("memory_ordering", unimplementedFunc),
4484188Sgblack@eecs.umich.edu    /* 53 */ SyscallDesc("getgid32", unimplementedFunc),
4494188Sgblack@eecs.umich.edu    /* 54 */ SyscallDesc("ioctl", unimplementedFunc),
4504188Sgblack@eecs.umich.edu    /* 55 */ SyscallDesc("reboot", unimplementedFunc),
4514188Sgblack@eecs.umich.edu    /* 56 */ SyscallDesc("mmap2", unimplementedFunc),
4524188Sgblack@eecs.umich.edu    /* 57 */ SyscallDesc("symlink", unimplementedFunc),
4534188Sgblack@eecs.umich.edu    /* 58 */ SyscallDesc("readlink", unimplementedFunc),
4544188Sgblack@eecs.umich.edu    /* 59 */ SyscallDesc("execve", unimplementedFunc),
4554188Sgblack@eecs.umich.edu    /* 60 */ SyscallDesc("umask", unimplementedFunc),
4564188Sgblack@eecs.umich.edu    /* 61 */ SyscallDesc("chroot", unimplementedFunc),
4574188Sgblack@eecs.umich.edu    /* 62 */ SyscallDesc("fstat", fstatFunc<SparcLinux>),
4584188Sgblack@eecs.umich.edu    /* 63 */ SyscallDesc("fstat64", unimplementedFunc),
4594188Sgblack@eecs.umich.edu    /* 64 */ SyscallDesc("getpagesize", unimplementedFunc),
4604188Sgblack@eecs.umich.edu    /* 65 */ SyscallDesc("msync", unimplementedFunc),
4614188Sgblack@eecs.umich.edu    /* 66 */ SyscallDesc("vfork", unimplementedFunc),
4624188Sgblack@eecs.umich.edu    /* 67 */ SyscallDesc("pread64", unimplementedFunc),
4634188Sgblack@eecs.umich.edu    /* 68 */ SyscallDesc("pwrite64", unimplementedFunc),
4644188Sgblack@eecs.umich.edu    /* 69 */ SyscallDesc("geteuid32", unimplementedFunc),
4654188Sgblack@eecs.umich.edu    /* 70 */ SyscallDesc("getegid32", unimplementedFunc),
4664188Sgblack@eecs.umich.edu    /* 71 */ SyscallDesc("mmap", mmapFunc<SparcLinux>),
4674188Sgblack@eecs.umich.edu    /* 72 */ SyscallDesc("setreuid32", unimplementedFunc),
4684188Sgblack@eecs.umich.edu    /* 73 */ SyscallDesc("munmap", munmapFunc),
4694188Sgblack@eecs.umich.edu    /* 74 */ SyscallDesc("mprotect", unimplementedFunc),
4704188Sgblack@eecs.umich.edu    /* 75 */ SyscallDesc("madvise", unimplementedFunc),
4714188Sgblack@eecs.umich.edu    /* 76 */ SyscallDesc("vhangup", unimplementedFunc),
4724188Sgblack@eecs.umich.edu    /* 77 */ SyscallDesc("truncate64", unimplementedFunc),
4734188Sgblack@eecs.umich.edu    /* 78 */ SyscallDesc("mincore", unimplementedFunc),
4744188Sgblack@eecs.umich.edu    /* 79 */ SyscallDesc("getgroups", unimplementedFunc),
4754188Sgblack@eecs.umich.edu    /* 80 */ SyscallDesc("setgroups", unimplementedFunc),
4764188Sgblack@eecs.umich.edu    /* 81 */ SyscallDesc("getpgrp", unimplementedFunc),
4774188Sgblack@eecs.umich.edu    /* 82 */ SyscallDesc("setgroups32", unimplementedFunc),
4784188Sgblack@eecs.umich.edu    /* 83 */ SyscallDesc("setitimer", unimplementedFunc),
4794188Sgblack@eecs.umich.edu    /* 84 */ SyscallDesc("ftruncate64", unimplementedFunc),
4804188Sgblack@eecs.umich.edu    /* 85 */ SyscallDesc("swapon", unimplementedFunc),
4814188Sgblack@eecs.umich.edu    /* 86 */ SyscallDesc("getitimer", unimplementedFunc),
4824188Sgblack@eecs.umich.edu    /* 87 */ SyscallDesc("setuid32", unimplementedFunc),
4834188Sgblack@eecs.umich.edu    /* 88 */ SyscallDesc("sethostname", unimplementedFunc),
4844188Sgblack@eecs.umich.edu    /* 89 */ SyscallDesc("setgid32", unimplementedFunc),
4854188Sgblack@eecs.umich.edu    /* 90 */ SyscallDesc("dup2", unimplementedFunc),
4864188Sgblack@eecs.umich.edu    /* 91 */ SyscallDesc("setfsuid32", unimplementedFunc),
4874188Sgblack@eecs.umich.edu    /* 92 */ SyscallDesc("fcntl", unimplementedFunc),
4884188Sgblack@eecs.umich.edu    /* 93 */ SyscallDesc("select", unimplementedFunc),
4894188Sgblack@eecs.umich.edu    /* 94 */ SyscallDesc("setfsgid32", unimplementedFunc),
4904188Sgblack@eecs.umich.edu    /* 95 */ SyscallDesc("fsync", unimplementedFunc),
4914188Sgblack@eecs.umich.edu    /* 96 */ SyscallDesc("setpriority", unimplementedFunc),
4924188Sgblack@eecs.umich.edu    /* 97 */ SyscallDesc("socket", unimplementedFunc),
4934188Sgblack@eecs.umich.edu    /* 98 */ SyscallDesc("connect", unimplementedFunc),
4944188Sgblack@eecs.umich.edu    /* 99 */ SyscallDesc("accept", unimplementedFunc),
4954188Sgblack@eecs.umich.edu    /* 100 */ SyscallDesc("getpriority", unimplementedFunc),
4964188Sgblack@eecs.umich.edu    /* 101 */ SyscallDesc("rt_sigreturn", unimplementedFunc),
4974188Sgblack@eecs.umich.edu    /* 102 */ SyscallDesc("rt_sigaction", ignoreFunc),
4984188Sgblack@eecs.umich.edu    /* 103 */ SyscallDesc("rt_sigprocmask", unimplementedFunc),
4994188Sgblack@eecs.umich.edu    /* 104 */ SyscallDesc("rt_sigpending", unimplementedFunc),
5004188Sgblack@eecs.umich.edu    /* 105 */ SyscallDesc("rt_sigtimedwait", unimplementedFunc),
5014188Sgblack@eecs.umich.edu    /* 106 */ SyscallDesc("rt_sigqueueinfo", unimplementedFunc),
5024188Sgblack@eecs.umich.edu    /* 107 */ SyscallDesc("rt_sigsuspend", unimplementedFunc),
5034188Sgblack@eecs.umich.edu    /* 108 */ SyscallDesc("setresuid", unimplementedFunc),
5044188Sgblack@eecs.umich.edu    /* 109 */ SyscallDesc("getresuid", getresuidFunc),
5054188Sgblack@eecs.umich.edu    /* 110 */ SyscallDesc("setresgid", unimplementedFunc),
5064188Sgblack@eecs.umich.edu    /* 111 */ SyscallDesc("getresgid", unimplementedFunc),
5074188Sgblack@eecs.umich.edu    /* 112 */ SyscallDesc("setregid32", unimplementedFunc),
5084188Sgblack@eecs.umich.edu    /* 113 */ SyscallDesc("recvmsg", unimplementedFunc),
5094188Sgblack@eecs.umich.edu    /* 114 */ SyscallDesc("sendmsg", unimplementedFunc),
5104188Sgblack@eecs.umich.edu    /* 115 */ SyscallDesc("getgroups32", unimplementedFunc),
5114188Sgblack@eecs.umich.edu    /* 116 */ SyscallDesc("gettimeofday", unimplementedFunc),
5124188Sgblack@eecs.umich.edu    /* 117 */ SyscallDesc("getrusage", unimplementedFunc),
5134188Sgblack@eecs.umich.edu    /* 118 */ SyscallDesc("getsockopt", unimplementedFunc),
5144188Sgblack@eecs.umich.edu    /* 119 */ SyscallDesc("getcwd", unimplementedFunc),
5154188Sgblack@eecs.umich.edu    /* 120 */ SyscallDesc("readv", unimplementedFunc),
5164188Sgblack@eecs.umich.edu    /* 121 */ SyscallDesc("writev", unimplementedFunc),
5174188Sgblack@eecs.umich.edu    /* 122 */ SyscallDesc("settimeofday", unimplementedFunc),
5184188Sgblack@eecs.umich.edu    /* 123 */ SyscallDesc("fchown", unimplementedFunc),
5194188Sgblack@eecs.umich.edu    /* 124 */ SyscallDesc("fchmod", unimplementedFunc),
5204188Sgblack@eecs.umich.edu    /* 125 */ SyscallDesc("recvfrom", unimplementedFunc),
5214188Sgblack@eecs.umich.edu    /* 126 */ SyscallDesc("setreuid", unimplementedFunc),
5224188Sgblack@eecs.umich.edu    /* 127 */ SyscallDesc("setregid", unimplementedFunc),
5234236Sgblack@eecs.umich.edu    /* 128 */ SyscallDesc("rename", renameFunc),
5244188Sgblack@eecs.umich.edu    /* 129 */ SyscallDesc("truncate", unimplementedFunc),
5254188Sgblack@eecs.umich.edu    /* 130 */ SyscallDesc("ftruncate", unimplementedFunc),
5264188Sgblack@eecs.umich.edu    /* 131 */ SyscallDesc("flock", unimplementedFunc),
5274188Sgblack@eecs.umich.edu    /* 132 */ SyscallDesc("lstat64", unimplementedFunc),
5284188Sgblack@eecs.umich.edu    /* 133 */ SyscallDesc("sendto", unimplementedFunc),
5294188Sgblack@eecs.umich.edu    /* 134 */ SyscallDesc("shutdown", unimplementedFunc),
5304188Sgblack@eecs.umich.edu    /* 135 */ SyscallDesc("socketpair", unimplementedFunc),
5314188Sgblack@eecs.umich.edu    /* 136 */ SyscallDesc("mkdir", unimplementedFunc),
5324188Sgblack@eecs.umich.edu    /* 137 */ SyscallDesc("rmdir", unimplementedFunc),
5334188Sgblack@eecs.umich.edu    /* 138 */ SyscallDesc("utimes", unimplementedFunc),
5344188Sgblack@eecs.umich.edu    /* 139 */ SyscallDesc("stat64", unimplementedFunc),
5354188Sgblack@eecs.umich.edu    /* 140 */ SyscallDesc("sendfile64", unimplementedFunc),
5364188Sgblack@eecs.umich.edu    /* 141 */ SyscallDesc("getpeername", unimplementedFunc),
5374188Sgblack@eecs.umich.edu    /* 142 */ SyscallDesc("futex", unimplementedFunc),
5384188Sgblack@eecs.umich.edu    /* 143 */ SyscallDesc("gettid", unimplementedFunc),
5394188Sgblack@eecs.umich.edu    /* 144 */ SyscallDesc("getrlimit", unimplementedFunc),
5404188Sgblack@eecs.umich.edu    /* 145 */ SyscallDesc("setrlimit", unimplementedFunc),
5414188Sgblack@eecs.umich.edu    /* 146 */ SyscallDesc("pivot_root", unimplementedFunc),
5424188Sgblack@eecs.umich.edu    /* 147 */ SyscallDesc("prctl", unimplementedFunc),
5434188Sgblack@eecs.umich.edu    /* 148 */ SyscallDesc("pciconfig_read", unimplementedFunc),
5444188Sgblack@eecs.umich.edu    /* 149 */ SyscallDesc("pciconfig_write", unimplementedFunc),
5454188Sgblack@eecs.umich.edu    /* 150 */ SyscallDesc("getsockname", unimplementedFunc),
5464188Sgblack@eecs.umich.edu    /* 151 */ SyscallDesc("inotify_init", unimplementedFunc),
5474188Sgblack@eecs.umich.edu    /* 152 */ SyscallDesc("inotify_add_watch", unimplementedFunc),
5484188Sgblack@eecs.umich.edu    /* 153 */ SyscallDesc("poll", unimplementedFunc),
5494188Sgblack@eecs.umich.edu    /* 154 */ SyscallDesc("getdents64", unimplementedFunc),
5504188Sgblack@eecs.umich.edu    /* 155 */ SyscallDesc("fcntl64", unimplementedFunc),
5514188Sgblack@eecs.umich.edu    /* 156 */ SyscallDesc("inotify_rm_watch", unimplementedFunc),
5524188Sgblack@eecs.umich.edu    /* 157 */ SyscallDesc("statfs", unimplementedFunc),
5534188Sgblack@eecs.umich.edu    /* 158 */ SyscallDesc("fstatfs", unimplementedFunc),
5544188Sgblack@eecs.umich.edu    /* 159 */ SyscallDesc("umount", unimplementedFunc),
5554188Sgblack@eecs.umich.edu    /* 160 */ SyscallDesc("sched_set_affinity", unimplementedFunc),
5564188Sgblack@eecs.umich.edu    /* 161 */ SyscallDesc("sched_get_affinity", unimplementedFunc),
5574188Sgblack@eecs.umich.edu    /* 162 */ SyscallDesc("getdomainname", unimplementedFunc),
5584188Sgblack@eecs.umich.edu    /* 163 */ SyscallDesc("setdomainname", unimplementedFunc),
5594188Sgblack@eecs.umich.edu    /* 164 */ SyscallDesc("utrap_install", unimplementedFunc),
5604188Sgblack@eecs.umich.edu    /* 165 */ SyscallDesc("quotactl", unimplementedFunc),
5614188Sgblack@eecs.umich.edu    /* 166 */ SyscallDesc("set_tid_address", unimplementedFunc),
5624188Sgblack@eecs.umich.edu    /* 167 */ SyscallDesc("mount", unimplementedFunc),
5634188Sgblack@eecs.umich.edu    /* 168 */ SyscallDesc("ustat", unimplementedFunc),
5644188Sgblack@eecs.umich.edu    /* 169 */ SyscallDesc("setxattr", unimplementedFunc),
5654188Sgblack@eecs.umich.edu    /* 170 */ SyscallDesc("lsetxattr", unimplementedFunc),
5664188Sgblack@eecs.umich.edu    /* 171 */ SyscallDesc("fsetxattr", unimplementedFunc),
5674188Sgblack@eecs.umich.edu    /* 172 */ SyscallDesc("getxattr", unimplementedFunc),
5684188Sgblack@eecs.umich.edu    /* 173 */ SyscallDesc("lgetxattr", unimplementedFunc),
5694188Sgblack@eecs.umich.edu    /* 174 */ SyscallDesc("getdents", unimplementedFunc),
5704188Sgblack@eecs.umich.edu    /* 175 */ SyscallDesc("setsid", unimplementedFunc),
5714188Sgblack@eecs.umich.edu    /* 176 */ SyscallDesc("fchdir", unimplementedFunc),
5724188Sgblack@eecs.umich.edu    /* 177 */ SyscallDesc("fgetxattr", unimplementedFunc),
5734188Sgblack@eecs.umich.edu    /* 178 */ SyscallDesc("listxattr", unimplementedFunc),
5744188Sgblack@eecs.umich.edu    /* 179 */ SyscallDesc("llistxattr", unimplementedFunc),
5754188Sgblack@eecs.umich.edu    /* 180 */ SyscallDesc("flistxattr", unimplementedFunc),
5764188Sgblack@eecs.umich.edu    /* 181 */ SyscallDesc("removexattr", unimplementedFunc),
5774188Sgblack@eecs.umich.edu    /* 182 */ SyscallDesc("lremovexattr", unimplementedFunc),
5784188Sgblack@eecs.umich.edu    /* 183 */ SyscallDesc("sigpending", unimplementedFunc),
5794188Sgblack@eecs.umich.edu    /* 184 */ SyscallDesc("query_module", unimplementedFunc),
5804188Sgblack@eecs.umich.edu    /* 185 */ SyscallDesc("setpgid", unimplementedFunc),
5814188Sgblack@eecs.umich.edu    /* 186 */ SyscallDesc("fremovexattr", unimplementedFunc),
5824188Sgblack@eecs.umich.edu    /* 187 */ SyscallDesc("tkill", unimplementedFunc),
5834188Sgblack@eecs.umich.edu    /* 188 */ SyscallDesc("exit_group", exitFunc),
5844188Sgblack@eecs.umich.edu    /* 189 */ SyscallDesc("uname", unameFunc),
5854188Sgblack@eecs.umich.edu    /* 190 */ SyscallDesc("init_module", unimplementedFunc),
5864188Sgblack@eecs.umich.edu    /* 191 */ SyscallDesc("personality", unimplementedFunc),
5874188Sgblack@eecs.umich.edu    /* 192 */ SyscallDesc("remap_file_pages", unimplementedFunc),
5884188Sgblack@eecs.umich.edu    /* 193 */ SyscallDesc("epoll_create", unimplementedFunc),
5894188Sgblack@eecs.umich.edu    /* 194 */ SyscallDesc("epoll_ctl", unimplementedFunc),
5904188Sgblack@eecs.umich.edu    /* 195 */ SyscallDesc("epoll_wait", unimplementedFunc),
5914188Sgblack@eecs.umich.edu    /* 196 */ SyscallDesc("ioprio_set", unimplementedFunc),
5924188Sgblack@eecs.umich.edu    /* 197 */ SyscallDesc("getppid", getppidFunc),
5934188Sgblack@eecs.umich.edu    /* 198 */ SyscallDesc("sigaction", ignoreFunc),
5944188Sgblack@eecs.umich.edu    /* 199 */ SyscallDesc("sgetmask", unimplementedFunc),
5954188Sgblack@eecs.umich.edu    /* 200 */ SyscallDesc("ssetmask", unimplementedFunc),
5964188Sgblack@eecs.umich.edu    /* 201 */ SyscallDesc("sigsuspend", unimplementedFunc),
5974188Sgblack@eecs.umich.edu    /* 202 */ SyscallDesc("oldlstat", unimplementedFunc),
5984188Sgblack@eecs.umich.edu    /* 203 */ SyscallDesc("uselib", unimplementedFunc),
5994188Sgblack@eecs.umich.edu    /* 204 */ SyscallDesc("readdir", unimplementedFunc),
6004188Sgblack@eecs.umich.edu    /* 205 */ SyscallDesc("readahead", unimplementedFunc),
6014188Sgblack@eecs.umich.edu    /* 206 */ SyscallDesc("socketcall", unimplementedFunc),
6024188Sgblack@eecs.umich.edu    /* 207 */ SyscallDesc("syslog", unimplementedFunc),
6034188Sgblack@eecs.umich.edu    /* 208 */ SyscallDesc("lookup_dcookie", unimplementedFunc),
6044188Sgblack@eecs.umich.edu    /* 209 */ SyscallDesc("fadvise64", unimplementedFunc),
6054188Sgblack@eecs.umich.edu    /* 210 */ SyscallDesc("fadvise64_64", unimplementedFunc),
6064188Sgblack@eecs.umich.edu    /* 211 */ SyscallDesc("tgkill", unimplementedFunc),
6074188Sgblack@eecs.umich.edu    /* 212 */ SyscallDesc("waitpid", unimplementedFunc),
6084188Sgblack@eecs.umich.edu    /* 213 */ SyscallDesc("swapoff", unimplementedFunc),
6094188Sgblack@eecs.umich.edu    /* 214 */ SyscallDesc("sysinfo", unimplementedFunc),
6104188Sgblack@eecs.umich.edu    /* 215 */ SyscallDesc("ipc", unimplementedFunc),
6114188Sgblack@eecs.umich.edu    /* 216 */ SyscallDesc("sigreturn", unimplementedFunc),
6124188Sgblack@eecs.umich.edu    /* 217 */ SyscallDesc("clone", unimplementedFunc),
6134188Sgblack@eecs.umich.edu    /* 218 */ SyscallDesc("ioprio_get", unimplementedFunc),
6144188Sgblack@eecs.umich.edu    /* 219 */ SyscallDesc("adjtimex", unimplementedFunc),
6154188Sgblack@eecs.umich.edu    /* 220 */ SyscallDesc("sigprocmask", unimplementedFunc),
6164188Sgblack@eecs.umich.edu    /* 221 */ SyscallDesc("create_module", unimplementedFunc),
6174188Sgblack@eecs.umich.edu    /* 222 */ SyscallDesc("delete_module", unimplementedFunc),
6184188Sgblack@eecs.umich.edu    /* 223 */ SyscallDesc("get_kernel_syms", unimplementedFunc),
6194188Sgblack@eecs.umich.edu    /* 224 */ SyscallDesc("getpgid", unimplementedFunc),
6204188Sgblack@eecs.umich.edu    /* 225 */ SyscallDesc("bdflush", unimplementedFunc),
6214188Sgblack@eecs.umich.edu    /* 226 */ SyscallDesc("sysfs", unimplementedFunc),
6224188Sgblack@eecs.umich.edu    /* 227 */ SyscallDesc("afs_syscall", unimplementedFunc),
6234188Sgblack@eecs.umich.edu    /* 228 */ SyscallDesc("setfsuid", unimplementedFunc),
6244188Sgblack@eecs.umich.edu    /* 229 */ SyscallDesc("setfsgid", unimplementedFunc),
6254188Sgblack@eecs.umich.edu    /* 230 */ SyscallDesc("_newselect", unimplementedFunc),
6264188Sgblack@eecs.umich.edu    /* 231 */ SyscallDesc("time", unimplementedFunc),
6274188Sgblack@eecs.umich.edu    /* 232 */ SyscallDesc("oldstat", unimplementedFunc),
6284188Sgblack@eecs.umich.edu    /* 233 */ SyscallDesc("stime", unimplementedFunc),
6294188Sgblack@eecs.umich.edu    /* 234 */ SyscallDesc("statfs64", unimplementedFunc),
6304188Sgblack@eecs.umich.edu    /* 235 */ SyscallDesc("fstatfs64", unimplementedFunc),
6314188Sgblack@eecs.umich.edu    /* 236 */ SyscallDesc("_llseek", _llseekFunc),
6324188Sgblack@eecs.umich.edu    /* 237 */ SyscallDesc("mlock", unimplementedFunc),
6334188Sgblack@eecs.umich.edu    /* 238 */ SyscallDesc("munlock", unimplementedFunc),
6344188Sgblack@eecs.umich.edu    /* 239 */ SyscallDesc("mlockall", unimplementedFunc),
6354188Sgblack@eecs.umich.edu    /* 240 */ SyscallDesc("munlockall", unimplementedFunc),
6364188Sgblack@eecs.umich.edu    /* 241 */ SyscallDesc("sched_setparam", unimplementedFunc),
6374188Sgblack@eecs.umich.edu    /* 242 */ SyscallDesc("sched_getparam", unimplementedFunc),
6384188Sgblack@eecs.umich.edu    /* 243 */ SyscallDesc("sched_setscheduler", unimplementedFunc),
6394188Sgblack@eecs.umich.edu    /* 244 */ SyscallDesc("sched_getscheduler", unimplementedFunc),
6404188Sgblack@eecs.umich.edu    /* 245 */ SyscallDesc("sched_yield", unimplementedFunc),
6414188Sgblack@eecs.umich.edu    /* 246 */ SyscallDesc("sched_get_priority_max", unimplementedFunc),
6424188Sgblack@eecs.umich.edu    /* 247 */ SyscallDesc("sched_get_priority_min", unimplementedFunc),
6434188Sgblack@eecs.umich.edu    /* 248 */ SyscallDesc("sched_rr_get_interval", unimplementedFunc),
6444188Sgblack@eecs.umich.edu    /* 249 */ SyscallDesc("nanosleep", unimplementedFunc),
6454188Sgblack@eecs.umich.edu    /* 250 */ SyscallDesc("mremap", unimplementedFunc),
6464188Sgblack@eecs.umich.edu    /* 251 */ SyscallDesc("_sysctl", unimplementedFunc),
6474188Sgblack@eecs.umich.edu    /* 252 */ SyscallDesc("getsid", unimplementedFunc),
6484188Sgblack@eecs.umich.edu    /* 253 */ SyscallDesc("fdatasync", unimplementedFunc),
6494188Sgblack@eecs.umich.edu    /* 254 */ SyscallDesc("nfsservctl", unimplementedFunc),
6504188Sgblack@eecs.umich.edu    /* 255 */ SyscallDesc("aplib", unimplementedFunc),
6514188Sgblack@eecs.umich.edu    /* 256 */ SyscallDesc("clock_settime", unimplementedFunc),
6524188Sgblack@eecs.umich.edu    /* 257 */ SyscallDesc("clock_gettime", unimplementedFunc),
6534188Sgblack@eecs.umich.edu    /* 258 */ SyscallDesc("clock_getres", unimplementedFunc),
6544188Sgblack@eecs.umich.edu    /* 259 */ SyscallDesc("clock_nanosleep", unimplementedFunc),
6554188Sgblack@eecs.umich.edu    /* 260 */ SyscallDesc("sched_getaffinity", unimplementedFunc),
6564188Sgblack@eecs.umich.edu    /* 261 */ SyscallDesc("sched_setaffinity", unimplementedFunc),
6574188Sgblack@eecs.umich.edu    /* 262 */ SyscallDesc("timer_settime", unimplementedFunc),
6584188Sgblack@eecs.umich.edu    /* 263 */ SyscallDesc("timer_gettime", unimplementedFunc),
6594188Sgblack@eecs.umich.edu    /* 264 */ SyscallDesc("timer_getoverrun", unimplementedFunc),
6604188Sgblack@eecs.umich.edu    /* 265 */ SyscallDesc("timer_delete", unimplementedFunc),
6614188Sgblack@eecs.umich.edu    /* 266 */ SyscallDesc("timer_create", unimplementedFunc),
6624188Sgblack@eecs.umich.edu    /* 267 */ SyscallDesc("vserver", unimplementedFunc),
6634188Sgblack@eecs.umich.edu    /* 268 */ SyscallDesc("io_setup", unimplementedFunc),
6644188Sgblack@eecs.umich.edu    /* 269 */ SyscallDesc("io_destroy", unimplementedFunc),
6654188Sgblack@eecs.umich.edu    /* 270 */ SyscallDesc("io_submit", unimplementedFunc),
6664188Sgblack@eecs.umich.edu    /* 271 */ SyscallDesc("io_cancel", unimplementedFunc),
6674188Sgblack@eecs.umich.edu    /* 272 */ SyscallDesc("io_getevents", unimplementedFunc),
6684188Sgblack@eecs.umich.edu    /* 273 */ SyscallDesc("mq_open", unimplementedFunc),
6694188Sgblack@eecs.umich.edu    /* 274 */ SyscallDesc("mq_unlink", unimplementedFunc),
6704188Sgblack@eecs.umich.edu    /* 275 */ SyscallDesc("mq_timedsend", unimplementedFunc),
6714188Sgblack@eecs.umich.edu    /* 276 */ SyscallDesc("mq_timedreceive", unimplementedFunc),
6724188Sgblack@eecs.umich.edu    /* 277 */ SyscallDesc("mq_notify", unimplementedFunc),
6734188Sgblack@eecs.umich.edu    /* 278 */ SyscallDesc("mq_getsetattr", unimplementedFunc),
6744188Sgblack@eecs.umich.edu    /* 279 */ SyscallDesc("waitid", unimplementedFunc),
6754188Sgblack@eecs.umich.edu    /* 280 */ SyscallDesc("sys_setaltroot", unimplementedFunc),
6764188Sgblack@eecs.umich.edu    /* 281 */ SyscallDesc("add_key", unimplementedFunc),
6774188Sgblack@eecs.umich.edu    /* 282 */ SyscallDesc("request_key", unimplementedFunc),
6784188Sgblack@eecs.umich.edu    /* 283 */ SyscallDesc("keyctl", unimplementedFunc)
6794188Sgblack@eecs.umich.edu};
6804188Sgblack@eecs.umich.edu
6814188Sgblack@eecs.umich.edu} // namespace SparcISA
682