Windows: correct processor group affinity handling and off-by-one mapping - Replace dynamic GetProcAddress usage with direct SetThreadGroupAffinity call since we run under Windows 10 minimum - Compute affinity mask based on actual active processor count - Fix off-by-one when assigning threads to processor groups (use > instead of >=), preventing premature group advance - Improves correctness on multi-group (>=64 CPU) systems
Recent Commits to VeraCrypt:master
-
Windows: correct processor group affinity handling and off-by-one map…
-
Windows driver: fix VERIFY/TRIM offset & validation, label handling, …
Windows driver: fix VERIFY/TRIM offset & validation, label handling, CPU group affinity, and cleanup - Use local volumeOffset, correct IOCTL_DISK_VERIFY & TRIM range translation/validation - Enforce DataSetRangesLength alignment & per-range sanity checks - Add missing returns after PsTerminateSystemThread - Remove obsolete PsDereferenceImpersonationToken dynamic lookup - Correct wide string size usage & zero label info buffer - Fix DEBUG_TRACE macro check and GetCpuGroup off-by-one. proper affinity mask - Minor safety/clarity cleanups
-
Windows driver: add defensive checks to TCCloseVolume implementation
Windows driver: add defensive checks to TCCloseVolume implementation
-
Windows: remove wrong static declaration of functions in Ntvol.h
Windows: remove wrong static declaration of functions in Ntvol.h
-
Windows driver: revert IRP completion overhaul changes until more tes…
Windows driver: revert IRP completion overhaul changes until more tests are conducted