Author: tkreuzer
Date: Thu Aug 21 13:13:42 2008
New Revision: 35512
URL:
http://svn.reactos.org/svn/reactos?rev=35512&view=rev
Log:
Implement KxGetCurrentIrql, KxLowerIrql, KxRaiseIrql and KxRaiseIrqlToDpcLevel and use
them for the Ke/Kf exports.
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/irql.c
branches/ros-amd64-bringup/reactos/ntoskrnl/ntoskrnl_amd64.def
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/irql.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/irql.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/ke/amd64/irql.c [iso-8859-1] Thu Aug 21
13:13:42 2008
@@ -1,7 +1,7 @@
/*
* PROJECT: ReactOS Kernel
* LICENSE: GPL - See COPYING in the top level directory
- * PURPOSE: Routines for IRQL-level support
+ * PURPOSE: Routines for IRQL support
* PROGRAMMERS: Timo Kreuzer
*/
@@ -11,60 +11,35 @@
#define NDEBUG
#include <debug.h>
-#undef UNIMPLEMENTED
-
-#define UNIMPLEMENTED \
- FrLdrDbgPrint("Sorry, %s is unimplemented!\n", __FUNCTION__)
-
/* FUNCTIONS ****************************************************************/
-#undef KeGetCurrentIrql
NTKERNELAPI
KIRQL
-KeGetCurrentIrql(VOID)
+KxGetCurrentIrql(VOID)
{
- UNIMPLEMENTED;
- return 0;
+ return KeGetCurrentIrql();
}
-
NTKERNELAPI
VOID
-KfLowerIrql(IN KIRQL NewIrql)
+KxLowerIrql(IN KIRQL NewIrql)
{
- UNIMPLEMENTED;
+ KeLowerIrql(NewIrql);
}
NTKERNELAPI
KIRQL
-KfRaiseIrql(IN KIRQL NewIrql)
+KxRaiseIrql(IN KIRQL NewIrql)
{
- UNIMPLEMENTED;
- return 0;
+ return KfRaiseIrql(NewIrql);
}
NTKERNELAPI
KIRQL
-KeRaiseIrqlToDpcLevel(VOID)
+KxRaiseIrqlToDpcLevel(VOID)
{
- UNIMPLEMENTED;
- return 0;
+ return KeRaiseIrqlToDpcLevel();
}
-NTKERNELAPI
-KIRQL
-KeRaiseIrqlToSynchLevel(VOID)
-{
- UNIMPLEMENTED;
- return 0;
-}
-
-NTKERNELAPI
-VOID
-KeLowerIrql(IN KIRQL NewIrql)
-{
- UNIMPLEMENTED;
- return 0;
-}
/* EOF */
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/ntoskrnl_amd64.def
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/ntoskrnl_amd64.def [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/ntoskrnl_amd64.def [iso-8859-1] Thu Aug 21
13:13:42 2008
@@ -565,7 +565,7 @@
KeFlushEntireTb
KeFlushQueuedDpcs
KeGenericCallDpc
-KeGetCurrentIrql
+KeGetCurrentIrql=KxGetCurrentIrql
KeGetCurrentThread
KeGetRecommendedSharedDataAlignment
KeInitializeApc
@@ -596,7 +596,7 @@
KeLeaveCriticalRegion
KeLeaveGuardedRegion
KeLoaderBlock
-KeLowerIrql
+KeLowerIrql=KxLowerIrql
KeNumberProcessors
KeProfileInterruptWithSource
KePulseEvent
@@ -606,7 +606,7 @@
KeQueryPriorityThread
KeQueryRuntimeThread
KeQueryTimeIncrement
-KeRaiseIrqlToDpcLevel
+KeRaiseIrqlToDpcLevel=KxRaiseIrqlToDpcLevel
KeRaiseUserException
KeReadStateEvent
KeReadStateMutant
@@ -676,7 +676,7 @@
KeWaitForMultipleObjects
KeWaitForMutexObject
KeWaitForSingleObject
-KfRaiseIrql
+KfRaiseIrql=KxRaiseIrql
KiBugCheckData
KiCheckForKernelApcDelivery
KiCpuId