]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/ppc/machine_routines.h
xnu-201.42.3.tar.gz
[apple/xnu.git] / osfmk / ppc / machine_routines.h
index 6dc2d05ddda6a87bf5b7ceb760f98c2e05b1c1c4..7bb0b21762b2454d8136a853f3fca715eeefc3e9 100644 (file)
@@ -86,6 +86,16 @@ boolean_t ml_at_interrupt_context(void);
 /* Generate a fake interrupt */
 void ml_cause_interrupt(void);
 
+void ml_thread_policy(
+       thread_t thread,
+       unsigned policy_id,
+       unsigned policy_info);   
+
+#define        MACHINE_GROUP                           0x00000001
+#define MACHINE_NETWORK_GROUP          0x10000000
+#define        MACHINE_NETWORK_WORKLOOP        0x00000001
+#define        MACHINE_NETWORK_NETISR          0x00000002
+
 #ifdef MACH_KERNEL_PRIVATE
 /* check pending timers */
 void machine_clock_assist(void);
@@ -185,4 +195,7 @@ unsigned int ml_throttle(
 void ml_get_timebase(unsigned long long *timstamp);
 void ml_sense__nmi(void);
 
+int ml_enable_cache_level(int cache_level, int enable);
+void ml_set_processor_speed(unsigned long speed);
+
 #endif /* _PPC_MACHINE_ROUTINES_H_ */