PDNS:ConfigureWakeEvents

From 3dbrew
Jump to navigation Jump to search

Request

Index Word Description
0
Header 0x00020080 Cmd 0x0002 Param 2 Xlat 0
1 Wake events to enable
2 Wake events to clear/acknowledge

Response

Index Word Description
0
Header 0x00020040 Cmd 0x0002 Param 1 Xlat 0
1 Result code

Description

Configures events that will wake the system, and acknowledges specified wake events.

First, wake events that should be enabled are acknowledged (because they occurred before this policy change) using PDN_WAKE_REASON. Then, PDN_WAKE_ENABLE is updated to the given set of events to enable. Finally, all wake events other than the enabled ones are cleared/acknowledged in PDN_WAKE_REASON.