reactos/ntoskrnl
Timo Kreuzer 91948dea80 [NTOS:KE/x64] Fix handling of PCR::UserRsp
This is a temporary helper for the system call entry point to store the user mode stack, before switching to the kernel mode stack. Initially it was copied to the trap frame inside KiSystemCallHandler. This has been moved to the system call entry point, but some remnants remained. The problem is that KiSystemCallHandler can be called twice in a system call (when the call is the first GUI call and the stack needs to be extended). In that scenario, when the thread was preempted, a new value could be saved in the PCR before running KiSystemCallHandler again, and then overwriting the proper value with a bogus one from a different thread. This rarely seemed to happen on UP, but happens a lot with SMP.
2024-12-16 16:18:45 +02:00
..
cache [REACTOS] Fix 'seperate' typos 2024-12-11 08:56:06 +02:00
cc [NTOS:CC] CcRosInitializeFileCache: Fix a missing spinlock release 2024-11-25 23:35:48 +07:00
config [NTOS:CM] Implement Win7+ VolatileBoot support. 2024-12-15 22:15:13 +01:00
dbgk [NTOSKRNL] Regroup the pool allocation tags in one dedicated place 2021-12-27 18:57:03 +01:00
ex [NTOS:KE/EX] Add minimal EMS (headless) support for bugcheck. 2024-12-14 23:38:43 +01:00
fsrtl [NTOS:FSRTL] FsRtlAcquireFileExclusiveCommon: don't return before acquiring a file resource, except special cases (#7273) 2024-11-20 16:47:32 +01:00
fstub [NTOS:FSTUB] Pack the MASTER_BOOT_RECORD structure (#6416) 2024-02-08 01:02:19 +03:00
inbv [NTOS:EX] Fix a loop bug 2024-03-19 07:43:20 +01:00
include [NTOS:KE] Synchronize KiPcToFileHeader/KiRosPcToUserFileHeader 1st parameter name 2024-12-15 22:21:10 +01:00
io [NTOS:CM/IO/KE] Implement minimal support for CrashControl:AutoReboot 2024-12-15 22:12:22 +01:00
kd [NTOS:KD] Fix release builds. 2023-08-31 17:10:34 +02:00
kd64 [NTOS:KD64] The DbgKdPageInApi, introduced in NT4, has been obsoleted in NT5. 2024-12-14 23:33:53 +01:00
kdbg [NTOS:KDBG] For SYSREG2: HACK emission of a 'bt' command when entering the debugger 2024-10-14 23:37:22 +02:00
ke [NTOS:KE/x64] Fix handling of PCR::UserRsp 2024-12-16 16:18:45 +02:00
lpc [NTOS:LPC] Fix input parameter for ProbeAndCaptureUnicodeString (#5815) 2023-10-23 18:18:45 +02:00
mm [NTOS:MM] MiScanMemoryDescriptors(): Use the MiIsMemoryTypeInvisible() and MiIsMemoryTypeFree() helpers. 2024-12-14 23:31:48 +01:00
ntkrnlmp [CMAKE] Use the "kernel" module type for ntoskrnl and ntkrnlmp 2021-03-23 11:18:43 +01:00
ob [NDK] Match AUX_ACCESS_DATA definition with publicly available version. 2024-09-12 17:44:13 +03:00
po [NTOS:PO] Update a comment (#6443) 2024-09-08 02:29:37 +02:00
ps [NTOS:MM/PS] Remove code duplication between LookupEntryPoint/MiLocateExportName/MiFindExportedRoutineByName. (#4918) 2023-08-29 17:26:57 +02:00
rtl [RTL] Minor formatting, remove redundant 'return'. 2023-11-16 17:06:40 +01:00
se [NTOS:SE] Mark output parameters as such. 2024-09-12 17:44:13 +03:00
tests [REACTOS] Add missing line breaks at end of file 2024-10-06 10:47:11 +03:00
vdm [FORMATTING][NTOS][HAL][DRIVERS][SDK] Fix trailing spaces 2021-06-11 15:33:08 +03:00
vf Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
wmi [REACTOS] Fix traces with missing arguments. 2021-11-21 12:57:35 -05:00
CMakeLists.txt [CMAKE] Elimitate the use of GCC and CLANG variables 2022-05-27 01:37:34 +03:00
guid.c [NTOSKRNL] Rewrite IoAssignDriveLetters to make NT5 compliant 2019-10-21 18:28:40 +02:00
KrnlFun.c Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
ntdll.S Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
ntos.cmake [NTOS:KE/x64] Implement processor freeze code 2024-04-23 15:50:06 +02:00
ntoskrnl.rc [NTOS:INBV] Isolate the bitmap resources pertaining to the boot theme/animation into their resource sub-file. 2023-12-24 22:39:36 +01:00
ntoskrnl.spec [MSVCRT][NTDLL][NTOS] Add import aliases for _swprintf and _vswprintf 2024-05-22 17:55:38 +02:00
sysfuncs.lst Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00