Author: tkreuzer
Date: Fri Feb 13 20:19:52 2009
New Revision: 39600
URL:
http://svn.reactos.org/svn/reactos?rev=39600&view=rev
Log:
Add PPROCESSOR_IDLE_FUNCTION, fix PROCESSOR_POWER_STATE
Modified:
trunk/reactos/include/ndk/potypes.h
Modified: trunk/reactos/include/ndk/potypes.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/potypes.h?rev=…
==============================================================================
--- trunk/reactos/include/ndk/potypes.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/potypes.h [iso-8859-1] Fri Feb 13 20:19:52 2009
@@ -42,9 +42,16 @@
//
// Processor Power State Data
//
+struct _PROCESSOR_POWER_STATE;
+
+typedef
+VOID
+(FASTCALL *PPROCESSOR_IDLE_FUNCTION)(
+ struct _PROCESSOR_POWER_STATE *PState);
+
typedef struct _PROCESSOR_POWER_STATE
{
- PVOID IdleFunction;
+ PPROCESSOR_IDLE_FUNCTION IdleFunction;
ULONG Idle0KernelTimeLimit;
ULONG Idle0LastTime;
PVOID IdleHandlers;
@@ -61,10 +68,10 @@
UCHAR ThermalThrottleIndex;
ULONG LastKernelUserTime;
ULONG PerfIdleTime;
- ULONG DebugDelta;
+ ULONGLONG DebugDelta;
ULONG DebugCount;
ULONG LastSysTime;
- ULONG TotalIdleStateTime[3];
+ ULONGLONG TotalIdleStateTime[3];
ULONG TotalIdleTransitions[3];
ULONGLONG PreviousC3StateTime;
UCHAR KneeThrottleIndex;