[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:
Aiden Park 2019-09-06 10:19:20 -07:00
parent 4803d940b1
commit b76d65801e
1 changed files with 2 additions and 0 deletions

View File

@ -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