blob: 717f5d3440e3bc89c784fa1cd1d930fbbde78844 [file] [log] [blame]
Paolo 'Blaisorblade' Giarrusso85977372005-11-13 16:07:06 -08001menu "Host processor type and features"
2
Al Viro7a78a172007-10-29 04:34:31 +00003source "arch/x86/Kconfig.cpu"
Paolo 'Blaisorblade' Giarrusso85977372005-11-13 16:07:06 -08004
5endmenu
6
Paolo 'Blaisorblade' Giarrussoc45166be32005-05-01 08:58:54 -07007config UML_X86
8 bool
9 default y
10
Jeff Dike54d67ee2007-12-01 12:16:28 -080011config X86_32
12 bool
13 default y
14
15config RWSEM_XCHGADD_ALGORITHM
16 def_bool y
17
Paolo 'Blaisorblade' Giarrussoc45166be32005-05-01 08:58:54 -070018config 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -070019 bool
20 default n
21
Benjamin LaHaise52fdd082005-09-03 15:56:52 -070022config SEMAPHORE_SLEEPERS
23 bool
24 default y
25
Paolo 'Blaisorblade' Giarrussoc21be1c2006-10-11 01:21:42 -070026choice
27 prompt "Host memory split"
28 default HOST_VMSPLIT_3G
Jeff Dikefe33f6f2007-01-26 00:57:12 -080029 help
30 This is needed when the host kernel on which you run has a non-default
31 (like 2G/2G) memory split, instead of the customary 3G/1G. If you did
32 not recompile your own kernel but use the default distro's one, you can
33 safely accept the "Default split" option.
Joris van Rantwijk893bb962006-05-01 12:15:56 -070034
Jeff Dikefe33f6f2007-01-26 00:57:12 -080035 It can be enabled on recent (>=2.6.16-rc2) vanilla kernels via
36 CONFIG_VM_SPLIT_*, or on previous kernels with special patches (-ck
37 patchset by Con Kolivas, or other ones) - option names match closely the
38 host CONFIG_VM_SPLIT_* ones.
Joris van Rantwijk893bb962006-05-01 12:15:56 -070039
Jeff Dikefe33f6f2007-01-26 00:57:12 -080040 A lower setting (where 1G/3G is lowest and 3G/1G is higher) will
41 tolerate even more "normal" host kernels, but an higher setting will be
42 stricter.
Paolo 'Blaisorblade' Giarrussoc21be1c2006-10-11 01:21:42 -070043
Jeff Dikefe33f6f2007-01-26 00:57:12 -080044 So, if you do not know what to do here, say 'Default split'.
Paolo 'Blaisorblade' Giarrussoc21be1c2006-10-11 01:21:42 -070045
Al Virob20c8452007-01-30 13:23:40 +000046config HOST_VMSPLIT_3G
47 bool "Default split (3G/1G user/kernel host split)"
48config HOST_VMSPLIT_3G_OPT
49 bool "3G/1G user/kernel host split (for full 1G low memory)"
50config HOST_VMSPLIT_2G
51 bool "2G/2G user/kernel host split"
52config HOST_VMSPLIT_1G
53 bool "1G/3G user/kernel host split"
Paolo 'Blaisorblade' Giarrussoc21be1c2006-10-11 01:21:42 -070054endchoice
Joris van Rantwijk893bb962006-05-01 12:15:56 -070055
Linus Torvalds1da177e2005-04-16 15:20:36 -070056config TOP_ADDR
Paolo 'Blaisorblade' Giarrussoc21be1c2006-10-11 01:21:42 -070057 hex
58 default 0xB0000000 if HOST_VMSPLIT_3G_OPT
59 default 0x78000000 if HOST_VMSPLIT_2G
60 default 0x40000000 if HOST_VMSPLIT_1G
61 default 0xC0000000
Linus Torvalds1da177e2005-04-16 15:20:36 -070062
63config 3_LEVEL_PGTABLES
Paolo 'Blaisorblade' Giarrussoce2d2ae2006-01-18 17:42:59 -080064 bool "Three-level pagetables (EXPERIMENTAL)"
Linus Torvalds1da177e2005-04-16 15:20:36 -070065 default n
Paolo 'Blaisorblade' Giarrussoce2d2ae2006-01-18 17:42:59 -080066 depends on EXPERIMENTAL
Linus Torvalds1da177e2005-04-16 15:20:36 -070067 help
68 Three-level pagetables will let UML have more than 4G of physical
69 memory. All the memory that can't be mapped directly will be treated
70 as high memory.
71
Paolo 'Blaisorblade' Giarrussoce2d2ae2006-01-18 17:42:59 -080072 However, this it experimental on 32-bit architectures, so if unsure say
73 N (on x86-64 it's automatically enabled, instead, as it's safe there).
74
Linus Torvalds1da177e2005-04-16 15:20:36 -070075config ARCH_HAS_SC_SIGNALS
76 bool
77 default y
78
79config ARCH_REUSE_HOST_VSYSCALL_AREA
80 bool
81 default y
Akinobu Mitaf214ef32006-03-26 01:38:59 -080082
83config GENERIC_HWEIGHT
84 bool
85 default y
86