]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/i386_init.c
xnu-1504.9.17.tar.gz
[apple/xnu.git] / osfmk / i386 / i386_init.c
index 445c6afedf4dda5d4829a1ebe2e0a9fcc4f92375..135f7a94272230b12b9ca3b4138cac970593d448 100644 (file)
@@ -504,14 +504,14 @@ i386_init(vm_offset_t boot_args_start)
        if ( ! PE_parse_boot_argn("novmx", &noVMX, sizeof (noVMX)))
                noVMX = 0;      /* OK to support Altivec in rosetta? */
 
-       tsc_init();
-       power_management_init();
-
-       PE_init_platform(TRUE, kernelBootArgs);
-
        /* create the console for verbose or pretty mode */
+       /* Note: doing this prior to tsc_init() allows for graceful panic! */
+       PE_init_platform(TRUE, kernelBootArgs);
        PE_create_console();
 
+       tsc_init();
+       power_management_init();
+
        processor_bootstrap();
        thread_bootstrap();