You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
[QEMU] Support -smp option up-to 255
This will detect CPUs up-to 255 and update MADT ProcessorLocalApic entries
with the detected CPU information.
- Set PcdCpuMaxLogicalProcessorNumber to 255 in QEMU BoardConfig.py
Test>
qemu-system-x86_64 -machine q35 -nographic -serial mon:stdio
-pflash Outputs/qemu/SlimBootloader.bin
-smp 8
Signed-off-by: Aiden Park <aiden.park@intel.com>
This commit is contained in:
@@ -48,6 +48,8 @@ class Board(BaseBoard):
|
||||
self.ENABLE_GRUB_CONFIG = 1
|
||||
self.ENABLE_LINUX_PAYLOAD = 1
|
||||
|
||||
self.CPU_MAX_LOGICAL_PROCESSOR_NUMBER = 255
|
||||
|
||||
# To enable source debug, set 1 to self.ENABLE_SOURCE_DEBUG
|
||||
# self.ENABLE_SOURCE_DEBUG = 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user