2011-07-26 08:12:48 +08:00
|
|
|
mainmenu "User Mode Linux/$SUBARCH $KERNELVERSION Kernel Configuration"
|
|
|
|
|
2008-08-25 16:51:27 +08:00
|
|
|
source "arch/um/Kconfig.common"
|
|
|
|
|
|
|
|
menu "UML-specific options"
|
|
|
|
|
2005-11-14 08:07:06 +08:00
|
|
|
menu "Host processor type and features"
|
|
|
|
|
2011-04-15 06:22:18 +08:00
|
|
|
config CMPXCHG_LOCAL
|
|
|
|
bool
|
|
|
|
default n
|
2011-09-15 07:21:08 +08:00
|
|
|
|
|
|
|
config CMPXCHG_DOUBLE
|
|
|
|
bool
|
|
|
|
default n
|
2011-04-15 06:22:18 +08:00
|
|
|
|
2007-10-29 12:34:31 +08:00
|
|
|
source "arch/x86/Kconfig.cpu"
|
2005-11-14 08:07:06 +08:00
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2005-05-01 23:58:54 +08:00
|
|
|
config UML_X86
|
2008-08-24 05:00:34 +08:00
|
|
|
def_bool y
|
2011-03-08 17:24:26 +08:00
|
|
|
select GENERIC_FIND_FIRST_BIT
|
2008-08-24 05:00:34 +08:00
|
|
|
|
|
|
|
config 64BIT
|
2005-05-01 23:58:54 +08:00
|
|
|
bool
|
2008-08-24 05:00:34 +08:00
|
|
|
default SUBARCH = "x86_64"
|
2005-05-01 23:58:54 +08:00
|
|
|
|
2007-12-02 04:16:28 +08:00
|
|
|
config X86_32
|
2008-08-24 05:00:34 +08:00
|
|
|
def_bool !64BIT
|
|
|
|
select HAVE_AOUT
|
2007-12-02 04:16:28 +08:00
|
|
|
|
2011-03-01 19:14:55 +08:00
|
|
|
config X86_64
|
|
|
|
def_bool 64BIT
|
|
|
|
|
2007-12-02 04:16:28 +08:00
|
|
|
config RWSEM_XCHGADD_ALGORITHM
|
2011-05-24 04:51:33 +08:00
|
|
|
def_bool X86_XADD && 64BIT
|
2007-12-02 04:16:28 +08:00
|
|
|
|
2008-08-24 05:00:34 +08:00
|
|
|
config RWSEM_GENERIC_SPINLOCK
|
2011-05-24 04:51:33 +08:00
|
|
|
def_bool !RWSEM_XCHGADD_ALGORITHM
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
config 3_LEVEL_PGTABLES
|
2008-08-24 05:00:34 +08:00
|
|
|
bool "Three-level pagetables (EXPERIMENTAL)" if !64BIT
|
|
|
|
default 64BIT
|
2006-01-19 09:42:59 +08:00
|
|
|
depends on EXPERIMENTAL
|
2005-04-17 06:20:36 +08: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-19 09: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-17 06:20:36 +08:00
|
|
|
config ARCH_HAS_SC_SIGNALS
|
2008-08-24 05:00:34 +08:00
|
|
|
def_bool !64BIT
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
config ARCH_REUSE_HOST_VSYSCALL_AREA
|
2008-08-24 05:00:34 +08:00
|
|
|
def_bool !64BIT
|
|
|
|
|
|
|
|
config SMP_BROKEN
|
|
|
|
def_bool 64BIT
|
2006-03-26 17:38:59 +08:00
|
|
|
|
|
|
|
config GENERIC_HWEIGHT
|
2008-08-24 05:00:34 +08:00
|
|
|
def_bool y
|
2008-08-25 16:51:27 +08:00
|
|
|
|
|
|
|
source "arch/um/Kconfig.um"
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
source "arch/um/Kconfig.rest"
|