Contents

systemWillShutdown

Notifies members of the power plane of system shutdown and restart.

Declaration

virtual void systemWillShutdown(
 IOOptionBitsspecifier );

Parameters

  • specifier:

    kIOMessageSystemWillPowerOff or kIOMessageSystemWillRestart.

Overview

This function is called for all members of the power plane in leaf-to-root order. If a subclass needs to wait for a pending I/O, then the call to systemWillShutdown should be postponed until the I/O completes.

Any power managed driver (which has called joinPMtree to join the power plane) interested in taking action at system shutdown or restart should override this method.

See Also

Miscellaneous