|
|
1.1 root 1: /*
2: * Random set of variables
3: * used by more than one
4: * routine.
5: */
6: int lbolt; /* time of day in 60th not in time */
7: time_t time; /* time in sec from 1970 */
8: char runin; /* scheduling flag */
9: char runout; /* scheduling flag */
10: int runrun; /* scheduling flag */
11: int noproc; /* no one is running just now */
12: char curpri; /* more scheduling */
13: int maxmem; /* actual max memory per process */
14: int physmem; /* physical memory on this CPU */
15: int wantin;
16:
17: daddr_t rablock; /* block to be read ahead */
18: dev_t rootdev; /* device of the root */
19: extern dev_t swapdev; /* swapping device */
20: dev_t argdev; /* device for argument lists */
21:
22: daddr_t bmap();
23: unsigned max();
24: unsigned min();
25:
26: /*
27: * Structure of the system-entry table
28: */
29: extern struct sysent
30: {
31: int sy_narg; /* total number of arguments */
32: int (*sy_call)(); /* handler */
33: } sysent[];
34: #define MAXSYS 128
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.