]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/machine_routines.h
xnu-2050.24.15.tar.gz
[apple/xnu.git] / osfmk / i386 / machine_routines.h
index 42f77f6c42aa95b961c3960ec234989a8d525753..d800625f75cc41946e4f9b1d00c5d7a7e3b07fee 100644 (file)
@@ -80,6 +80,9 @@ void ml_install_interrupt_handler(
 
 void ml_get_timebase(unsigned long long *timestamp);
 void ml_init_lock_timeout(void); 
+void ml_init_delay_spin_threshold(void);
+
+boolean_t ml_delay_should_spin(uint64_t interval);
 
 vm_offset_t
 ml_static_ptovirt(
@@ -303,10 +306,13 @@ void ml_get_csw_threads(thread_t * /*old*/, thread_t * /*new*/);
 __END_DECLS
 
 #ifdef XNU_KERNEL_PRIVATE
+
 boolean_t ml_fpu_avx_enabled(void);
+
 void interrupt_latency_tracker_setup(void);
 void interrupt_reset_latency_stats(void);
 void interrupt_populate_latency_stats(char *, unsigned);
+void ml_get_power_state(boolean_t *, boolean_t *);
 
 #endif /* XNU_KERNEL_PRIVATE */
 #endif /* _I386_MACHINE_ROUTINES_H_ */