2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS NDIS library
5 * PURPOSE: NDIS library definitions
6 * NOTES: Spin lock acquire order:
26 /* Exported functions */
31 /* the version of NDIS we claim to be */
32 #define NDIS_VERSION 0x00050000
34 #define TAG(A, B, C, D) (ULONG)(((A)<<0) + ((B)<<8) + ((C)<<16) + ((D)<<24))
35 #define NDIS_TAG 0x4e4d4953
37 #define MIN(value1, value2) \
38 ((value1 < value2)? value1 : value2)
40 #define MAX(value1, value2) \
41 ((value1 > value2)? value1 : value2)
43 #define ExInterlockedRemoveEntryList(_List,_Lock) \
45 KeAcquireSpinLock(_Lock, &OldIrql); \
46 RemoveEntryList(_List); \
47 KeReleaseSpinLock(_Lock, OldIrql); \
50 /* missing protypes */
53 ExGetCurrentProcessorCounts(
54 PULONG ThreadKernelTime
,
56 PULONG ProcessorNumber
);
60 ExGetCurrentProcessorCpuUsage(
63 #endif /* __NDISSYS_H */