1 /*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)kernel.h 7.5 (Berkeley) 12/19/91 8 */ 9 10 /* Global variables for the kernel. */ 11 long rmalloc(); 12 13 /* 1.1 */ 14 long hostid; 15 char hostname[MAXHOSTNAMELEN]; 16 int hostnamelen; 17 18 /* 1.2 */ 19 struct timeval mono_time; 20 struct timeval boottime; 21 struct timeval time; 22 struct timezone tz; /* XXX */ 23 24 int hz; /* clock frequency */ 25 int phz; /* alternate clock's frequency */ 26 int tick; 27 int lbolt; /* once a second sleep address */ 28 int realitexpire(); 29 30 fixpt_t averunnable[3]; 31 #if defined(COMPAT_43) && (defined(vax) || defined(tahoe)) 32 double avenrun[3]; 33 #endif /* COMPAT_43 */ 34 35 #ifdef GPROF 36 u_long s_textsize; 37 int profiling; 38 u_short *kcount; 39 char *s_lowpc; 40 #endif 41