|
|
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 canonb[CANBSIZ]; /* buffer for erase and kill (#@) */ ! 10: char version[]; /* system version */ ! 11: int lbolt; /* time of day in 60th not in time */ ! 12: time_t time; /* time in sec from 1970 */ ! 13: time_t bootime; /* time at which booted */ ! 14: long trannum; /* incremented each system call */ ! 15: ! 16: int hand; /* current index into coremap used by daemon */ ! 17: ! 18: /* ! 19: * Nblkdev is the number of entries ! 20: * (rows) in the block switch. It is ! 21: * set in binit/bio.c by making ! 22: * a pass over the switch. ! 23: * Used in bounds checking on major ! 24: * device numbers. ! 25: */ ! 26: int nblkdev; ! 27: ! 28: /* ! 29: * Number of character switch entries. ! 30: */ ! 31: int nchrdev; ! 32: int nstream; /* number of different stream processors */ ! 33: int nswdev; /* number of swap devices */ ! 34: int mpid; /* generic for unique process id's */ ! 35: char runin; /* scheduling flag */ ! 36: char runout; /* scheduling flag */ ! 37: int runrun; /* scheduling flag */ ! 38: char kmapwnt; /* kernel map want flag */ ! 39: char curpri; /* more scheduling */ ! 40: ! 41: int maxmem; /* actual max memory per process */ ! 42: int physmem; /* physical memory on this CPU */ ! 43: ! 44: int nswap; /* size of swap space */ ! 45: int updlock; /* lock for sync */ ! 46: daddr_t rablock; /* block to be read ahead */ ! 47: extern int intstack[]; /* stack for interrupts */ ! 48: dev_t rootdev; /* device of the root */ ! 49: dev_t dumpdev; /* device to take dumps on */ ! 50: long dumplo; /* offset into dumpdev */ ! 51: dev_t swapdev; /* swapping device */ ! 52: dev_t argdev; /* device for argument lists */ ! 53: dev_t pipedev; /* pipe device */ ! 54: ! 55: extern int icode[]; /* user init code */ ! 56: extern int szicode; /* its size */ ! 57: ! 58: dev_t getmdev(); ! 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.