/*
- * Copyright (c) 2004-2006 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2004-2007 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
#ifndef _I386_TSC_H_
#define _I386_TSC_H_
-#define BusRatioShift 40
-#define BusRatioMask 0x1F
#define IA32_PERF_STS 0x198
extern uint64_t busFCvtt2n;
extern uint64_t tscFCvtn2t;
extern uint64_t tscGranularity;
extern uint64_t bus2tsc;
+extern uint64_t busFreq;
struct tscInfo
{
uint64_t tscFCvtn2t;
uint64_t tscGranularity;
uint64_t bus2tsc;
+uint64_t busFreq;
};
typedef struct tscInfo tscInfo_t;