reactos/ntoskrnl
Hermès Bélusca-Maïto 3022d74beb
[NTOS:EX/KE][HALX86] Add support for NUMPROC, BOOTPROC, MAXPROC, ONECPU boot switches (#6024)
These SMP-specific switches allow to test and control configurations
with various number of CPUs on multiprocessor systems.

- NUMPROC: maximum number of logical processors that can be started
  (including dynamically, not currently supported by ReactOS) at run-time.

- BOOTPROC: maximum number of logical processors that can be started at
  boot-time.

- MAXPROC: forces the OS to report the maximum possible number of CPUs
  as existing on the system.

- ONECPU (MP HAL-only boot switch): causes the HAL to only use one
  (the boot) CPU on a multiprocessor system. Attempting to start other
  processors will fail.

For more information, see:
https://www.geoffchappell.com/notes/windows/boot/bcd/osloader/numproc.htm
https://www.geoffchappell.com/notes/windows/license/processors.htm
https://rmscrypt.wordpress.com/2011/02/
https://codeinsecurity.wordpress.com/2022/04/07/cpu-socket-and-core-count-limits-in-windows-10-and-how-to-remove-them/

Generic references about BOOT.INI switches:
https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/boot-options-in-a-boot-ini-file
https://www.itprotoday.com/cloud-computing/what-switches-can-be-used-bootini
http://franck.kiechel.free.fr/dbr_eng/BootIni.htm

References about BCD options:
https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/bcdedit--set
http://www.mistyprojects.co.uk/documents/BCDEdit/files/commands.6.1.7601.htm#TYPES%20OSLOADER
2025-04-04 12:51:49 +02:00
..
cache [REACTOS] Refresh old URLs (#7632) 2025-01-28 13:36:45 +09:00
cc [NTOSKRNL] Add missing \n to DPRINT() calls (#6012) 2025-03-26 10:23:15 +01:00
config [NTOS:OB] Allow ObpCaseInsensitive to be configured via registry (#7751) 2025-03-11 19:15:02 +01:00
dbgk [NTOSKRNL] Regroup the pool allocation tags in one dedicated place 2021-12-27 18:57:03 +01:00
ex [NTOS:EX/KE][HALX86] Add support for NUMPROC, BOOTPROC, MAXPROC, ONECPU boot switches (#6024) 2025-04-04 12:51:49 +02:00
fsrtl [REACTOS] Refresh old URLs (#7632) 2025-01-28 13:36:45 +09:00
fstub [NTOS:FSTUB] Pack the MASTER_BOOT_RECORD structure (#6416) 2024-02-08 01:02:19 +03:00
inbv [NTOS:INBV] We are now past Christmas time. 2025-01-22 17:30:43 +01:00
include [NTOS:EX/KE][HALX86] Add support for NUMPROC, BOOTPROC, MAXPROC, ONECPU boot switches (#6024) 2025-04-04 12:51:49 +02:00
io [NTOSKRNL] Add missing \n to DPRINT() calls (#6012) 2025-03-26 10:23:15 +01:00
kd [NTOS:KD] Fix release builds. 2023-08-31 17:10:34 +02:00
kd64 [NTOS:KD64] Fix freezes on first chance exception when KDBG is enabled and KdIgnoreUmExceptions is TRUE 2025-01-28 22:00:55 +01:00
kdbg [NTOS:KDBG] Add back 'cregs' command 2025-01-29 18:25:24 +01:00
ke [NTOS:EX/KE][HALX86] Add support for NUMPROC, BOOTPROC, MAXPROC, ONECPU boot switches (#6024) 2025-04-04 12:51:49 +02:00
lpc [NTOS:LPC] Fix input parameter for ProbeAndCaptureUnicodeString (#5815) 2023-10-23 18:18:45 +02:00
mm [NTOS:MM] Fix broken ASSERT 2025-03-04 15:24:53 +02:00
ntkrnlmp [NTOS] Build mproc.c _only_ for MP ntoskrnl, not for single-processor 2025-04-04 12:51:29 +02:00
ob [NTOS:OB] Allow ObpCaseInsensitive to be configured via registry (#7751) 2025-03-11 19:15:02 +01:00
po [NTOS:PO] Update a comment (#6443) 2024-09-08 02:29:37 +02:00
ps [NTOS:MM:PS] Little fixes for NTDLL loading (#7707) 2025-03-03 20:36:21 +01:00
rtl [AVRF] Hook up debug functions, add noisy stub for AVrfpGetStackTraceAddress 2025-03-25 16:23:39 +01:00
se [NTOSKRNL] Add missing \n to DPRINT() calls (#6012) 2025-03-26 10:23:15 +01: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 [NTOS] Build mproc.c _only_ for MP ntoskrnl, not for single-processor 2025-04-04 12:51:29 +02: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] Build mproc.c _only_ for MP ntoskrnl, not for single-processor 2025-04-04 12:51:29 +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 [KERNEL32][NTDLL][NTOS][WIN32K] Fix and sync the exports for RtlUnwindEx and RtlVirtualUnwind (#7749) 2025-03-11 18:59:22 +01: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