xref: /original-bsd/sys/sys/kernel.h (revision c3e32dec)
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.1 (Berkeley) 06/02/93
8  */
9 
10 /* Global variables for the kernel. */
11 long rmalloc();
12 
13 /* 1.1 */
14 extern long hostid;
15 extern char hostname[MAXHOSTNAMELEN];
16 extern int hostnamelen;
17 
18 /* 1.2 */
19 extern volatile struct timeval mono_time;
20 extern struct timeval boottime;
21 extern struct timeval runtime;
22 extern volatile struct timeval time;
23 extern struct timezone tz;			/* XXX */
24 
25 extern int tick;			/* usec per tick (1000000 / hz) */
26 extern int hz;				/* system clock's frequency */
27 extern int stathz;			/* statistics clock's frequency */
28 extern int profhz;			/* profiling clock's frequency */
29 extern int lbolt;			/* once a second sleep address */
30