]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/rtclock_native.c
xnu-4570.51.1.tar.gz
[apple/xnu.git] / osfmk / i386 / rtclock_native.c
index 436877ae3dd908aec6dc04005cefadcbe7f86aff..13cde8e79ff765720fb954895b8660f6076644ae 100644 (file)
@@ -29,7 +29,6 @@
  * @OSF_COPYRIGHT@
  */
 
-#include <platforms.h>
 
 #include <mach/mach_types.h>
 
@@ -95,6 +94,13 @@ rtc_lapic_set_timer(uint64_t deadline, uint64_t now)
        } else {
                lapic_set_timer(FALSE, one_shot, divide_by_1, 0);
        }
+
+       KERNEL_DEBUG_CONSTANT(
+               DECR_SET_APIC_DEADLINE | DBG_FUNC_NONE,
+               now, deadline,
+               set, LAPIC_READ(TIMER_CURRENT_COUNT),
+               0);
+
        return set;
 }