X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/39236c6e673c41db228275375ab7fdb0f837b292..a39ff7e25e19b3a8c3020042a3872ca9ec9659f1:/osfmk/i386/rtclock_native.c diff --git a/osfmk/i386/rtclock_native.c b/osfmk/i386/rtclock_native.c index 436877ae3..13cde8e79 100644 --- a/osfmk/i386/rtclock_native.c +++ b/osfmk/i386/rtclock_native.c @@ -29,7 +29,6 @@ * @OSF_COPYRIGHT@ */ -#include #include @@ -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; }