Patrick Georgi | c49d7a3 | 2020-05-08 22:50:46 +0200 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
Gerd Hoffmann | cbf3073 | 2013-05-31 09:23:26 +0200 | [diff] [blame] | 2 | |
| 3 | config CPU_QEMU_X86 |
| 4 | bool |
Patrick Georgi | 704662a | 2015-12-06 20:58:21 +0100 | [diff] [blame] | 5 | select SMP |
Michael van der Westhuizen | 401f8c5 | 2018-09-05 10:26:44 -0700 | [diff] [blame] | 6 | select UDELAY_TSC |
Kyösti Mälkki | 6617a77 | 2019-07-10 15:02:40 +0300 | [diff] [blame] | 7 | select TSC_MONOTONIC_TIMER |
Kyösti Mälkki | 0d6ddf8 | 2019-10-31 14:52:20 +0200 | [diff] [blame] | 8 | select UNKNOWN_TSC_RATE |
Kyösti Mälkki | 4d372c7 | 2019-07-08 13:48:57 +0300 | [diff] [blame] | 9 | select SMM_ASEG |
Patrick Rudolph | 57907fc | 2018-11-15 13:42:15 +0100 | [diff] [blame] | 10 | |
| 11 | if CPU_QEMU_X86 |
| 12 | |
| 13 | config CPU_QEMU_X86_64 |
| 14 | bool "Experimental 64bit support" |
| 15 | select ARCH_BOOTBLOCK_X86_64 |
| 16 | select ARCH_VERSTAGE_X86_64 |
| 17 | select ARCH_ROMSTAGE_X86_64 |
| 18 | select ARCH_POSTCAR_X86_64 |
| 19 | select ARCH_RAMSTAGE_X86_64 |
| 20 | |
| 21 | config CPU_QEMU_X86_32 |
| 22 | bool |
| 23 | default n if CPU_QEMU_X86_64 |
| 24 | default y |
| 25 | select ARCH_BOOTBLOCK_X86_32 |
| 26 | select ARCH_VERSTAGE_X86_32 |
| 27 | select ARCH_ROMSTAGE_X86_32 |
| 28 | select ARCH_POSTCAR_X86_32 |
| 29 | select ARCH_RAMSTAGE_X86_32 |
| 30 | endif |