|
|
1.1 root 1: /* (-lgl
2: * COHERENT 386 Device Driver Kit release 2.0
3: * Copyright (c) 1982, 1992 by Mark Williams Company.
4: * All rights reserved. May not be copied without permission.
5: -lgl) */
6: /*
7: * Header for system call table.
8: */
9: #ifndef __SYS_SYSTAB_H__
10: #define __SYS_SYSTAB_H__
11:
12: #ifdef _I386
13: #include <sys/param.h>
14: #else
15: #include <sys/const.h>
16: #endif
17:
18: /*
19: * Functions types.
20: */
21: #define INT 2
22: #define LONG 4
23:
24: /*
25: * System call table structure.
26: */
27: struct systab {
28: #ifdef _I386
29: int s_nargs; /* number of arguments */
30: #else
31: char s_alen; /* Size of argument list */
32: #endif
33: char s_type; /* Type returned by function */
34: int (*s_func)(); /* Function */
35: };
36:
37: /*
38: * System call table.
39: */
40: extern struct systab sysitab[NMICALL];
41: extern struct systab h28itab[H28CALL];
42: extern struct systab cohcall;
43:
44: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.