Author: greatlrd
Date: Fri Mar 21 19:38:09 2008
New Revision: 32741
URL:
http://svn.reactos.org/svn/reactos?rev=3D32741&view=3Drev
Log:
implement NdisGetCurrentProcessorCounts
Modified:
trunk/reactos/drivers/network/ndis/include/ndissys.h
trunk/reactos/drivers/network/ndis/ndis/stubs.c
Modified: trunk/reactos/drivers/network/ndis/include/ndissys.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/=
include/ndissys.h?rev=3D32741&r1=3D32740&r2=3D32741&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/reactos/drivers/network/ndis/include/ndissys.h (original)
+++ trunk/reactos/drivers/network/ndis/include/ndissys.h Fri Mar 21 19:38:0=
9 2008
@@ -507,6 +507,14 @@
KeReleaseSpinLock(_Lock, OldIrql); \
}
=
+/* missing protypes */
+VOID
+NTAPI
+ExGetCurrentProcessorCounts(
+ PULONG ThreadKernelTime,
+ PULONG TotalCpuTime,
+ PULONG ProcessorNumber);
+
#endif /* __NDISSYS_H */
=
/* EOF */
Modified: trunk/reactos/drivers/network/ndis/ndis/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/=
ndis/stubs.c?rev=3D32741&r1=3D32740&r2=3D32741&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/reactos/drivers/network/ndis/ndis/stubs.c (original)
+++ trunk/reactos/drivers/network/ndis/ndis/stubs.c Fri Mar 21 19:38:09 2008
@@ -462,7 +462,7 @@
=
=
/*
- * @unimplemented
+ * @implemented
*/
VOID
EXPORT
@@ -477,7 +477,7 @@
* NDIS 5.0
*/
{
- UNIMPLEMENTED
+ ExGetCurrentProcessorCounts( (PULONG) pIdleCount, (PULONG) pKernelAndU=
ser, (PULONG) pIndex); =
}
=
=