site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com I am trying to have my kext call rebootSystem from a driver. Does anyone have any idea how to call this and make it work? Or any other way to get the machine to reboot from a kext? Thanks. _______________________________________________ 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... The driver is a subclass of IOBlockStorage, which ultimately inherits from IOStorage. IOStorage has a method called getPMrootDomain which should get the global IOPMrootDomain. I should them be able to call rebootSystem from this and have the machine reboot. Everything compiles and runs fine, but the call to rebootSystem returns an unimplemented error message. This email sent to site_archiver@lists.apple.com