want to Restart system on panic()
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Importance: Normal Hi, I want to restart my system when panic() gets called. But in xnu i couldn't find code for it. I searched on assembly files *.s but no fruitful results. In which file I should look in? Where should I patch the kernel to restart it? What instructions should I write to restart it ? If we look in in to the System Preferences -> Energy Saver->Options we can restart our machine on daily/weekly basis. I think that code should I use but where it ? Regards, Parav Pandit _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Parav Pandit