blob: d6cffb27fff8159b255177a09ac68e1899fd0d01 [file] [log] [blame]
Paolo 'Blaisorblade' Giarrusso85977372005-11-13 16:07:06 -08001menu "Host processor type and features"
2
3source "arch/i386/Kconfig.cpu"
4
5endmenu
6
Paolo 'Blaisorblade' Giarrussoc45166be32005-05-01 08:58:54 -07007config UML_X86
8 bool
9 default y
10
11config 64BIT
Linus Torvalds1da177e2005-04-16 15:20:36 -070012 bool
13 default n
14
Benjamin LaHaise52fdd082005-09-03 15:56:52 -070015config SEMAPHORE_SLEEPERS
16 bool
17 default y
18
Paolo 'Blaisorblade' Giarrussoc21be1c2006-10-11 01:21:42 -070019choice
20 prompt "Host memory split"
21 default HOST_VMSPLIT_3G
Jeff Dikefe33f6f2007-01-26 00:57:12 -080022 help
23 This is needed when the host kernel on which you run has a non-default
24 (like 2G/2G) memory split, instead of the customary 3G/1G. If you did
25 not recompile your own kernel but use the default distro's one, you can
26 safely accept the "Default split" option.
Joris van Rantwijk893bb962006-05-01 12:15:56 -070027
Jeff Dikefe33f6f2007-01-26 00:57:12 -080028 It can be enabled on recent (>=2.6.16-rc2) vanilla kernels via
29 CONFIG_VM_SPLIT_*, or on previous kernels with special patches (-ck
30 patchset by Con Kolivas, or other ones) - option names match closely the
31 host CONFIG_VM_SPLIT_* ones.
Joris van Rantwijk893bb962006-05-01 12:15:56 -070032
Jeff Dikefe33f6f2007-01-26 00:57:12 -080033 A lower setting (where 1G/3G is lowest and 3G/1G is higher) will
34 tolerate even more "normal" host kernels, but an higher setting will be
35 stricter.
Paolo 'Blaisorblade' Giarrussoc21be1c2006-10-11 01:21:42 -070036
Jeff Dikefe33f6f2007-01-26 00:57:12 -080037 So, if you do not know what to do here, say 'Default split'.
Paolo 'Blaisorblade' Giarrussoc21be1c2006-10-11 01:21:42 -070038
Al Virob20c8452007-01-30 13:23:40 +000039config HOST_VMSPLIT_3G
40 bool "Default split (3G/1G user/kernel host split)"
41config HOST_VMSPLIT_3G_OPT
42 bool "3G/1G user/kernel host split (for full 1G low memory)"
43config HOST_VMSPLIT_2G
44 bool "2G/2G user/kernel host split"
45config HOST_VMSPLIT_1G
46 bool "1G/3G user/kernel host split"
Paolo 'Blaisorblade' Giarrussoc21be1c2006-10-11 01:21:42 -070047endchoice
Joris van Rantwijk893bb962006-05-01 12:15:56 -070048
Linus Torvalds1da177e2005-04-16 15:20:36 -070049config TOP_ADDR
Paolo 'Blaisorblade' Giarrussoc21be1c2006-10-11 01:21:42 -070050 hex
51 default 0xB0000000 if HOST_VMSPLIT_3G_OPT
52 default 0x78000000 if HOST_VMSPLIT_2G
53 default 0x40000000 if HOST_VMSPLIT_1G
54 default 0xC0000000
Linus Torvalds1da177e2005-04-16 15:20:36 -070055
56config 3_LEVEL_PGTABLES
Paolo 'Blaisorblade' Giarrussoce2d2ae2006-01-18 17:42:59 -080057 bool "Three-level pagetables (EXPERIMENTAL)"
Linus Torvalds1da177e2005-04-16 15:20:36 -070058 default n
Paolo 'Blaisorblade' Giarrussoce2d2ae2006-01-18 17:42:59 -080059 depends on EXPERIMENTAL
Linus Torvalds1da177e2005-04-16 15:20:36 -070060 help
61 Three-level pagetables will let UML have more than 4G of physical
62 memory. All the memory that can't be mapped directly will be treated
63 as high memory.
64
Paolo 'Blaisorblade' Giarrussoce2d2ae2006-01-18 17:42:59 -080065 However, this it experimental on 32-bit architectures, so if unsure say
66 N (on x86-64 it's automatically enabled, instead, as it's safe there).
67
Jeff Diked67b5692005-07-07 17:56:49 -070068config STUB_CODE
69 hex
Jeff Dikefe33f6f2007-01-26 00:57:12 -080070 default 0xbfffe000 if !HOST_VMSPLIT_2G
71 default 0x7fffe000 if HOST_VMSPLIT_2G
Jeff Diked67b5692005-07-07 17:56:49 -070072
73config STUB_DATA
74 hex
Jeff Dikefe33f6f2007-01-26 00:57:12 -080075 default 0xbffff000 if !HOST_VMSPLIT_2G
76 default 0x7ffff000 if HOST_VMSPLIT_2G
Jeff Diked67b5692005-07-07 17:56:49 -070077
78config STUB_START
79 hex
80 default STUB_CODE
81
Linus Torvalds1da177e2005-04-16 15:20:36 -070082config ARCH_HAS_SC_SIGNALS
83 bool
84 default y
85
86config ARCH_REUSE_HOST_VSYSCALL_AREA
87 bool
88 default y
Akinobu Mitaf214ef32006-03-26 01:38:59 -080089
90config GENERIC_HWEIGHT
91 bool
92 default y
93