+
+ if (PE_reboot_on_panic())
+ deadline = mach_absolute_time() + PANIC_RESTART_TIMEOUT;
+ else
+ deadline = mach_absolute_time() + panic_restart_timeout;
+
+ while (mach_absolute_time() < deadline)
+ cpu_pause();
+
+ kprintf("Invoking PE_halt_restart\n");
+ /* Attempt restart via ACPI RESET_REG; at the time of this
+ * writing, this is routine is chained through AppleSMC->
+ * AppleACPIPlatform
+ */
+
+ if (PE_halt_restart)
+ (*PE_halt_restart)(kPERestartCPU);