X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/b0d623f7f2ae71ed96e60569f61f9a9a27016e80..0b4c1975fb5e4eccf1012a35081f7e7799b81046:/osfmk/i386/rtclock.h?ds=sidebyside diff --git a/osfmk/i386/rtclock.h b/osfmk/i386/rtclock.h index ec3e922d8..82441c209 100644 --- a/osfmk/i386/rtclock.h +++ b/osfmk/i386/rtclock.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004-2007 Apple Inc. All rights reserved. + * Copyright (c) 2004-2010 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * @@ -53,7 +53,9 @@ typedef struct rtc_nanotime { uint32_t spare1; } rtc_nanotime_t; +#if 0 #include +#endif struct cpu_data; @@ -66,6 +68,10 @@ extern void _rtc_nanotime_store( uint32_t shift, rtc_nanotime_t *dst); +extern void _rtc_nanotime_adjust( + uint64_t tsc_base_delta, + rtc_nanotime_t *dst); + extern uint64_t _rtc_nanotime_read( rtc_nanotime_t *rntp, int slow);