1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0 2*4882a593Smuzhiyun 3*4882a593Smuzhiyunmenu "Host processor type and features" 4*4882a593Smuzhiyun 5*4882a593Smuzhiyunsource "arch/x86/Kconfig.cpu" 6*4882a593Smuzhiyun 7*4882a593Smuzhiyunendmenu 8*4882a593Smuzhiyun 9*4882a593Smuzhiyunconfig UML_X86 10*4882a593Smuzhiyun def_bool y 11*4882a593Smuzhiyun select GENERIC_FIND_FIRST_BIT 12*4882a593Smuzhiyun 13*4882a593Smuzhiyunconfig 64BIT 14*4882a593Smuzhiyun bool "64-bit kernel" if "$(SUBARCH)" = "x86" 15*4882a593Smuzhiyun default "$(SUBARCH)" != "i386" 16*4882a593Smuzhiyun 17*4882a593Smuzhiyunconfig X86_32 18*4882a593Smuzhiyun def_bool !64BIT 19*4882a593Smuzhiyun select ARCH_32BIT_OFF_T 20*4882a593Smuzhiyun select ARCH_WANT_IPC_PARSE_VERSION 21*4882a593Smuzhiyun select MODULES_USE_ELF_REL 22*4882a593Smuzhiyun select CLONE_BACKWARDS 23*4882a593Smuzhiyun select OLD_SIGSUSPEND3 24*4882a593Smuzhiyun select OLD_SIGACTION 25*4882a593Smuzhiyun 26*4882a593Smuzhiyunconfig X86_64 27*4882a593Smuzhiyun def_bool 64BIT 28*4882a593Smuzhiyun select MODULES_USE_ELF_RELA 29*4882a593Smuzhiyun 30*4882a593Smuzhiyunconfig 3_LEVEL_PGTABLES 31*4882a593Smuzhiyun bool "Three-level pagetables" if !64BIT 32*4882a593Smuzhiyun default 64BIT 33*4882a593Smuzhiyun help 34*4882a593Smuzhiyun Three-level pagetables will let UML have more than 4G of physical 35*4882a593Smuzhiyun memory. All the memory that can't be mapped directly will be treated 36*4882a593Smuzhiyun as high memory. 37*4882a593Smuzhiyun 38*4882a593Smuzhiyun However, this it experimental on 32-bit architectures, so if unsure say 39*4882a593Smuzhiyun N (on x86-64 it's automatically enabled, instead, as it's safe there). 40*4882a593Smuzhiyun 41*4882a593Smuzhiyunconfig ARCH_HAS_SC_SIGNALS 42*4882a593Smuzhiyun def_bool !64BIT 43*4882a593Smuzhiyun 44*4882a593Smuzhiyunconfig ARCH_REUSE_HOST_VSYSCALL_AREA 45*4882a593Smuzhiyun def_bool !64BIT 46*4882a593Smuzhiyun 47*4882a593Smuzhiyunconfig GENERIC_HWEIGHT 48*4882a593Smuzhiyun def_bool y 49