source: mainline/HelenOS.config@ eb79d60

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since eb79d60 was 69b68d1f, checked in by Pavel Rimsky <pavel@…>, 16 years ago

Kernel input driver implemented, now the kconsole is usable.

  • Property mode set to 100644
File size: 12.9 KB
Line 
1#
2# Copyright (c) 2006 Ondrej Palkovsky
3# Copyright (c) 2009 Martin Decky
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:
9#
10# - Redistributions of source code must retain the above copyright
11# notice, this list of conditions and the following disclaimer.
12# - Redistributions in binary form must reproduce the above copyright
13# notice, this list of conditions and the following disclaimer in the
14# documentation and/or other materials provided with the distribution.
15# - The name of the author may not be used to endorse or promote products
16# derived from this software without specific prior written permission.
17#
18# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
19# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
20# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
22# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28#
29
30## General platform options
31
32% Platform
33@ "amd64" AMD64/Intel EM64T (PC)
34@ "arm32" ARM 32-bit
35@ "ia32" Intel IA-32 (PC)
36@ "ia64" Intel IA-64
37@ "mips32" MIPS 32-bit
38@ "ppc32" PowerPC 32-bit (iMac G4)
39@ "sparc64" Sun UltraSPARC 64-bit
40! PLATFORM (choice)
41
42% Machine type
43@ "msim" MSIM
44@ "bgxemul" GXEmul big endian
45@ "lgxemul" GXEmul little endian
46! [PLATFORM=mips32] MACHINE (choice)
47
48% Machine type
49@ "i460GX" i460GX chipset machine
50@ "ski" Ski ia64 simulator
51! [PLATFORM=ia64] MACHINE (choice)
52
53% Machine type
54@ "generic" Generic Sun workstation or server
55@ "serengeti" Serengeti system
56! [PLATFORM=sparc64] MACHINE (choice)
57
58% Machine type
59@ "testarm" GXEmul Testarm
60@ "integratorcp" Integratorcp
61! [PLATFORM=arm32] MACHINE (choice)
62
63% CPU type
64@ "pentium4" Pentium 4
65@ "pentium3" Pentium 3
66@ "core" Core Solo/Duo
67@ "athlon_xp" Athlon XP
68@ "athlon_mp" Athlon MP
69! [PLATFORM=ia32] PROCESSOR (choice)
70
71% CPU type
72@ "opteron" Opteron
73! [PLATFORM=amd64] PROCESSOR (choice)
74
75% CPU type
76@ "us" UltraSPARC I-II subarchitecture
77@ "us3" UltraSPARC III-IV subarchitecture
78@ "sun4v" Niagara (sun4v)
79! [PLATFORM=sparc64&MACHINE=generic] PROCESSOR (choice)
80
81% CPU type
82@ "us3"
83! [PLATFORM=sparc64&MACHINE=serengeti] PROCESSOR (choice)
84
85% RAM disk format
86@ "tmpfs" TMPFS image
87@ "fat" FAT16 image
88! RDFMT (choice)
89
90
91## Mapping between platform and kernel architecture
92
93% Kernel architecture
94@ "amd64"
95! [PLATFORM=amd64] KARCH (choice)
96
97% Kernel architecture
98@ "arm32"
99! [PLATFORM=arm32] KARCH (choice)
100
101% Kernel architecture
102@ "ia32"
103! [PLATFORM=ia32] KARCH (choice)
104
105% Kernel architecture
106@ "ia32xen"
107! [PLATFORM=ia32xen] KARCH (choice)
108
109% Kernel architecture
110@ "ia64"
111! [PLATFORM=ia64] KARCH (choice)
112
113% Kernel architecture
114@ "mips32"
115! [PLATFORM=mips32] KARCH (choice)
116
117% Kernel architecture
118@ "ppc32"
119! [PLATFORM=ppc32] KARCH (choice)
120
121% Kernel architecture
122@ "ppc64"
123! [PLATFORM=ppc64] KARCH (choice)
124
125% Kernel architecture
126@ "sparc64"
127! [PLATFORM=sparc64] KARCH (choice)
128
129
130## Mapping between platform and user space architecture
131
132% User space architecture
133@ "amd64"
134! [PLATFORM=amd64] UARCH (choice)
135
136% User space architecture
137@ "arm32"
138! [PLATFORM=arm32] UARCH (choice)
139
140% User space architecture
141@ "ia32"
142! [PLATFORM=ia32|PLATFORM=ia32xen] UARCH (choice)
143
144% User space architecture
145@ "ia64"
146! [PLATFORM=ia64] UARCH (choice)
147
148% User space architecture
149@ "mips32"
150! [PLATFORM=mips32&(MACHINE=msim|MACHINE=lgxemul)] UARCH (choice)
151
152% User space architecture
153@ "mips32eb"
154! [PLATFORM=mips32&MACHINE=bgxemul] UARCH (choice)
155
156% User space architecture
157@ "ppc32"
158! [PLATFORM=ppc32] UARCH (choice)
159
160% User space architecture
161@ "ppc64"
162! [PLATFORM=ppc64] UARCH (choice)
163
164% User space architecture
165@ "sparc64"
166! [PLATFORM=sparc64] UARCH (choice)
167
168
169## Mapping between platform and boot architecture
170
171% Boot architecture
172@ "amd64"
173! [PLATFORM=amd64] BARCH (choice)
174
175% Boot architecture
176@ "arm32"
177! [PLATFORM=arm32] BARCH (choice)
178
179% Boot architecture
180@ "ia32"
181! [PLATFORM=ia32] BARCH (choice)
182
183% Boot architecture
184@ "ia32xen"
185! [PLATFORM=ia32xen] BARCH (choice)
186
187% Boot architecture
188@ "ia64"
189! [PLATFORM=ia64] BARCH (choice)
190
191% Boot architecture
192@ "mips32"
193! [PLATFORM=mips32] BARCH (choice)
194
195% Boot architecture
196@ "ppc32"
197! [PLATFORM=ppc32] BARCH (choice)
198
199% Boot architecture
200@ "ppc64"
201! [PLATFORM=ppc64] BARCH (choice)
202
203% Boot architecture
204@ "sparc64"
205! [PLATFORM=sparc64] BARCH (choice)
206
207
208## Mapping between platform and image format
209
210% Image format
211@ "binary"
212! [PLATFORM=mips32&MACHINE=msim] IMAGE (choice)
213
214% Image format
215@ "ecoff"
216! [PLATFORM=mips32&(MACHINE=bgxemul|MACHINE=lgxemul)] IMAGE (choice)
217
218
219## Compiler options
220
221% Compiler
222@ "gcc_cross" GNU C Compiler (cross-compiler)
223@ "gcc_native" GNU C Compiler (native)
224@ "icc" Intel C Compiler
225@ "suncc" Sun Studio C Compiler
226@ "clang" Clang
227! [PLATFORM=amd64|PLATFORM=ia32] COMPILER (choice)
228
229% Compiler
230@ "gcc_cross" GNU C Compiler (cross-compiler)
231@ "gcc_native" GNU C Compiler (native)
232@ "icc" Intel C Compiler
233! [PLATFORM=ia64] COMPILER (choice)
234
235% Compiler
236@ "gcc_cross" GNU C Compiler (cross-compiler)
237@ "gcc_native" GNU C Compiler (native)
238@ "suncc" Sun Studio C Compiler
239! [PLATFORM=sparc64] COMPILER (choice)
240
241% Compiler
242@ "gcc_cross" GNU C Compiler (cross-compiler)
243@ "gcc_native" GNU C Compiler (native)
244! [PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32] COMPILER (choice)
245
246
247## Kernel configuration
248
249% Fences
250! [PLATFORM=ia32&(PROCESSOR=athlon_xp|PROCESSOR=athlon_mp|PROCESSOR=pentium3)] CONFIG_FENCES_P3 (y)
251
252% Fences
253! [PLATFORM=ia32&(PROCESSOR=pentium4|PROCESSOR=core)] CONFIG_FENCES_P4 (y)
254
255% Fences
256! [PLATFORM=amd64] CONFIG_FENCES_P4 (y)
257
258% ACPI support
259! [PLATFORM=ia32|PLATFORM=amd64] CONFIG_ACPI (y)
260
261% Hierarchical page tables support
262! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32] CONFIG_PAGE_PT (y)
263
264% Page hash table support
265! [PLATFORM=ia64|PLATFORM=sparc64] CONFIG_PAGE_HT (y)
266
267% Software integer division support
268! [PLATFORM=ia32|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32] CONFIG_SOFTINT (y)
269
270% ASID support
271! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_ASID (y)
272
273% ASID FIFO support
274! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_ASID_FIFO (y)
275
276% OpenFirmware tree support
277! [PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_OFW_TREE (y)
278
279% OpenFirmware PCI bus support
280! [PLATFORM=sparc64] CONFIG_OFW_PCI (y)
281
282% Multiboot standard support
283! [PLATFORM=ia32|PLATFORM=amd64] CONFIG_MULTIBOOT (y)
284
285% FPU support
286! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ia64|PLATFORM=sparc64] CONFIG_FPU (y)
287
288% FPU support
289! [PLATFORM=mips32&(MACHINE=lgxemul|MACHINE=bgxemul)] CONFIG_FPU (y)
290
291
292## Kernel features options
293
294% Support for SMP
295! [(PLATFORM=ia32&PROCESSOR!=athlon_xp)|PLATFORM=amd64|PLATFORM=sparc64|PLATFORM=ia64|(PLATFORM=mips32&MACHINE=msim)] CONFIG_SMP (y/n)
296
297% Debug build
298! CONFIG_DEBUG (y/n)
299
300% Deadlock detection support for spinlocks
301! [CONFIG_DEBUG=y&CONFIG_SMP=y] CONFIG_DEBUG_SPINLOCK (y/n)
302
303% Lazy FPU context switching
304! [CONFIG_FPU=y] CONFIG_FPU_LAZY (y/n)
305
306% Use VHPT
307! [PLATFORM=ia64] CONFIG_VHPT (n/y)
308
309% Use TSB
310! [PLATFORM=sparc64] CONFIG_TSB (y/n)
311
312% IO SAPIC on default address support
313! [PLATFORM=ia64&MACHINE!=ski] CONFIG_IOSAPIC (y/n)
314
315% Virtually indexed D-cache support
316! [PLATFORM=sparc64] CONFIG_VIRT_IDX_DCACHE (y/n)
317
318% Support for userspace debuggers
319! CONFIG_UDEBUG (y/n)
320
321% Kernel console support
322! CONFIG_KCONSOLE (y/n)
323
324% Kernel symbol information
325! CONFIG_SYMTAB (y/n)
326
327% Detailed kernel logging
328! CONFIG_LOG (n/y)
329
330% Compile kernel tests
331! CONFIG_TEST (y/n)
332
333
334## Hardware support
335
336% Input device class
337@ "generic" Keyboard or serial line
338! [PLATFORM=arm32&MACHINE=integratorcp] CONFIG_HID_IN (choice)
339
340% Input device class
341@ "generic" Keyboard or serial line
342@ "none" No input device
343! [PLATFORM=ia32|(PLATFORM=arm32&MACHINE=testarm)|PLATFORM=amd64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_HID_IN (choice)
344
345% Input device class
346@ "generic" Keyboard or serial line
347@ "keyboard" Keyboard
348@ "serial" Serial line
349@ "none" No input device
350! [PLATFORM=ia64&MACHINE=i460GX] CONFIG_HID_IN (choice)
351
352% Output device class
353@ "generic" Monitor or serial line
354! [PLATFORM=arm32&MACHINE=integratorcp] CONFIG_HID_OUT (choice)
355
356% Output device class
357@ "generic" Monitor or serial line
358@ "none" No output device
359! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=sparc64|PLATFORM=ppc32|(PLATFORM=ia64&MACHINE=i460GX)|(PLATFORM=mips32&MACHINE=msim)] CONFIG_HID_OUT (choice)
360
361% Output device class
362@ "generic" Monitor or serial line
363@ "monitor" Monitor
364@ "serial" Serial line
365@ "none" No output device
366! [PLATFORM=mips32&(MACHINE=bgxemul|MACHINE=lgxemul)] CONFIG_HID_OUT (choice)
367
368% Output device class
369@ "generic" Monitor or serial line
370@ "monitor" Monitor
371@ "serial" Serial line
372@ "none" No output device
373! [PLATFORM=arm32&MACHINE=testarm] CONFIG_HID_OUT (choice)
374
375% PC keyboard support
376! [CONFIG_HID_IN=generic&(PLATFORM=ia32|PLATFORM=amd64)] CONFIG_PC_KBD (y/n)
377
378% PC keyboard support
379! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=ia64&MACHINE=i460GX] CONFIG_PC_KBD (y/n)
380
381% Support for msim/GXemul keyboard
382! [CONFIG_HID_IN=generic&PLATFORM=mips32] CONFIG_MIPS_KBD (y/n)
383
384% Support for msim/GXemul printer
385! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=mips32] CONFIG_MIPS_PRN (y/n)
386
387% Support for GXemul keyboard
388! [CONFIG_HID_IN=generic&PLATFORM=arm32&MACHINE=testarm] CONFIG_ARM_KBD (y/n)
389
390% Support for GXemul printer
391! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=arm32&MACHINE=testarm] CONFIG_ARM_PRN (y/n)
392
393% Support for VIA CUDA controller
394! [CONFIG_HID_IN=generic&PLATFORM=ppc32] CONFIG_VIA_CUDA (y/n)
395
396% Support for NS16550 controller
397! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=sparc64&MACHINE=generic] CONFIG_NS16550 (y/n)
398
399% Support for NS16550 controller
400! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=serial)&PLATFORM=ia64&MACHINE=i460GX] CONFIG_NS16550 (y/n)
401
402% Support for Z8530 controller
403! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=sparc64&MACHINE=generic] CONFIG_Z8530 (y/n)
404
405% Support for Serengeti console
406! [CONFIG_HID_OUT=generic&PLATFORM=sparc64&MACHINE=serengeti] CONFIG_SGCN_PRN (y/n)
407
408% Support for Serengeti keyboard
409! [CONFIG_HID_IN=generic&PLATFORM=sparc64&MACHINE=serengeti] CONFIG_SGCN_KBD (y/n)
410
411% Support for i8042 controller
412! [CONFIG_PC_KBD=y] CONFIG_I8042 (y)
413
414% Support for pl050 controller
415! [CONFIG_HID_IN=generic&PLATFORM=arm32&MACHINE=integratorcp] CONFIG_PL050 (y)
416
417% Sun keyboard support
418! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=sparc64&MACHINE=generic&(CONFIG_NS16550=y|CONFIG_Z8530=y)] CONFIG_SUN_KBD (y)
419
420% Macintosh ADB keyboard support
421! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=ppc32&(CONFIG_VIA_CUDA=y)] CONFIG_MAC_KBD (y)
422
423% Dummy serial line input
424! [CONFIG_MIPS_KBD=y|CONFIG_ARM_KBD=y] CONFIG_DSRLNIN (y)
425
426% Dummy serial line output
427! [CONFIG_MIPS_PRN=y|CONFIG_ARM_PRN=y] CONFIG_DSRLNOUT (y)
428
429% Serial line input module
430! [CONFIG_DSRLNIN=y|(PLATFORM=ia64&MACHINE=i460GX&CONFIG_NS16550=y)|(PLATFORM=ia64&MACHINE=ski)|(PLATFORM=sparc64&MACHINE=serengeti&CONFIG_SGCN_KBD=y)|(PLATFORM=sparc64&PROCESSOR=sun4v)] CONFIG_SRLN (y)
431
432% EGA support
433! [CONFIG_HID_OUT=generic&(PLATFORM=ia32|PLATFORM=amd64)] CONFIG_EGA (y/n)
434
435% EGA support
436! [CONFIG_HID_OUT=generic&PLATFORM=ia64&MACHINE=i460GX] CONFIG_EGA (y/n)
437
438% Framebuffer support
439! [CONFIG_HID_OUT=generic&(PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ppc32)] CONFIG_FB (y/n)
440
441% Framebuffer support
442! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=monitor)&PLATFORM=mips32&(MACHINE=lgxemul|MACHINE=bgxemul)] CONFIG_FB (y/n)
443
444% Framebuffer support
445! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=monitor)&PLATFORM=arm32] CONFIG_FB (y/n)
446
447% Framebuffer support
448! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=monitor)&PLATFORM=sparc64&MACHINE=generic] CONFIG_FB (y/n)
449
450% Default framebuffer mode
451@ "640x480"
452@ "800x600"
453@ "1024x768"
454@ "1152x720"
455@ "1152x864"
456@ "1280x960"
457@ "1280x1024"
458@ "1400x1050"
459@ "1440x900"
460@ "1440x1050"
461@ "1600x1200"
462@ "1920x1080"
463@ "1920x1200"
464! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_HID_OUT!=none&CONFIG_FB=y] CONFIG_VESA_MODE (choice)
465
466% Default framebuffer depth
467@ "8"
468@ "16"
469@ "24"
470! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_HID_OUT!=none&CONFIG_FB=y] CONFIG_VESA_BPP (choice)
471
472% Start AP processors by the loader
473! [PLATFORM=sparc64&CONFIG_SMP=y] CONFIG_AP (y/n)
474
475% Use Block Address Translation by the loader
476! [PLATFORM=ppc32] CONFIG_BAT (y/n)
477
478% Preserve A.OUT header in isofs.b
479! [PLATFORM=sparc64&MACHINE=generic] CONFIG_AOUT_ISOFS_B (y)
480
481% External RAM disk
482! [PLATFORM=sparc64] CONFIG_RD_EXTERNAL (y/n)
483
484% Load disk drivers on startup
485! CONFIG_START_BD (n/y)
486
487% Mount /data on startup
488! [CONFIG_START_BD=y] CONFIG_MOUNT_DATA (n/y)
Note: See TracBrowser for help on using the repository browser.