]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/pal_native.h
xnu-2422.115.4.tar.gz
[apple/xnu.git] / osfmk / i386 / pal_native.h
index 13cbf69fbc6da5deee63062e1d176d039ae1af35..1979983a8cb7b53216ca11553a83ffbf0f9bb81a 100644 (file)
@@ -72,10 +72,8 @@ struct pal_rtc_nanotime {
        volatile uint64_t       tsc_base;       /* timestamp */
        volatile uint64_t       ns_base;        /* nanoseconds */
        uint32_t                scale;          /* tsc -> nanosec multiplier */
-       uint32_t                shift;          /* tsc -> nanosec shift/div */
-                                               /* shift is overloaded with
-                                                * lower 32bits of tsc_freq
-                                                * on slower machines (SLOW_TSC_THRESHOLD) */
+       uint32_t                shift;          /* shift is nonzero only on "slow" machines, */
+                                               /* ie where tscFreq <= SLOW_TSC_THRESHOLD */
        volatile uint32_t       generation;     /* 0 == being updated */
        uint32_t                spare1;
 };