1 /* kernel.h 4.7 82/10/21 */ 2 3 /* 4 * Global variables for the kernel 5 */ 6 7 long rmalloc(); 8 9 /* 1.1 */ 10 long hostid; 11 char hostname[32]; 12 int hostnamelen; 13 14 /* 1.2 */ 15 struct timeval boottime; 16 struct timeval time; 17 struct timezone tz; /* XXX */ 18 int hz; 19 int tick; 20 int lbolt; /* awoken once a second */ 21 int realitexpire(); 22 23 double avenrun[3]; 24 25 #ifdef GPROF 26 extern int profiling; 27 extern char *s_lowpc; 28 extern u_long s_textsize; 29 extern u_short *kcount; 30 #endif 31