X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/1c79356b52d46aa6b508fb032f5ae709b1f2897b..5eebf7385fedb1517b66b53c28e5aa6bb0a2be50:/bsd/sys/kernel.h diff --git a/bsd/sys/kernel.h b/bsd/sys/kernel.h index 91e4c30d7..420f56e2d 100644 --- a/bsd/sys/kernel.h +++ b/bsd/sys/kernel.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. + * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * @@ -62,10 +62,13 @@ #ifndef _SYS_KERNEL_H_ #define _SYS_KERNEL_H_ +#include + #ifdef KERNEL #include +#ifdef __APPLE_API_PRIVATE /* Global variables for the kernel. */ /* 1.1 */ @@ -76,20 +79,20 @@ extern char domainname[MAXHOSTNAMELEN]; extern int domainnamelen; /* 1.2 */ -// extern volatile struct timeval mono_time; extern struct timeval boottime; -extern struct timeval runtime; +#ifdef __APPLE_API_OBSOLETE extern volatile struct timeval time; extern struct timezone tz; /* XXX */ - +extern int lbolt; /* once a second sleep address */ 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 /* __APPLE_API_OBSOLETE */ + +#endif /* __APPLE_API_PRIVATE */ + #endif /* KERNEL */ -#endif /* !_SYS_KERNEL_H_ */ +#endif /* !_SYS_KERNEL_H_ */