The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/i386/ibcs2/ibcs2_sysent.c

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  * System call switch table.
    3  *
    4  * DO NOT EDIT-- this file is automatically generated.
    5  * $FreeBSD$
    6  * created from FreeBSD: src/sys/i386/ibcs2/syscalls.master,v 1.18.2.1 2004/09/03 15:30:20 jhb Exp 
    7  */
    8 
    9 #include <sys/param.h>
   10 #include <sys/sysent.h>
   11 #include <sys/sysproto.h>
   12 #include <i386/ibcs2/ibcs2_types.h>
   13 #include <i386/ibcs2/ibcs2_signal.h>
   14 #include <i386/ibcs2/ibcs2_proto.h>
   15 
   16 #define AS(name) (sizeof(struct name) / sizeof(register_t))
   17 
   18 /* The casts are bogus but will do for now. */
   19 struct sysent ibcs2_sysent[] = {
   20         { 0, (sy_call_t *)nosys },                      /* 0 = syscall */
   21         { SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit },      /* 1 = exit */
   22         { SYF_MPSAFE | 0, (sy_call_t *)fork },          /* 2 = fork */
   23         { AS(ibcs2_read_args), (sy_call_t *)ibcs2_read },       /* 3 = ibcs2_read */
   24         { SYF_MPSAFE | AS(write_args), (sy_call_t *)write },    /* 4 = write */
   25         { AS(ibcs2_open_args), (sy_call_t *)ibcs2_open },       /* 5 = ibcs2_open */
   26         { SYF_MPSAFE | AS(close_args), (sy_call_t *)close },    /* 6 = close */
   27         { SYF_MPSAFE | AS(ibcs2_wait_args), (sy_call_t *)ibcs2_wait },  /* 7 = ibcs2_wait */
   28         { AS(ibcs2_creat_args), (sy_call_t *)ibcs2_creat },     /* 8 = ibcs2_creat */
   29         { AS(link_args), (sy_call_t *)link },           /* 9 = link */
   30         { AS(ibcs2_unlink_args), (sy_call_t *)ibcs2_unlink },   /* 10 = ibcs2_unlink */
   31         { AS(ibcs2_execv_args), (sy_call_t *)ibcs2_execv },     /* 11 = ibcs2_execv */
   32         { AS(ibcs2_chdir_args), (sy_call_t *)ibcs2_chdir },     /* 12 = ibcs2_chdir */
   33         { AS(ibcs2_time_args), (sy_call_t *)ibcs2_time },       /* 13 = ibcs2_time */
   34         { AS(ibcs2_mknod_args), (sy_call_t *)ibcs2_mknod },     /* 14 = ibcs2_mknod */
   35         { AS(ibcs2_chmod_args), (sy_call_t *)ibcs2_chmod },     /* 15 = ibcs2_chmod */
   36         { AS(ibcs2_chown_args), (sy_call_t *)ibcs2_chown },     /* 16 = ibcs2_chown */
   37         { AS(obreak_args), (sy_call_t *)obreak },       /* 17 = obreak */
   38         { AS(ibcs2_stat_args), (sy_call_t *)ibcs2_stat },       /* 18 = ibcs2_stat */
   39         { AS(ibcs2_lseek_args), (sy_call_t *)ibcs2_lseek },     /* 19 = ibcs2_lseek */
   40         { SYF_MPSAFE | 0, (sy_call_t *)getpid },        /* 20 = getpid */
   41         { AS(ibcs2_mount_args), (sy_call_t *)ibcs2_mount },     /* 21 = ibcs2_mount */
   42         { AS(ibcs2_umount_args), (sy_call_t *)ibcs2_umount },   /* 22 = ibcs2_umount */
   43         { SYF_MPSAFE | AS(ibcs2_setuid_args), (sy_call_t *)ibcs2_setuid },      /* 23 = ibcs2_setuid */
   44         { SYF_MPSAFE | 0, (sy_call_t *)getuid },        /* 24 = getuid */
   45         { AS(ibcs2_stime_args), (sy_call_t *)ibcs2_stime },     /* 25 = ibcs2_stime */
   46         { SYF_MPSAFE | AS(ptrace_args), (sy_call_t *)ptrace },  /* 26 = ptrace */
   47         { AS(ibcs2_alarm_args), (sy_call_t *)ibcs2_alarm },     /* 27 = ibcs2_alarm */
   48         { AS(ibcs2_fstat_args), (sy_call_t *)ibcs2_fstat },     /* 28 = ibcs2_fstat */
   49         { SYF_MPSAFE | 0, (sy_call_t *)ibcs2_pause },   /* 29 = ibcs2_pause */
   50         { AS(ibcs2_utime_args), (sy_call_t *)ibcs2_utime },     /* 30 = ibcs2_utime */
   51         { AS(ibcs2_stty_args), (sy_call_t *)ibcs2_stty },       /* 31 = ibcs2_stty */
   52         { AS(ibcs2_gtty_args), (sy_call_t *)ibcs2_gtty },       /* 32 = ibcs2_gtty */
   53         { AS(ibcs2_access_args), (sy_call_t *)ibcs2_access },   /* 33 = ibcs2_access */
   54         { SYF_MPSAFE | AS(ibcs2_nice_args), (sy_call_t *)ibcs2_nice },  /* 34 = ibcs2_nice */
   55         { AS(ibcs2_statfs_args), (sy_call_t *)ibcs2_statfs },   /* 35 = ibcs2_statfs */
   56         { 0, (sy_call_t *)sync },                       /* 36 = sync */
   57         { SYF_MPSAFE | AS(ibcs2_kill_args), (sy_call_t *)ibcs2_kill },  /* 37 = ibcs2_kill */
   58         { AS(ibcs2_fstatfs_args), (sy_call_t *)ibcs2_fstatfs }, /* 38 = ibcs2_fstatfs */
   59         { SYF_MPSAFE | AS(ibcs2_pgrpsys_args), (sy_call_t *)ibcs2_pgrpsys },    /* 39 = ibcs2_pgrpsys */
   60         { AS(ibcs2_xenix_args), (sy_call_t *)ibcs2_xenix },     /* 40 = ibcs2_xenix */
   61         { SYF_MPSAFE | AS(dup_args), (sy_call_t *)dup },        /* 41 = dup */
   62         { SYF_MPSAFE | 0, (sy_call_t *)pipe },          /* 42 = pipe */
   63         { AS(ibcs2_times_args), (sy_call_t *)ibcs2_times },     /* 43 = ibcs2_times */
   64         { SYF_MPSAFE | AS(profil_args), (sy_call_t *)profil },  /* 44 = profil */
   65         { AS(ibcs2_plock_args), (sy_call_t *)ibcs2_plock },     /* 45 = ibcs2_plock */
   66         { SYF_MPSAFE | AS(ibcs2_setgid_args), (sy_call_t *)ibcs2_setgid },      /* 46 = ibcs2_setgid */
   67         { SYF_MPSAFE | 0, (sy_call_t *)getgid },        /* 47 = getgid */
   68         { AS(ibcs2_sigsys_args), (sy_call_t *)ibcs2_sigsys },   /* 48 = ibcs2_sigsys */
   69         { AS(ibcs2_msgsys_args), (sy_call_t *)ibcs2_msgsys },   /* 49 = ibcs2_msgsys */
   70         { AS(ibcs2_sysi86_args), (sy_call_t *)ibcs2_sysi86 },   /* 50 = ibcs2_sysi86 */
   71         { 0, (sy_call_t *)nosys },                      /* 51 = ibcs2_acct */
   72         { AS(ibcs2_shmsys_args), (sy_call_t *)ibcs2_shmsys },   /* 52 = ibcs2_shmsys */
   73         { AS(ibcs2_semsys_args), (sy_call_t *)ibcs2_semsys },   /* 53 = ibcs2_semsys */
   74         { AS(ibcs2_ioctl_args), (sy_call_t *)ibcs2_ioctl },     /* 54 = ibcs2_ioctl */
   75         { AS(ibcs2_uadmin_args), (sy_call_t *)ibcs2_uadmin },   /* 55 = ibcs2_uadmin */
   76         { 0, (sy_call_t *)nosys },                      /* 56 = nosys */
   77         { AS(ibcs2_utssys_args), (sy_call_t *)ibcs2_utssys },   /* 57 = ibcs2_utssys */
   78         { AS(fsync_args), (sy_call_t *)fsync },         /* 58 = fsync */
   79         { AS(ibcs2_execve_args), (sy_call_t *)ibcs2_execve },   /* 59 = ibcs2_execve */
   80         { SYF_MPSAFE | AS(umask_args), (sy_call_t *)umask },    /* 60 = umask */
   81         { AS(chroot_args), (sy_call_t *)chroot },       /* 61 = chroot */
   82         { SYF_MPSAFE | AS(ibcs2_fcntl_args), (sy_call_t *)ibcs2_fcntl },        /* 62 = ibcs2_fcntl */
   83         { SYF_MPSAFE | AS(ibcs2_ulimit_args), (sy_call_t *)ibcs2_ulimit },      /* 63 = ibcs2_ulimit */
   84         { 0, (sy_call_t *)nosys },                      /* 64 = reserved for unix/pc */
   85         { 0, (sy_call_t *)nosys },                      /* 65 = reserved for unix/pc */
   86         { 0, (sy_call_t *)nosys },                      /* 66 = reserved for unix/pc */
   87         { 0, (sy_call_t *)nosys },                      /* 67 = reserved for unix/pc */
   88         { 0, (sy_call_t *)nosys },                      /* 68 = reserved for unix/pc */
   89         { 0, (sy_call_t *)nosys },                      /* 69 = reserved for unix/pc */
   90         { 0, (sy_call_t *)nosys },                      /* 70 = obsolete rfs_advfs */
   91         { 0, (sy_call_t *)nosys },                      /* 71 = obsolete rfs_unadvfs */
   92         { 0, (sy_call_t *)nosys },                      /* 72 = obsolete rfs_rmount */
   93         { 0, (sy_call_t *)nosys },                      /* 73 = obsolete rfs_rumount */
   94         { 0, (sy_call_t *)nosys },                      /* 74 = obsolete rfs_rfstart */
   95         { 0, (sy_call_t *)nosys },                      /* 75 = obsolete rfs_sigret */
   96         { 0, (sy_call_t *)nosys },                      /* 76 = obsolete rfs_rdebug */
   97         { 0, (sy_call_t *)nosys },                      /* 77 = obsolete rfs_rfstop */
   98         { 0, (sy_call_t *)nosys },                      /* 78 = rfs_rfsys */
   99         { AS(ibcs2_rmdir_args), (sy_call_t *)ibcs2_rmdir },     /* 79 = ibcs2_rmdir */
  100         { AS(ibcs2_mkdir_args), (sy_call_t *)ibcs2_mkdir },     /* 80 = ibcs2_mkdir */
  101         { AS(ibcs2_getdents_args), (sy_call_t *)ibcs2_getdents },       /* 81 = ibcs2_getdents */
  102         { 0, (sy_call_t *)nosys },                      /* 82 = nosys */
  103         { 0, (sy_call_t *)nosys },                      /* 83 = nosys */
  104         { AS(ibcs2_sysfs_args), (sy_call_t *)ibcs2_sysfs },     /* 84 = ibcs2_sysfs */
  105         { AS(ibcs2_getmsg_args), (sy_call_t *)ibcs2_getmsg },   /* 85 = ibcs2_getmsg */
  106         { AS(ibcs2_putmsg_args), (sy_call_t *)ibcs2_putmsg },   /* 86 = ibcs2_putmsg */
  107         { AS(ibcs2_poll_args), (sy_call_t *)ibcs2_poll },       /* 87 = ibcs2_poll */
  108         { 0, (sy_call_t *)nosys },                      /* 88 = nosys */
  109         { AS(ibcs2_secure_args), (sy_call_t *)ibcs2_secure },   /* 89 = ibcs2_secure */
  110         { AS(ibcs2_symlink_args), (sy_call_t *)ibcs2_symlink }, /* 90 = ibcs2_symlink */
  111         { AS(ibcs2_lstat_args), (sy_call_t *)ibcs2_lstat },     /* 91 = ibcs2_lstat */
  112         { AS(ibcs2_readlink_args), (sy_call_t *)ibcs2_readlink },       /* 92 = ibcs2_readlink */
  113         { 0, (sy_call_t *)nosys },                      /* 93 = nosys */
  114         { 0, (sy_call_t *)nosys },                      /* 94 = nosys */
  115         { 0, (sy_call_t *)nosys },                      /* 95 = nosys */
  116         { 0, (sy_call_t *)nosys },                      /* 96 = nosys */
  117         { 0, (sy_call_t *)nosys },                      /* 97 = nosys */
  118         { 0, (sy_call_t *)nosys },                      /* 98 = nosys */
  119         { 0, (sy_call_t *)nosys },                      /* 99 = nosys */
  120         { 0, (sy_call_t *)nosys },                      /* 100 = nosys */
  121         { 0, (sy_call_t *)nosys },                      /* 101 = nosys */
  122         { 0, (sy_call_t *)nosys },                      /* 102 = nosys */
  123         { SYF_MPSAFE | AS(sigreturn_args), (sy_call_t *)sigreturn },    /* 103 = sigreturn */
  124         { 0, (sy_call_t *)nosys },                      /* 104 = nosys */
  125         { 0, (sy_call_t *)ibcs2_isc },                  /* 105 = ibcs2_isc */
  126         { 0, (sy_call_t *)nosys },                      /* 106 = nosys */
  127         { 0, (sy_call_t *)nosys },                      /* 107 = nosys */
  128         { 0, (sy_call_t *)nosys },                      /* 108 = nosys */
  129         { 0, (sy_call_t *)nosys },                      /* 109 = nosys */
  130         { 0, (sy_call_t *)nosys },                      /* 110 = nosys */
  131         { 0, (sy_call_t *)nosys },                      /* 111 = nosys */
  132         { 0, (sy_call_t *)nosys },                      /* 112 = nosys */
  133         { 0, (sy_call_t *)nosys },                      /* 113 = nosys */
  134         { 0, (sy_call_t *)nosys },                      /* 114 = nosys */
  135         { 0, (sy_call_t *)nosys },                      /* 115 = nosys */
  136         { 0, (sy_call_t *)nosys },                      /* 116 = nosys */
  137         { 0, (sy_call_t *)nosys },                      /* 117 = nosys */
  138         { 0, (sy_call_t *)nosys },                      /* 118 = nosys */
  139         { 0, (sy_call_t *)nosys },                      /* 119 = nosys */
  140         { 0, (sy_call_t *)nosys },                      /* 120 = nosys */
  141         { 0, (sy_call_t *)nosys },                      /* 121 = nosys */
  142         { 0, (sy_call_t *)nosys },                      /* 122 = nosys */
  143         { 0, (sy_call_t *)nosys },                      /* 123 = nosys */
  144         { 0, (sy_call_t *)nosys },                      /* 124 = nosys */
  145         { 0, (sy_call_t *)nosys },                      /* 125 = nosys */
  146         { 0, (sy_call_t *)nosys },                      /* 126 = nosys */
  147         { 0, (sy_call_t *)nosys },                      /* 127 = nosys */
  148 };

Cache object: e4dafc461e0cca1a69fdc9e77949c343


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.