1 /*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. 9 * 10 * %sccs.include.redist.c% 11 * 12 * @(#)kernel.h 8.3 (Berkeley) 01/21/94 13 */ 14 15 /* Global variables for the kernel. */ 16 17 /* 1.1 */ 18 extern long hostid; 19 extern char hostname[MAXHOSTNAMELEN]; 20 extern int hostnamelen; 21 22 /* 1.2 */ 23 extern volatile struct timeval mono_time; 24 extern struct timeval boottime; 25 extern struct timeval runtime; 26 extern volatile struct timeval time; 27 extern struct timezone tz; /* XXX */ 28 29 extern int tick; /* usec per tick (1000000 / hz) */ 30 extern int hz; /* system clock's frequency */ 31 extern int stathz; /* statistics clock's frequency */ 32 extern int profhz; /* profiling clock's frequency */ 33 extern int lbolt; /* once a second sleep address */ 34