mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 12:26:32 +00:00
8e01dee251
The function should return the kernel time for the idle thread in the first argument, and kernel time + user time for the current thread in the second argument. Also retrieve the processor number from the cached PRCB instead of calling KeGetCurrentProcessorNumber() which retrieves the PRCB again since the processor could switch in-between those calls. NdisGetCurrentProcessorCounts() function follows the same prototype which is the correct one. |
||
---|---|---|
.. | ||
include | ||
ndis | ||
CMakeLists.txt | ||
DIRS | ||
ndis.rc | ||
ndis.spec | ||
readme.txt |
Build instructions for NDIS library ----------------------------------- - Building of ndis is currently only supported with the mingw gcc compiler - from this directory: 'make' to make the library 'make clean' to clean it - from the top level reactos directory: 'make ndis' - make must be run from the top level reactos directory to update the import library, unless you manually update it ----------------------------- All of the below is outdated. ----------------------------- Building with Visual C++ and Windows NT DDK: Variables: %BASEDIR% = path to NT4 DDK (e.g. c:\ntddk) %DDKBUILDENV% = DDK build environment (free or checked) DDK environment variables must be set! (run setenv.bat) - Create the directory objects/i386/%DDKBUILDENV% - Run "build" to build the library Building with Mingw32 and ReactOS include files: - Run "make ndis" FROM THE ReactOS ROOT DIRECTORY to build the library