reactos/hal/halx86
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
..
acpi [HALX86] acpi/madt.c: Rewrite it (#6032) 2024-08-31 14:35:50 -07:00
apic [HAL/APIC] Set the profiling interrupt handler 2025-04-03 16:22:42 +00:00
generic [NTOS:EX/KE][HALX86] Add support for NUMPROC, BOOTPROC, MAXPROC, ONECPU boot switches (#6024) 2025-04-04 12:51:49 +02:00
include [MINIHAL] Minor improvements (#7398) 2025-03-11 10:30:14 +03:00
legacy [REACTOS] Fix typos (#6198) 2023-12-23 21:37:08 +01:00
minihal [MINIHAL] Minor improvements (#7398) 2025-03-11 10:30:14 +03:00
mp [REACTOS] Fix typos (#6198) 2023-12-23 21:37:08 +01:00
pc98 [HAL][MINIHAL] Minor cleanup in reboot.c files (#5359) 2023-06-25 19:39:44 +02:00
pic [NTOS:KE][HALX86] Implement AP startup code (#5879) 2023-11-19 15:51:33 -08:00
smp [NTOS:EX/KE][HALX86] Add support for NUMPROC, BOOTPROC, MAXPROC, ONECPU boot switches (#6024) 2025-04-04 12:51:49 +02:00
xbox [HAL][MINIHAL] Minor cleanup in reboot.c files (#5359) 2023-06-25 19:39:44 +02:00
acpi.cmake [HALX86:ACPI] Use the correct PCH file for compilation. 2022-04-09 20:18:03 +02:00
apic.cmake [HALX86] Move apicsmp.c to lib_hal_smp 2024-03-02 07:56:27 +01:00
CMakeLists.txt [BOOTDATA] Add SMP Entry (#5859) 2023-11-01 06:43:44 -07:00
generic.cmake [SDK][HAL] Enable x86Bios on x86 (#5454) 2023-07-20 21:44:44 +02:00
legacy.cmake [HALX86] Add function prototypes needed for parsing ACPI MADT table 2022-04-07 22:54:13 +03:00
pc98.cmake [SDK][HAL] Enable x86Bios on x86 (#5454) 2023-07-20 21:44:44 +02:00
pcidata.cmake [REACTOS] Addendum to 5c7ce4475e - Fix MSVC 2015 build 2021-05-12 11:04:29 +02:00
pic.cmake [HALX86] Rearrange files in x86 HAL 2021-03-15 02:48:35 +03:00
smp.cmake [HALX86] Move apicsmp.c to lib_hal_smp 2024-03-02 07:56:27 +01:00
up.cmake [NTOS:KE][HALX86] Implement AP startup code (#5879) 2023-11-19 15:51:33 -08:00
xbox.cmake [SDK][HAL] Enable x86Bios on x86 (#5454) 2023-07-20 21:44:44 +02:00