/*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2004 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
#ifndef _SYS_KERNEL_H_
#define _SYS_KERNEL_H_
+#include <sys/appleapiopts.h>
+
#ifdef KERNEL
#include <sys/param.h>
+#ifdef BSD_KERNEL_PRIVATE
/* Global variables for the kernel. */
/* 1.1 */
extern int domainnamelen;
/* 1.2 */
-// extern volatile struct timeval mono_time;
-extern struct timeval boottime;
-extern struct timeval runtime;
-extern volatile struct timeval time;
+extern int stathz; /* statistics clock's frequency */
+extern int profhz; /* profiling clock's frequency */
+#endif /* BSD_KERNEL_PRIVATE */
+
+
+#ifdef KERNEL_PRIVATE
+extern int lbolt; /* once a second sleep address */
+
extern struct timezone tz; /* XXX */
extern int tick; /* usec per tick (1000000 / hz) */
-extern int tickfix; /* periodic tick adj. tick not integral */
-extern int tickfixinterval; /* interval at which to apply adjustment */
-extern int tickadj; /* "standard" clock skew, us./tick */
extern int hz; /* system clock's frequency */
-extern int stathz; /* statistics clock's frequency */
-extern int profhz; /* profiling clock's frequency */
-extern int lbolt; /* once a second sleep address */
+
+#endif /* KERNEL_PRIVATE */
+
#endif /* KERNEL */
-#endif /* !_SYS_KERNEL_H_ */
+#endif /* !_SYS_KERNEL_H_ */