BSD 4_3_Reno release
[unix-history] / usr / src / sys / sys / kernel.h
CommitLineData
da7c5cc6 1/*
1810611d 2 * Copyright (c) 1982, 1986 Regents of the University of California.
da7c5cc6
KM
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 *
1c15e888 6 * @(#)kernel.h 7.3 (Berkeley) 5/9/90
da7c5cc6 7 */
83c6affd
BJ
8
9/*
10 * Global variables for the kernel
11 */
12
aedebe79
BJ
13long rmalloc();
14
83c6affd
BJ
15/* 1.1 */
16long hostid;
bc9f9bae 17char hostname[MAXHOSTNAMELEN];
76296e70 18int hostnamelen;
83c6affd
BJ
19
20/* 1.2 */
21struct timeval boottime;
22struct timeval time;
23struct timezone tz; /* XXX */
76296e70 24int hz;
215bc882 25int phz; /* alternate clock's frequency */
76296e70 26int tick;
33255fbb 27int lbolt; /* awoken once a second */
6a12f671
BJ
28int realitexpire();
29
80b6b780 30fixpt_t averunnable[3];
0516dd8a 31#if defined(COMPAT_43) && (defined(vax) || defined(tahoe))
39d536e6 32double avenrun[3];
80b6b780 33#endif /* COMPAT_43 */
39d536e6 34
6a12f671
BJ
35#ifdef GPROF
36extern int profiling;
37extern char *s_lowpc;
38extern u_long s_textsize;
39extern u_short *kcount;
40#endif