Commit | Line | Data |
---|---|---|
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 |
13 | long rmalloc(); |
14 | ||
83c6affd BJ |
15 | /* 1.1 */ |
16 | long hostid; | |
bc9f9bae | 17 | char hostname[MAXHOSTNAMELEN]; |
76296e70 | 18 | int hostnamelen; |
83c6affd BJ |
19 | |
20 | /* 1.2 */ | |
21 | struct timeval boottime; | |
22 | struct timeval time; | |
23 | struct timezone tz; /* XXX */ | |
76296e70 | 24 | int hz; |
215bc882 | 25 | int phz; /* alternate clock's frequency */ |
76296e70 | 26 | int tick; |
33255fbb | 27 | int lbolt; /* awoken once a second */ |
6a12f671 BJ |
28 | int realitexpire(); |
29 | ||
80b6b780 | 30 | fixpt_t averunnable[3]; |
0516dd8a | 31 | #if defined(COMPAT_43) && (defined(vax) || defined(tahoe)) |
39d536e6 | 32 | double avenrun[3]; |
80b6b780 | 33 | #endif /* COMPAT_43 */ |
39d536e6 | 34 | |
6a12f671 BJ |
35 | #ifdef GPROF |
36 | extern int profiling; | |
37 | extern char *s_lowpc; | |
38 | extern u_long s_textsize; | |
39 | extern u_short *kcount; | |
40 | #endif |