]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/startup.c
xnu-7195.60.75.tar.gz
[apple/xnu.git] / osfmk / kern / startup.c
index d2b50a60ac4f9227376e8e01002ad04222613214..481b9ef485c75e015ae1611cb4ad4c0ca7a3077c 100644 (file)
@@ -708,6 +708,10 @@ kernel_bootstrap_thread(void)
        sdt_early_init();
 #endif
 
+#ifndef BCM2837
+       kernel_bootstrap_log("trust_cache_init");
+       trust_cache_init();
+#endif
 
        kernel_startup_initialize_upto(STARTUP_SUB_LOCKDOWN);
 
@@ -914,6 +918,7 @@ load_context(
            ((thread->state & TH_IDLE) || (thread->bound_processor != PROCESSOR_NULL)) ? TH_BUCKET_SCHED_MAX : thread->th_sched_bucket);
        processor->current_is_bound = thread->bound_processor != PROCESSOR_NULL;
        processor->current_is_NO_SMT = false;
+       processor->current_is_eagerpreempt = false;
 #if CONFIG_THREAD_GROUPS
        processor->current_thread_group = thread_group_get(thread);
 #endif