summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configs/config.emulation_qemu_x86_q35_smm_tseg4
-rw-r--r--src/cpu/qemu-x86/Kconfig14
2 files changed, 18 insertions, 0 deletions
diff --git a/configs/config.emulation_qemu_x86_q35_smm_tseg b/configs/config.emulation_qemu_x86_q35_smm_tseg
new file mode 100644
index 0000000000..6484c6c29c
--- /dev/null
+++ b/configs/config.emulation_qemu_x86_q35_smm_tseg
@@ -0,0 +1,4 @@
+CONFIG_BOARD_EMULATION_QEMU_X86_Q35=y
+CONFIG_CPU_QEMU_X86_PARALLEL_MP=y
+CONFIG_CPU_QEMU_X86_TSEG_SMM=y
+CONFIG_CPU_QEMU_X86_SMMLOADERV2=y
diff --git a/src/cpu/qemu-x86/Kconfig b/src/cpu/qemu-x86/Kconfig
index 85f99e9cb6..d60f70fb48 100644
--- a/src/cpu/qemu-x86/Kconfig
+++ b/src/cpu/qemu-x86/Kconfig
@@ -43,6 +43,20 @@ config CPU_QEMU_X86_TSEG_SMM
endchoice
+choice
+ prompt "SMM loader"
+ default CPU_QEMU_X86_SMMLOADERV1
+ depends on SMM_TSEG
+
+config CPU_QEMU_X86_SMMLOADERV1
+ bool "smmloader v1"
+
+config CPU_QEMU_X86_SMMLOADERV2
+ bool "smmloader v2"
+ select X86_SMM_LOADER_VERSION2
+
+endchoice
+
config MAX_CPUS
int
default 32 if SMM_TSEG