xref: /original-bsd/sys/sys/kernel.h (revision 95ecee29)
1 /*-
2  * Copyright (c) 1990, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)kernel.h	8.2 (Berkeley) 11/30/93
8  */
9 
10 /* Global variables for the kernel. */
11 
12 /* 1.1 */
13 extern long hostid;
14 extern char hostname[MAXHOSTNAMELEN];
15 extern int hostnamelen;
16 
17 /* 1.2 */
18 extern volatile struct timeval mono_time;
19 extern struct timeval boottime;
20 extern struct timeval runtime;
21 extern volatile struct timeval time;
22 extern struct timezone tz;			/* XXX */
23 
24 extern int tick;			/* usec per tick (1000000 / hz) */
25 extern int hz;				/* system clock's frequency */
26 extern int stathz;			/* statistics clock's frequency */
27 extern int profhz;			/* profiling clock's frequency */
28 extern int lbolt;			/* once a second sleep address */
29