reactos/ntoskrnl/ex
Eugen Podrug 8e01dee251 [NTOS:EX] Fix swapped values in ExGetCurrentProcessorCounts() (#4565)
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.
2023-07-02 16:10:36 +03:00
..
arm
i386
atom.c
callback.c
dbgctrl.c
efi.c
event.c
evtpair.c
exintrin.c
fmutex.c
handle.c [NTOS] Include kdbg/kdb.h only in the files that really need it. 2023-04-11 00:44:10 +02:00
harderr.c
hdlsterm.c
init.c [NTOS:EX] Initialize ExpTimeRefreshLock 2022-12-01 20:17:40 +02:00
interlocked.c
keyedevt.c
locale.c
lookas.c [NTOS] Swap MAXIMUM_PROCESSORS with NUMBER_POOL_LOOKASIDE_LISTS 2022-12-28 21:09:41 +01:00
mutant.c
profile.c
pushlock.c
resource.c
rundown.c
sem.c
shutdown.c Fix typo "managment" -> "management" in our codebase... 2023-06-04 21:39:56 +02:00
sysinfo.c [NTOS:EX] Fix swapped values in ExGetCurrentProcessorCounts() (#4565) 2023-07-02 16:10:36 +03:00
time.c
timer.c
uuid.c
win32k.c
work.c
xipdisp.c
zone.c
zw.S