2 * PROJECT: ReactOS Kernel
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: ntoskrnl/include/po.h
5 * PURPOSE: Internal header for the Power Manager
6 * PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
12 // Define this if you want debugging support
14 #define _PO_DEBUG_ 0x00
17 // These define the Debug Masks Supported
19 #define PO_STATE_DEBUG 0x01
22 // Debug/Tracing support
25 #ifdef NEW_DEBUG_SYSTEM_IMPLEMENTED // enable when Debug Filters are implemented
26 #define POTRACE DbgPrintEx
28 #define POTRACE(x, ...) \
29 if (x & PopTraceLevel) DbgPrint(__VA_ARGS__)
32 #define POTRACE(x, ...) DPRINT(__VA_ARGS__)
36 // Initialization routines
42 IN BOOLEAN HaveAcpiTable
52 // Power State routines
56 PopSetSystemPowerState(
57 SYSTEM_POWER_STATE PowerState
63 IN PPOWER_STATE PowerState
68 PopAddRemoveSysCapsCallback(
69 IN PVOID NotificationStructure
,
74 // Global data inside the Power Manager
76 extern PDEVICE_NODE PopSystemPowerDeviceNode
;