]> Git Repo - linux.git/blame - arch/um/Kconfig
uml: GENERIC_TIME support
[linux.git] / arch / um / Kconfig
CommitLineData
b2670eac
PBG
1config DEFCONFIG_LIST
2 string
3 option defconfig_list
4 default "arch/$ARCH/defconfig"
5
1da177e4
LT
6# UML uses the generic IRQ sugsystem
7config GENERIC_HARDIRQS
8 bool
9 default y
10
11config UML
12 bool
13 default y
14
1da177e4
LT
15config MMU
16 bool
17 default y
18
5ea81769
AV
19config NO_IOMEM
20 def_bool y
21
1da177e4
LT
22mainmenu "Linux/Usermode Kernel Configuration"
23
24config ISA
25 bool
26
27config SBUS
28 bool
29
30config PCI
31 bool
32
694a464e
AV
33config PCMCIA
34 bool
35
711553ef
PBG
36# Yet to do!
37config TRACE_IRQFLAGS_SUPPORT
38 bool
39 default n
40
41config LOCKDEP_SUPPORT
42 bool
43 default y
44
45config STACKTRACE_SUPPORT
46 bool
6df0187e 47 default n
711553ef 48
1da177e4
LT
49config GENERIC_CALIBRATE_DELAY
50 bool
51 default y
52
e182c965
JD
53config GENERIC_BUG
54 bool
55 default y
56 depends on BUG
57
d83d2aa9
JD
58config GENERIC_TIME
59 bool
60 default y
61
b77d6adc
PBG
62# Used in kernel/irq/manage.c and include/linux/irq.h
63config IRQ_RELEASE_METHOD
64 bool
65 default y
66
1da177e4
LT
67menu "UML-specific options"
68
1da177e4
LT
69config STATIC_LINK
70 bool "Force a static link"
71 default n
1da177e4 72 help
4c9e1385
JD
73 This option gives you the ability to force a static link of UML.
74 Normally, UML is linked as a shared binary. This is inconvenient for
75 use in a chroot jail. So, if you intend to run UML inside a chroot,
76 you probably want to say Y here.
77 Additionally, this option enables using higher memory spaces (up to
78 2.75G) for UML.
1da177e4 79
08b178eb 80source "arch/um/Kconfig.arch"
3f22ab27 81source "mm/Kconfig"
d83d2aa9 82source "kernel/time/Kconfig"
1da177e4
LT
83
84config LD_SCRIPT_STATIC
85 bool
86 default y
42fda663 87 depends on STATIC_LINK
1da177e4
LT
88
89config LD_SCRIPT_DYN
90 bool
91 default y
92 depends on !LD_SCRIPT_STATIC
93
94config NET
95 bool "Networking support"
96 help
4c9e1385
JD
97 Unless you really know what you are doing, you should say Y here.
98 The reason is that some programs need kernel networking support even
99 when running on a stand-alone machine that isn't connected to any
100 other computer. If you are upgrading from an older kernel, you
101 should consider updating your networking tools too because changes
102 in the kernel and the tools often go hand in hand. The tools are
103 contained in the package net-tools, the location and version number
104 of which are given in <file:Documentation/Changes>.
1da177e4 105
4c9e1385
JD
106 For a general introduction to Linux networking, it is highly
107 recommended to read the NET-HOWTO, available from
108 <http://www.tldp.org/docs.html#howto>.
1da177e4
LT
109
110
111source "fs/Kconfig.binfmt"
112
113config HOSTFS
114 tristate "Host filesystem"
115 help
4c9e1385
JD
116 While the User-Mode Linux port uses its own root file system for
117 booting and normal file access, this module lets the UML user
118 access files stored on the host. It does not require any
119 network connection between the Host and UML. An example use of
120 this might be:
1da177e4 121
4c9e1385 122 mount none /tmp/fromhost -t hostfs -o /tmp/umlshare
1da177e4 123
4c9e1385
JD
124 where /tmp/fromhost is an empty directory inside UML and
125 /tmp/umlshare is a directory on the host with files the UML user
126 wishes to access.
1da177e4 127
4c9e1385
JD
128 For more information, see
129 <http://user-mode-linux.sourceforge.net/hostfs.html>.
1da177e4 130
4c9e1385
JD
131 If you'd like to be able to work with files stored on the host,
132 say Y or M here; otherwise say N.
1da177e4
LT
133
134config HPPFS
135 tristate "HoneyPot ProcFS (EXPERIMENTAL)"
ce2d2aed 136 depends on EXPERIMENTAL
1da177e4 137 help
4c9e1385
JD
138 hppfs (HoneyPot ProcFS) is a filesystem which allows UML /proc
139 entries to be overridden, removed, or fabricated from the host.
140 Its purpose is to allow a UML to appear to be a physical machine
141 by removing or changing anything in /proc which gives away the
142 identity of a UML.
1da177e4 143
4c9e1385 144 See <http://user-mode-linux.sf.net/hppfs.html> for more information.
1da177e4 145
4c9e1385
JD
146 You only need this if you are setting up a UML honeypot. Otherwise,
147 it is safe to say 'N' here.
1da177e4 148
1da177e4
LT
149config MCONSOLE
150 bool "Management console"
151 default y
152 help
4c9e1385
JD
153 The user mode linux management console is a low-level interface to
154 the kernel, somewhat like the i386 SysRq interface. Since there is
155 a full-blown operating system running under every user mode linux
156 instance, there is much greater flexibility possible than with the
157 SysRq mechanism.
1da177e4 158
4c9e1385
JD
159 If you answer 'Y' to this option, to use this feature, you need the
160 mconsole client (called uml_mconsole) which is present in CVS in
161 2.4.5-9um and later (path /tools/mconsole), and is also in the
162 distribution RPM package in 2.4.6 and later.
1da177e4 163
4c9e1385 164 It is safe to say 'Y' here.
1da177e4
LT
165
166config MAGIC_SYSRQ
167 bool "Magic SysRq key"
168 depends on MCONSOLE
4c9e1385
JD
169 help
170 If you say Y here, you will have some control over the system even
171 if the system crashes for example during kernel debugging (e.g., you
172 will be able to flush the buffer cache to disk, reboot the system
173 immediately or dump some status information). A key for each of the
174 possible requests is provided.
1da177e4 175
4c9e1385
JD
176 This is the feature normally accomplished by pressing a key
177 while holding SysRq (Alt+PrintScreen).
1da177e4 178
4c9e1385
JD
179 On UML, this is accomplished by sending a "sysrq" command with
180 mconsole, followed by the letter for the requested command.
1da177e4 181
4c9e1385
JD
182 The keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
183 unless you really know what this hack does.
1da177e4 184
1da177e4
LT
185config SMP
186 bool "Symmetric multi-processing support (EXPERIMENTAL)"
187 default n
3b8d108a 188 #SMP_BROKEN is for x86_64.
42fda663 189 depends on EXPERIMENTAL && (!SMP_BROKEN || (BROKEN && SMP_BROKEN))
1da177e4 190 help
4c9e1385
JD
191 This option enables UML SMP support.
192 It is NOT related to having a real SMP box. Not directly, at least.
1da177e4 193
4c9e1385
JD
194 UML implements virtual SMP by allowing as many processes to run
195 simultaneously on the host as there are virtual processors configured.
1da177e4 196
4c9e1385
JD
197 Obviously, if the host is a uniprocessor, those processes will
198 timeshare, but, inside UML, will appear to be running simultaneously.
199 If the host is a multiprocessor, then UML processes may run
200 simultaneously, depending on the host scheduler.
1da177e4 201
4c9e1385
JD
202 This, however, is supported only in TT mode. So, if you use the SKAS
203 patch on your host, switching to TT mode and enabling SMP usually
204 gives you worse performances.
205 Also, since the support for SMP has been under-developed, there could
206 be some bugs being exposed by enabling SMP.
1da177e4 207
4c9e1385 208 If you don't know what to do, say N.
1da177e4
LT
209
210config NR_CPUS
211 int "Maximum number of CPUs (2-32)"
212 range 2 32
213 depends on SMP
214 default "32"
215
216config NEST_LEVEL
217 int "Nesting level"
218 default "0"
219 help
4c9e1385
JD
220 This is set to the number of layers of UMLs that this UML will be run
221 in. Normally, this is zero, meaning that it will run directly on the
222 host. Setting it to one will build a UML that can run inside a UML
223 that is running on the host. Generally, if you intend this UML to run
224 inside another UML, set CONFIG_NEST_LEVEL to one more than the host
225 UML.
1da177e4 226
1da177e4 227config HIGHMEM
ce2d2aed
PBG
228 bool "Highmem support (EXPERIMENTAL)"
229 depends on !64BIT && EXPERIMENTAL
230 default n
231 help
4c9e1385
JD
232 This was used to allow UML to run with big amounts of memory.
233 Currently it is unstable, so if unsure say N.
ce2d2aed 234
4c9e1385
JD
235 To use big amounts of memory, it is recommended enable static
236 linking (i.e. CONFIG_STATIC_LINK) - this should allow the
237 guest to use up to 2.75G of memory.
1da177e4
LT
238
239config KERNEL_STACK_ORDER
240 int "Kernel stack size order"
02239c29 241 default 1 if 64BIT
e80ad9b6 242 range 1 10 if 64BIT
02239c29 243 default 0 if !64BIT
1da177e4 244 help
4c9e1385
JD
245 This option determines the size of UML kernel stacks. They will
246 be 1 << order pages. The default is OK unless you're running Valgrind
247 on UML, in which case, set this to 3.
1da177e4
LT
248
249config UML_REAL_TIME_CLOCK
250 bool "Real-time Clock"
251 default y
252 help
4c9e1385
JD
253 This option makes UML time deltas match wall clock deltas. This
254 should normally be enabled. The exception would be if you are
255 debugging with UML and spend long times with UML stopped at a
256 breakpoint. In this case, when UML is restarted, it will call the
257 timer enough times to make up for the time spent at the breakpoint.
258 This could result in a noticeable lag. If this is a problem, then
259 disable this option.
1da177e4
LT
260
261endmenu
262
263source "init/Kconfig"
264
ce2d2aed 265source "drivers/block/Kconfig"
1da177e4 266
08b178eb 267source "arch/um/Kconfig.char"
1da177e4 268
ce2d2aed 269source "drivers/base/Kconfig"
1da177e4 270
ce2d2aed 271source "net/Kconfig"
1da177e4 272
08b178eb 273source "arch/um/Kconfig.net"
1da177e4 274
d5950b43 275source "drivers/net/Kconfig"
1da177e4 276
76c842d8
PBG
277source "drivers/connector/Kconfig"
278
1da177e4
LT
279source "fs/Kconfig"
280
281source "security/Kconfig"
282
283source "crypto/Kconfig"
284
285source "lib/Kconfig"
286
0ff56383 287source "drivers/scsi/Kconfig"
1da177e4
LT
288
289source "drivers/md/Kconfig"
290
291if BROKEN
292 source "drivers/mtd/Kconfig"
293endif
294
295#This is just to shut up some Kconfig warnings, so no prompt.
296config INPUT
297 bool
298 default n
299
300source "arch/um/Kconfig.debug"
This page took 0.396063 seconds and 4 git commands to generate.