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 NDIS_TAG 0x4e4d4953
36 #define MIN(value1, value2) \
37 ((value1 < value2)? value1 : value2)
39 #define MAX(value1, value2) \
40 ((value1 > value2)? value1 : value2)
42 #define ExInterlockedRemoveEntryList(_List,_Lock) \
44 KeAcquireSpinLock(_Lock, &OldIrql); \
45 RemoveEntryList(_List); \
46 KeReleaseSpinLock(_Lock, OldIrql); \
49 /* missing protypes */
52 ExGetCurrentProcessorCounts(
53 PULONG ThreadKernelTime
,
55 PULONG ProcessorNumber
);
59 ExGetCurrentProcessorCpuUsage(
62 #endif /* __NDISSYS_H */