1 /* kernel.h 4.8 83/05/30 */ 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 phz; /* alternate clock's frequency */ 20 int tick; 21 int lbolt; /* awoken once a second */ 22 int realitexpire(); 23 24 double avenrun[3]; 25 26 #ifdef GPROF 27 extern int profiling; 28 extern char *s_lowpc; 29 extern u_long s_textsize; 30 extern u_short *kcount; 31 #endif 32