|
|
1.1 ! root 1: /* ! 2: * Random set of variables ! 3: * used by more than one ! 4: * routine. ! 5: */ ! 6: int hz; /* frequency of the clock */ ! 7: int timezone; /* minutes west from greenwich */ ! 8: int dstflag; /* daylight savings time in effect? */ ! 9: char version[]; /* system version */ ! 10: int lbolt; /* time of day in 60th not in time */ ! 11: time_t time; /* time in sec from 1970 */ ! 12: time_t bootime; /* time at which booted */ ! 13: long trannum; /* incremented each system call */ ! 14: ! 15: int hand; /* current index into coremap used by daemon */ ! 16: ! 17: /* ! 18: * Nblkdev is the number of entries ! 19: * (rows) in the block switch. It is ! 20: * set in binit/bio.c by making ! 21: * a pass over the switch. ! 22: * Used in bounds checking on major ! 23: * device numbers. ! 24: */ ! 25: int nblkdev; ! 26: ! 27: /* ! 28: * Number of character switch entries. ! 29: */ ! 30: int nchrdev; ! 31: int nstream; /* number of different stream processors */ ! 32: int nswdev; /* number of swap devices */ ! 33: int mpid; /* generic for unique process id's */ ! 34: char runin; /* scheduling flag */ ! 35: char runout; /* scheduling flag */ ! 36: int runrun; /* scheduling flag */ ! 37: char kmapwnt; /* kernel map want flag */ ! 38: char curpri; /* more scheduling */ ! 39: ! 40: int maxmem; /* actual max memory per process */ ! 41: int physmem; /* physical memory on this CPU */ ! 42: ! 43: int nswap; /* size of swap space */ ! 44: int updlock; /* lock for sync */ ! 45: daddr_t rablock; /* block to be read ahead */ ! 46: extern int intstack[]; /* stack for interrupts */ ! 47: dev_t rootdev; /* device of the root */ ! 48: dev_t dumpdev; /* device to take dumps on */ ! 49: long dumplo; /* offset into dumpdev */ ! 50: dev_t swapdev; /* swapping device */ ! 51: dev_t argdev; /* device for argument lists */ ! 52: dev_t pipedev; /* pipe device */ ! 53: ! 54: #ifdef vax ! 55: extern int icode[]; /* user init code */ ! 56: extern int szicode; /* its size */ ! 57: #endif ! 58: ! 59: daddr_t bmap(); ! 60: caddr_t calloc(); ! 61: unsigned max(); ! 62: unsigned min(); ! 63: int memall(); ! 64: int uchar(), schar(); ! 65: int vmemall(); ! 66: char *wmemall(); ! 67: swblk_t vtod(); ! 68: ! 69: /* ! 70: * Structure of the system-entry table ! 71: */ ! 72: extern struct sysent ! 73: { ! 74: int sy_narg; /* total number of arguments */ ! 75: int (*sy_call)(); /* handler */ ! 76: } sysent[]; ! 77: ! 78: char vmmap[]; /* poor name! */ ! 79: int umbabeg,umbaend; /* where sensitive vm begins/ends */ ! 80: int noproc; /* no one is running just now */ ! 81: extern int catcher[256]; ! 82: char *panicstr; ! 83: int wantin; ! 84: int boothowto; /* reboot flags, from console subsystem */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.