|
|
1.1 ! root 1: /* $Header: /usr/src/sys/i8086/src/RCS/tab.c,v 1.1 88/03/24 17:39:50 src Exp $ */ ! 2: /* (lgl- ! 3: * The information contained herein is a trade secret of Mark Williams ! 4: * Company, and is confidential information. It is provided under a ! 5: * license agreement, and may be copied or disclosed only under the ! 6: * terms of that agreement. Any reproduction or disclosure of this ! 7: * material without the express written authorization of Mark Williams ! 8: * Company or persuant to the license agreement is unlawful. ! 9: * ! 10: * COHERENT Version 2.3.37 ! 11: * Copyright (c) 1982, 1983, 1984. ! 12: * An unpublished work by Mark Williams Company, Chicago. ! 13: * All rights reserved. ! 14: -lgl) */ ! 15: /* ! 16: * Coherent. ! 17: * Tables for the Intel 8086. ! 18: * ! 19: * $Log: /usr/src/sys/i8086/src/RCS/tab.c,v $ ! 20: * Revision 1.1 88/03/24 17:39:50 src ! 21: * Initial revision ! 22: * ! 23: * 87/08/14 Allan Cornish /usr/src/sys/i8086/src/tab.c ! 24: * Added tick() as system call 73. ! 25: * ! 26: * 87/07/08 Allan Cornish /usr/src/sys/i8086/src/tab.c ! 27: * Added alarm2() as system call 72. ! 28: * ! 29: * 86/11/21 Allan Cornish /usr/src/sys/i8086/src/tab.c ! 30: * Added msgctl(), msgget(), msgrcv(), msgsnd() as system calls 68 to 71. ! 31: * ! 32: * 86/11/19 Allan Cornish /usr/src/sys/i8086/src/tab.c ! 33: * Added fcntl() and poll() as system calls 66 and 67. ! 34: * ! 35: * 85/07/09 Allan Cornish ! 36: * Added getpgrp() as system call 63. ! 37: */ ! 38: #include <sys/coherent.h> ! 39: #include <sys/i8086.h> ! 40: #include <sys/systab.h> ! 41: ! 42: /* ! 43: * System call functions. ! 44: */ ! 45: int unone(); ! 46: int unull(); ! 47: int uexit(); ! 48: int ufork(); ! 49: int uread(); ! 50: int uwrite(); ! 51: int uopen(); ! 52: int uclose(); ! 53: int uwait(); ! 54: int ucreat(); ! 55: int ulink(); ! 56: int uunlink(); ! 57: int uexece(); ! 58: int uchdir(); ! 59: int umknod(); ! 60: int uchmod(); ! 61: int uchown(); ! 62: char *ubrk(); ! 63: int ustat(); ! 64: long ulseek(); ! 65: int ugetpid(); ! 66: int umount(); ! 67: int uumount(); ! 68: int usetuid(); ! 69: int ugetuid(); ! 70: int ustime(); ! 71: int uptrace(); ! 72: int ualarm(); ! 73: int ufstat(); ! 74: int upause(); ! 75: int uutime(); ! 76: int ustty(); ! 77: int ugtty(); ! 78: int uaccess(); ! 79: int unice(); ! 80: int uftime(); ! 81: int uftime(); ! 82: int usync(); ! 83: int ukill(); ! 84: int udup(); ! 85: int upipe(); ! 86: int utimes(); ! 87: int uprofil(); ! 88: long uunique(); ! 89: int usetgid(); ! 90: int ugetgid(); ! 91: int (*usignal())(); ! 92: int usload(); ! 93: int usuload(); ! 94: int uacct(); ! 95: int ulock(); ! 96: int uioctl(); ! 97: int ugetegid(); ! 98: int uumask(); ! 99: int uchroot(); ! 100: int usetpgrp(); ! 101: int ugetpgrp(); ! 102: int ugeteuid(); ! 103: int ufcntl(); ! 104: int upoll(); ! 105: long ualarm2(); ! 106: long utick(); ! 107: ! 108: /* ! 109: * System call table. ! 110: */ ! 111: struct systab sysitab[NMICALL] ={ ! 112: 0, INT, unone, /* 0 = ??? */ ! 113: 2, INT, uexit, /* 1 = exit */ ! 114: 0, INT, ufork, /* 2 = fork */ ! 115: 6, INT, uread, /* 3 = read */ ! 116: 6, INT, uwrite, /* 4 = write */ ! 117: 4, INT, uopen, /* 5 = open */ ! 118: 2, INT, uclose, /* 6 = close */ ! 119: 2, INT, uwait, /* 7 = wait */ ! 120: 4, INT, ucreat, /* 8 = creat */ ! 121: 4, INT, ulink, /* 9 = link */ ! 122: 2, INT, uunlink, /* 10 = unlink */ ! 123: 6, INT, uexece, /* 11 = exec */ ! 124: 2, INT, uchdir, /* 12 = chdir */ ! 125: 0, INT, unone, /* 13 = ??? */ ! 126: 6, INT, umknod, /* 14 = mknod */ ! 127: 4, INT, uchmod, /* 15 = chmod */ ! 128: 6, INT, uchown, /* 16 = chown */ ! 129: 2, INT, ubrk, /* 17 = break */ ! 130: 4, INT, ustat, /* 18 = stat */ ! 131: 8, LONG, ulseek, /* 19 = lseek */ ! 132: 0, INT, ugetpid, /* 20 = getpid */ ! 133: 6, INT, umount, /* 21 = mount */ ! 134: 2, INT, uumount, /* 22 = umount */ ! 135: 2, INT, usetuid, /* 23 = setuid */ ! 136: 0, INT, ugetuid, /* 24 = getuid */ ! 137: 2, INT, ustime, /* 25 = stime */ ! 138: 8, INT, uptrace, /* 26 = ptrace */ ! 139: 2, INT, ualarm, /* 27 = alarm */ ! 140: 4, INT, ufstat, /* 28 = fstat */ ! 141: 0, INT, upause, /* 29 = pause */ ! 142: 4, INT, uutime, /* 30 = utime */ ! 143: 0, INT, unone, /* 31 = ??? */ ! 144: 0, INT, unone, /* 32 = ??? */ ! 145: 4, INT, uaccess, /* 33 = access */ ! 146: 2, INT, unice, /* 34 = nice */ ! 147: 2, INT, uftime, /* 35 = ftime */ ! 148: 0, INT, usync, /* 36 = sync */ ! 149: 4, INT, ukill, /* 37 = kill */ ! 150: 0, INT, unone, /* 38 = ??? */ ! 151: 0, INT, unone, /* 39 = ??? */ ! 152: 0, INT, unone, /* 40 = ??? */ ! 153: 4, INT, udup, /* 41 = dup */ ! 154: 2, INT, upipe, /* 42 = pipe */ ! 155: 2, INT, utimes, /* 43 = times */ ! 156: 8, INT, uprofil, /* 44 = profil */ ! 157: 0, LONG, uunique, /* 45 = unique */ ! 158: 2, INT, usetgid, /* 46 = setgid */ ! 159: 0, INT, ugetgid, /* 47 = getgid */ ! 160: 4, INT, usignal, /* 48 = signal */ ! 161: 0, INT, unone, /* 49 = ??? */ ! 162: 0, INT, unone, /* 50 = ??? */ ! 163: 2, INT, uacct, /* 51 = acct */ ! 164: 0, INT, unull, /* 52 = ??? (phys) */ ! 165: 0, INT, ulock, /* 53 = lock */ ! 166: 6, INT, uioctl, /* 54 = ioctl */ ! 167: 0, INT, unone, /* 55 = ??? (mpx) */ ! 168: 0, INT, ugetegid, /* 56 = getegid */ ! 169: 0, INT, ugeteuid, /* 57 = geteuid */ ! 170: 0, INT, unone, /* 58 = ??? */ ! 171: 0, INT, unone, /* 59 = ??? */ ! 172: 2, INT, uumask, /* 60 = umask */ ! 173: 2, INT, uchroot, /* 61 = chroot */ ! 174: 0, INT, usetpgrp, /* 62 = setpgrp */ ! 175: 0, INT, ugetpgrp, /* 63 = getpgrp */ ! 176: 2, INT, usload, /* 64 = sload */ ! 177: 2, INT, usuload, /* 65 = suload */ ! 178: 6, INT, ufcntl, /* 66 = fcntl */ ! 179: 8, INT, upoll, /* 67 = poll */ ! 180: 0, INT, unone, /* 68 (was 6, msgctl) */ ! 181: 0, INT, unone, /* 69 (was 6, msgget) */ ! 182: 0, INT, unone, /* 70 (was 12, msgrcv) */ ! 183: 0, INT, unone, /* 71 (was 8, msgsnd) */ ! 184: 4, LONG, ualarm2, /* 72 = alarm2 */ ! 185: 0, LONG, utick /* 73 = tick */ ! 186: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.