Research V7 development
[unix-history] / .ref-Research-V6 / usr / sys / systm.h
CommitLineData
0edd06b4
KT
1/*
2 * Random set of variables
3 * used by more than one
4 * routine.
5 */
6char canonb[CANBSIZ]; /* buffer for erase and kill (#@) */
7int coremap[CMAPSIZ]; /* space for core allocation */
8int swapmap[SMAPSIZ]; /* space for swap allocation */
9int *rootdir; /* pointer to inode of root directory */
10int cputype; /* type of cpu =40, 45, or 70 */
11int execnt; /* number of processes in exec */
12int lbolt; /* time of day in 60th not in time */
13int time[2]; /* time in sec from 1970 */
14int tout[2]; /* time of day of next sleep */
15/*
16 * The callout structure is for
17 * a routine arranging
18 * to be called by the clock interrupt
19 * (clock.c) with a specified argument,
20 * in a specified amount of time.
21 * Used, for example, to time tab
22 * delays on teletypes.
23 */
24struct callo
25{
26 int c_time; /* incremental time */
27 int c_arg; /* argument to routine */
28 int (*c_func)(); /* routine */
29} callout[NCALL];
30/*
31 * Mount structure.
32 * One allocated on every mount.
33 * Used to find the super block.
34 */
35struct mount
36{
37 int m_dev; /* device mounted */
38 int *m_bufp; /* pointer to superblock */
39 int *m_inodp; /* pointer to mounted on inode */
40} mount[NMOUNT];
41int mpid; /* generic for unique process id's */
42char runin; /* scheduling flag */
43char runout; /* scheduling flag */
44char runrun; /* scheduling flag */
45char curpri; /* more scheduling */
46int maxmem; /* actual max memory per process */
47int *lks; /* pointer to clock device */
48int rootdev; /* dev of root see conf.c */
49int swapdev; /* dev of swap see conf.c */
50int swplo; /* block number of swap space */
51int nswap; /* size of swap space */
52int updlock; /* lock for sync */
53int rablock; /* block to be read ahead */
54char regloc[]; /* locs. of saved user registers (trap.c) */