summaryrefslogtreecommitdiff
path: root/src/cpu/qemu-x86
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/qemu-x86')
-rw-r--r--src/cpu/qemu-x86/Kconfig25
1 files changed, 21 insertions, 4 deletions
diff --git a/src/cpu/qemu-x86/Kconfig b/src/cpu/qemu-x86/Kconfig
index 21ada02a5d..af0c746f10 100644
--- a/src/cpu/qemu-x86/Kconfig
+++ b/src/cpu/qemu-x86/Kconfig
@@ -2,12 +2,29 @@
config CPU_QEMU_X86
bool
- select ARCH_BOOTBLOCK_X86_32
- select ARCH_VERSTAGE_X86_32
- select ARCH_ROMSTAGE_X86_32
- select ARCH_RAMSTAGE_X86_32
select SMP
select UDELAY_TSC
select TSC_MONOTONIC_TIMER
select UNKNOWN_TSC_RATE
select SMM_ASEG
+
+if CPU_QEMU_X86
+
+config CPU_QEMU_X86_64
+ bool "Experimental 64bit support"
+ select ARCH_BOOTBLOCK_X86_64
+ select ARCH_VERSTAGE_X86_64
+ select ARCH_ROMSTAGE_X86_64
+ select ARCH_POSTCAR_X86_64
+ select ARCH_RAMSTAGE_X86_64
+
+config CPU_QEMU_X86_32
+ bool
+ default n if CPU_QEMU_X86_64
+ default y
+ select ARCH_BOOTBLOCK_X86_32
+ select ARCH_VERSTAGE_X86_32
+ select ARCH_ROMSTAGE_X86_32
+ select ARCH_POSTCAR_X86_32
+ select ARCH_RAMSTAGE_X86_32
+endif