IOPMrootDomain and rebootSystem
IOPMrootDomain and rebootSystem
- Subject: IOPMrootDomain and rebootSystem
- From: Herbert <email@hidden>
- Date: Fri, 17 Jun 2005 19:07:48 -0700
I am trying to have my kext call rebootSystem from a driver.
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.
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden