X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/4452a7af2eac33dbad800bcc91f2399d62c18f53..36401178fd6817c043cc00b0c00c7f723e58efae:/osfmk/i386/tsc.h diff --git a/osfmk/i386/tsc.h b/osfmk/i386/tsc.h index df66a83c0..79ece7085 100644 --- a/osfmk/i386/tsc.h +++ b/osfmk/i386/tsc.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004-2006 Apple Computer, Inc. All rights reserved. + * Copyright (c) 2004-2007 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -40,8 +40,6 @@ #ifndef _I386_TSC_H_ #define _I386_TSC_H_ -#define BusRatioShift 40 -#define BusRatioMask 0x1F #define IA32_PERF_STS 0x198 extern uint64_t busFCvtt2n; @@ -51,6 +49,7 @@ extern uint64_t tscFCvtt2n; extern uint64_t tscFCvtn2t; extern uint64_t tscGranularity; extern uint64_t bus2tsc; +extern uint64_t busFreq; struct tscInfo { @@ -61,6 +60,7 @@ uint64_t tscFCvtt2n; uint64_t tscFCvtn2t; uint64_t tscGranularity; uint64_t bus2tsc; +uint64_t busFreq; }; typedef struct tscInfo tscInfo_t;