Implement KeGetCurrentIrql as intrinsic.

svn path=/branches/ros-amd64-bringup/; revision=35506
This commit is contained in:
Timo Kreuzer
2008-08-21 13:33:57 +00:00
parent ae1ea8b593
commit bebc0f9c06
+9
View File
@@ -9962,10 +9962,19 @@ KeRaiseIrqlToSynchLevel(
#elif defined(_M_AMD64)
/*
NTKERNELAPI
KIRQL
KeGetCurrentIrql(
VOID);
*/
FORCEINLINE
KIRQL
_KeGetCurrentIrql(VOID)
{
return (KIRQL)__readcr8();
}
#define KeGetCurrentIrql _KeGetCurrentIrql
NTKERNELAPI
VOID