![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Support function for implementing _IO_POWER messages
#include <sys/pm.h> int pmd_power(void *ctp, void *msg, pmd_attr_t *attr);
libpm
The pmd_power() is a support function that implements the actions required to handle the _IO_POWER message types.
This is called by the iofunc_power() in the iofunc layer to handle these messages.
If the driver overrides this function, it should call pmd_power() directly. The driver's mount structure should be initialized to point to the pmd_attr_t in the mount-> power field.
Various status values passed back to the resmgr layer to reply to the client message.
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
iofunc_power()
![]() |
![]() |
![]() |