This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Called to confirm the mode change completion
#include <sys/pmm.h> void mode_confirm(void *data, pm_power_mode_t mode, const pm_power_attr_t *attr);
libc
This function is called when a driver confirms that a mode change has been completed:
If this is different to mode, it indicates that the driver can not honor the request.
In this case, that mode change triggers on return from this function and the driver is instructed to change to this mode.
This call is intended to allow the policy to keep track of outstanding mode change requests, and to detect whether the mode change has been completed correctly.
There is no default action for this call.
Safety: | |
---|---|
Cancellation point | Unknown |
Interrupt handler | Unknown |
Signal handler | Unknown |
Thread | Unknown |