2011-07-25 17:12:48 -07:00
|
|
|
mainmenu "User Mode Linux/$SUBARCH $KERNELVERSION Kernel Configuration"
|
|
|
|
|
2008-08-25 04:51:27 -04:00
|
|
|
source "arch/um/Kconfig.common"
|
|
|
|
|
|
|
|
menu "UML-specific options"
|
|
|
|
|
2005-11-13 16:07:06 -08:00
|
|
|
menu "Host processor type and features"
|
|
|
|
|
2007-10-29 04:34:31 +00:00
|
|
|
source "arch/x86/Kconfig.cpu"
|
2005-11-13 16:07:06 -08:00
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2005-05-01 08:58:54 -07:00
|
|
|
config UML_X86
|
2008-08-23 17:00:34 -04:00
|
|
|
def_bool y
|
2011-03-08 09:24:26 +00:00
|
|
|
select GENERIC_FIND_FIRST_BIT
|
2008-08-23 17:00:34 -04:00
|
|
|
|
|
|
|
config 64BIT
|
2012-02-11 06:15:50 -05:00
|
|
|
bool "64-bit kernel" if SUBARCH = "x86"
|
|
|
|
default SUBARCH != "i386"
|
2005-05-01 08:58:54 -07:00
|
|
|
|
2007-12-01 12:16:28 -08:00
|
|
|
config X86_32
|
2008-08-23 17:00:34 -04:00
|
|
|
def_bool !64BIT
|
|
|
|
select HAVE_AOUT
|
2012-09-27 20:10:57 +02:00
|
|
|
select ARCH_WANT_IPC_PARSE_VERSION
|
2012-09-28 14:31:03 +09:30
|
|
|
select MODULES_USE_ELF_REL
|
2012-10-22 22:34:11 -04:00
|
|
|
select CLONE_BACKWARDS
|
2012-12-25 16:09:20 -05:00
|
|
|
select OLD_SIGSUSPEND3
|
2012-12-25 19:14:55 -05:00
|
|
|
select OLD_SIGACTION
|
2007-12-01 12:16:28 -08:00
|
|
|
|
2011-03-01 11:14:55 +00:00
|
|
|
config X86_64
|
|
|
|
def_bool 64BIT
|
2012-09-28 14:31:03 +09:30
|
|
|
select MODULES_USE_ELF_RELA
|
2011-03-01 11:14:55 +00:00
|
|
|
|
2013-09-27 09:44:46 +05:30
|
|
|
config ARCH_DEFCONFIG
|
|
|
|
string
|
|
|
|
default "arch/um/configs/i386_defconfig" if X86_32
|
|
|
|
default "arch/um/configs/x86_64_defconfig" if X86_64
|
|
|
|
|
2007-12-01 12:16:28 -08:00
|
|
|
config RWSEM_XCHGADD_ALGORITHM
|
2012-11-28 11:50:25 -08:00
|
|
|
def_bool 64BIT
|
2007-12-01 12:16:28 -08:00
|
|
|
|
2008-08-23 17:00:34 -04:00
|
|
|
config RWSEM_GENERIC_SPINLOCK
|
2011-05-23 22:51:33 +02:00
|
|
|
def_bool !RWSEM_XCHGADD_ALGORITHM
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
config 3_LEVEL_PGTABLES
|
2012-10-02 11:16:48 -07:00
|
|
|
bool "Three-level pagetables" if !64BIT
|
2008-08-23 17:00:34 -04:00
|
|
|
default 64BIT
|
2005-04-16 15:20:36 -07:00
|
|
|
help
|
|
|
|
Three-level pagetables will let UML have more than 4G of physical
|
|
|
|
memory. All the memory that can't be mapped directly will be treated
|
|
|
|
as high memory.
|
|
|
|
|
2006-01-18 17:42:59 -08:00
|
|
|
However, this it experimental on 32-bit architectures, so if unsure say
|
|
|
|
N (on x86-64 it's automatically enabled, instead, as it's safe there).
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
config ARCH_HAS_SC_SIGNALS
|
2008-08-23 17:00:34 -04:00
|
|
|
def_bool !64BIT
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
config ARCH_REUSE_HOST_VSYSCALL_AREA
|
2008-08-23 17:00:34 -04:00
|
|
|
def_bool !64BIT
|
|
|
|
|
2006-03-26 01:38:59 -08:00
|
|
|
config GENERIC_HWEIGHT
|
2008-08-23 17:00:34 -04:00
|
|
|
def_bool y
|
2008-08-25 04:51:27 -04:00
|
|
|
|
|
|
|
source "arch/um/Kconfig.um"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
source "arch/um/Kconfig.rest"
|