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