X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/b0d623f7f2ae71ed96e60569f61f9a9a27016e80..39236c6e673c41db228275375ab7fdb0f837b292:/osfmk/i386/tsc.h?ds=sidebyside diff --git a/osfmk/i386/tsc.h b/osfmk/i386/tsc.h index f6c5eba78..42bb9684d 100644 --- a/osfmk/i386/tsc.h +++ b/osfmk/i386/tsc.h @@ -42,7 +42,9 @@ #define BASE_NHM_CLOCK_SOURCE 133333333ULL #define IA32_PERF_STS 0x198 +#define SLOW_TSC_THRESHOLD 1000067800 /* if slower, nonzero shift required in nanotime() algorithm */ +#ifndef ASSEMBLER extern uint64_t busFCvtt2n; extern uint64_t busFCvtn2t; extern uint64_t tscFreq; @@ -74,6 +76,6 @@ typedef struct tscInfo tscInfo_t; extern void tsc_get_info(tscInfo_t *info); extern void tsc_init(void); - +#endif /* ASSEMBLER */ #endif /* _I386_TSC_H_ */ #endif /* KERNEL_PRIVATE */