Fix work item enumaration values. Modified: trunk/reactos/include/ddk/defines.h Modified: trunk/reactos/include/ddk/exfuncs.h Modified: trunk/reactos/include/ddk/extypes.h Modified: trunk/reactos/ntoskrnl/ex/time.c Modified: trunk/reactos/ntoskrnl/ex/work.c _____
Modified: trunk/reactos/include/ddk/defines.h --- trunk/reactos/include/ddk/defines.h 2005-01-01 04:05:42 UTC (rev 12678) +++ trunk/reactos/include/ddk/defines.h 2005-01-01 04:55:11 UTC (rev 12679) @@ -18,16 +18,6 @@
#define NR_PRIORITY_LEVELS (32)
/* - * PURPOSE: Type of queue to insert a work item in - */ -enum -{ - CriticalWorkQueue, - DelayedWorkQueue, - HyperCriticalWorkQueue, -}; - -/* * Types of memory to allocate */ enum _____
Modified: trunk/reactos/include/ddk/exfuncs.h --- trunk/reactos/include/ddk/exfuncs.h 2005-01-01 04:05:42 UTC (rev 12678) +++ trunk/reactos/include/ddk/exfuncs.h 2005-01-01 04:55:11 UTC (rev 12679) @@ -699,7 +699,7 @@
IN PVOID OwnerPointer );
-VOID +ULONG STDCALL ExSetTimerResolution ( IN ULONG DesiredTime, _____
Modified: trunk/reactos/include/ddk/extypes.h --- trunk/reactos/include/ddk/extypes.h 2005-01-01 04:05:42 UTC (rev 12678) +++ trunk/reactos/include/ddk/extypes.h 2005-01-01 04:55:11 UTC (rev 12679) @@ -1,11 +1,17 @@
-/* $Id: extypes.h,v 1.25 2004/10/22 22:49:00 weiden Exp $ */ +/* $Id$ */
#ifndef __INCLUDE_DDK_EXTYPES_H #define __INCLUDE_DDK_EXTYPES_H
typedef ULONG INTERLOCKED_RESULT; -typedef ULONG WORK_QUEUE_TYPE;
+typedef enum _WORK_QUEUE_TYPE { + CriticalWorkQueue, + DelayedWorkQueue, + HyperCriticalWorkQueue, + MaximumWorkQueue +} WORK_QUEUE_TYPE; + typedef ULONG_PTR ERESOURCE_THREAD, *PERESOURCE_THREAD;
typedef struct _OWNER_ENTRY _____
Modified: trunk/reactos/ntoskrnl/ex/time.c --- trunk/reactos/ntoskrnl/ex/time.c 2005-01-01 04:05:42 UTC (rev 12678) +++ trunk/reactos/ntoskrnl/ex/time.c 2005-01-01 04:55:11 UTC (rev 12679) @@ -1,4 +1,4 @@
-/* $Id: time.c,v 1.28 2004/12/05 00:20:22 navaraf Exp $ +/* $Id$ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -228,7 +228,7 @@ /* * @unimplemented */ -VOID +ULONG STDCALL ExSetTimerResolution ( IN ULONG DesiredTime, _____
Modified: trunk/reactos/ntoskrnl/ex/work.c --- trunk/reactos/ntoskrnl/ex/work.c 2005-01-01 04:05:42 UTC (rev 12678) +++ trunk/reactos/ntoskrnl/ex/work.c 2005-01-01 04:55:11 UTC (rev 12679) @@ -1,4 +1,4 @@
-/* $Id: work.c,v 1.24 2004/12/24 02:09:12 gdalsnes Exp $ +/* $Id$ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -172,6 +172,9 @@ &WorkItem->List ); break; + + default: + break;
} }