X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/21362eb3e66fd2c787aee132bce100a44d71a99c..593a1d5fd87cdf5b46dd5fcb84467b432cea0f91:/iokit/IOKit/IOPlatformExpert.h diff --git a/iokit/IOKit/IOPlatformExpert.h b/iokit/IOKit/IOPlatformExpert.h index 0bb1ff3e5..1826c256e 100644 --- a/iokit/IOKit/IOPlatformExpert.h +++ b/iokit/IOKit/IOPlatformExpert.h @@ -52,7 +52,10 @@ extern int PEGetPlatformEpoch( void ); enum { kPEHaltCPU, kPERestartCPU, - kPEHangCPU + kPEHangCPU, + kPEUPSDelayHaltCPU, + kPEPanicRestartCPU, + kPEPanicSync }; extern int (*PE_halt_restart)(unsigned int type); extern int PEHaltRestart(unsigned int type); @@ -68,7 +71,13 @@ extern void PESetGMTTimeOfDay( long secs ); #define kIOPlatformMapperPresentKey "IOPlatformMapperPresent" -extern OSSymbol * gPlatformInterruptControllerName; + +extern OSSymbol * gPlatformInterruptControllerName; + +extern const OSSymbol * gIOPlatformSleepActionKey; +extern const OSSymbol * gIOPlatformWakeActionKey; +extern const OSSymbol * gIOPlatformQuiesceActionKey; +extern const OSSymbol * gIOPlatformActiveActionKey; class IORangeAllocator; class IONVRAMController; @@ -270,6 +279,7 @@ public: virtual bool compareName( OSString * name, OSString ** matched = 0 ) const; virtual IOWorkLoop *getWorkLoop() const; + virtual IOReturn setProperties( OSObject * properties ); virtual void free();