mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Implement KxGetCurrentIrql, KxLowerIrql, KxRaiseIrql and KxRaiseIrqlToDpcLevel and use them for the Ke/Kf exports.
svn path=/branches/ros-amd64-bringup/; revision=35512
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
NTKERNELAPI
|
||||
VOID
|
||||
KfLowerIrql(IN KIRQL NewIrql)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
NTKERNELAPI
|
||||
KIRQL
|
||||
KfRaiseIrql(IN KIRQL NewIrql)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return 0;
|
||||
}
|
||||
|
||||
NTKERNELAPI
|
||||
KIRQL
|
||||
KeRaiseIrqlToDpcLevel(VOID)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return 0;
|
||||
}
|
||||
|
||||
NTKERNELAPI
|
||||
KIRQL
|
||||
KeRaiseIrqlToSynchLevel(VOID)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return 0;
|
||||
return KeGetCurrentIrql();
|
||||
}
|
||||
|
||||
NTKERNELAPI
|
||||
VOID
|
||||
KeLowerIrql(IN KIRQL NewIrql)
|
||||
KxLowerIrql(IN KIRQL NewIrql)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return 0;
|
||||
KeLowerIrql(NewIrql);
|
||||
}
|
||||
|
||||
NTKERNELAPI
|
||||
KIRQL
|
||||
KxRaiseIrql(IN KIRQL NewIrql)
|
||||
{
|
||||
return KfRaiseIrql(NewIrql);
|
||||
}
|
||||
|
||||
NTKERNELAPI
|
||||
KIRQL
|
||||
KxRaiseIrqlToDpcLevel(VOID)
|
||||
{
|
||||
return KeRaiseIrqlToDpcLevel();
|
||||
}
|
||||
|
||||
|
||||
/* EOF */
|
||||
|
||||
@@ -565,7 +565,7 @@ KeFindConfigurationNextEntry
|
||||
KeFlushEntireTb
|
||||
KeFlushQueuedDpcs
|
||||
KeGenericCallDpc
|
||||
KeGetCurrentIrql
|
||||
KeGetCurrentIrql=KxGetCurrentIrql
|
||||
KeGetCurrentThread
|
||||
KeGetRecommendedSharedDataAlignment
|
||||
KeInitializeApc
|
||||
@@ -596,7 +596,7 @@ KeLastBranchMSR
|
||||
KeLeaveCriticalRegion
|
||||
KeLeaveGuardedRegion
|
||||
KeLoaderBlock
|
||||
KeLowerIrql
|
||||
KeLowerIrql=KxLowerIrql
|
||||
KeNumberProcessors
|
||||
KeProfileInterruptWithSource
|
||||
KePulseEvent
|
||||
@@ -606,7 +606,7 @@ KeQueryPrcbAddress
|
||||
KeQueryPriorityThread
|
||||
KeQueryRuntimeThread
|
||||
KeQueryTimeIncrement
|
||||
KeRaiseIrqlToDpcLevel
|
||||
KeRaiseIrqlToDpcLevel=KxRaiseIrqlToDpcLevel
|
||||
KeRaiseUserException
|
||||
KeReadStateEvent
|
||||
KeReadStateMutant
|
||||
@@ -676,7 +676,7 @@ KeUserModeCallback
|
||||
KeWaitForMultipleObjects
|
||||
KeWaitForMutexObject
|
||||
KeWaitForSingleObject
|
||||
KfRaiseIrql
|
||||
KfRaiseIrql=KxRaiseIrql
|
||||
KiBugCheckData
|
||||
KiCheckForKernelApcDelivery
|
||||
KiCpuId
|
||||
|
||||
Reference in New Issue
Block a user