source: mainline/HelenOS.config@ a0e1b48

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since a0e1b48 was 8de4421, checked in by Martin Decky <martin@…>, 16 years ago

streamlined HID configuration
this breaks most ports except ia32, amd64 and mips32 (will be fixed ASAP)

  • Property mode set to 100644
File size: 10.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@ "gxemul" GXEmul
50! [PLATFORM=arm32] MACHINE (choice)
51
52% Machine type
53@ "i460GX" i460GX chipset machine
54@ "ski" Ski ia64 simulator
55! [PLATFORM=ia64] MACHINE (choice)
56
57% Machine type
58@ "generic" Generic Sun workstation or server
59@ "serengeti" Serengeti system
60! [PLATFORM=sparc64] MACHINE (choice)
61
62% CPU type
63@ "pentium4" Pentium 4
64@ "pentium3" Pentium 3
65@ "core" Core Solo/Duo
66@ "athlon_xp" Athlon XP
67@ "athlon_mp" Athlon MP
68! [PLATFORM=ia32] PROCESSOR (choice)
69
70% CPU type
71@ "opteron" Opteron
72! [PLATFORM=amd64] PROCESSOR (choice)
73
74% CPU type
75@ "us" UltraSPARC I-II subarchitecture
76@ "us3" UltraSPARC III-IV subarchitecture
77! [PLATFORM=sparc64&MACHINE=generic] PROCESSOR (choice)
78
79% CPU type
80@ "us3"
81! [PLATFORM=sparc64&MACHINE=serengeti] PROCESSOR (choice)
82
83% Ramdisk format
84@ "tmpfs" TMPFS image
85@ "fat" FAT16 image
86! RDFMT (choice)
87
88
89## Mapping between platform and kernel architecture
90
91% Kernel architecture
92@ "amd64"
93! [PLATFORM=amd64] KARCH (choice)
94
95% Kernel architecture
96@ "arm32"
97! [PLATFORM=arm32] KARCH (choice)
98
99% Kernel architecture
100@ "ia32"
101! [PLATFORM=ia32] KARCH (choice)
102
103% Kernel architecture
104@ "ia32xen"
105! [PLATFORM=ia32xen] KARCH (choice)
106
107% Kernel architecture
108@ "ia64"
109! [PLATFORM=ia64] KARCH (choice)
110
111% Kernel architecture
112@ "mips32"
113! [PLATFORM=mips32] KARCH (choice)
114
115% Kernel architecture
116@ "ppc32"
117! [PLATFORM=ppc32] KARCH (choice)
118
119% Kernel architecture
120@ "ppc64"
121! [PLATFORM=ppc64] KARCH (choice)
122
123% Kernel architecture
124@ "sparc64"
125! [PLATFORM=sparc64] KARCH (choice)
126
127
128## Mapping between platform and user space architecture
129
130% User space architecture
131@ "amd64"
132! [PLATFORM=amd64] UARCH (choice)
133
134% User space architecture
135@ "arm32"
136! [PLATFORM=arm32] UARCH (choice)
137
138% User space architecture
139@ "ia32"
140! [PLATFORM=ia32|PLATFORM=ia32xen] UARCH (choice)
141
142% User space architecture
143@ "ia64"
144! [PLATFORM=ia64] UARCH (choice)
145
146% User space architecture
147@ "mips32"
148! [PLATFORM=mips32&(MACHINE=msim|MACHINE=lgxemul)] UARCH (choice)
149
150% User space architecture
151@ "mips32eb"
152! [PLATFORM=mips32&MACHINE=bgxemul] UARCH (choice)
153
154% User space architecture
155@ "ppc32"
156! [PLATFORM=ppc32] UARCH (choice)
157
158% User space architecture
159@ "ppc64"
160! [PLATFORM=ppc64] UARCH (choice)
161
162% User space architecture
163@ "sparc64"
164! [PLATFORM=sparc64] UARCH (choice)
165
166
167## Mapping between platform and boot architecture
168
169% Boot architecture
170@ "amd64"
171! [PLATFORM=amd64] BARCH (choice)
172
173% Boot architecture
174@ "arm32"
175! [PLATFORM=arm32] BARCH (choice)
176
177% Boot architecture
178@ "ia32"
179! [PLATFORM=ia32] BARCH (choice)
180
181% Boot architecture
182@ "ia32xen"
183! [PLATFORM=ia32xen] BARCH (choice)
184
185% Boot architecture
186@ "ia64"
187! [PLATFORM=ia64] BARCH (choice)
188
189% Boot architecture
190@ "mips32"
191! [PLATFORM=mips32] BARCH (choice)
192
193% Boot architecture
194@ "ppc32"
195! [PLATFORM=ppc32] BARCH (choice)
196
197% Boot architecture
198@ "ppc64"
199! [PLATFORM=ppc64] BARCH (choice)
200
201% Boot architecture
202@ "sparc64"
203! [PLATFORM=sparc64] BARCH (choice)
204
205
206## Mapping between platform and image format
207
208% Image format
209@ "binary"
210! [PLATFORM=mips32&MACHINE=msim] IMAGE (choice)
211
212% Image format
213@ "ecoff"
214! [PLATFORM=mips32&(MACHINE=bgxemul|MACHINE=lgxemul)] IMAGE (choice)
215
216
217## Compiler options
218
219% Compiler
220@ "gcc_cross" GCC Cross-compiler
221@ "gcc_native" GCC Native
222@ "icc_native" ICC Native
223@ "suncc_native" Sun Studio C Compiler
224! [PLATFORM=amd64|PLATFORM=ia32] COMPILER (choice)
225
226% Compiler
227@ "gcc_cross" GCC Cross-compiler
228@ "gcc_native" GCC Native
229@ "icc_native" ICC Native
230! [PLATFORM=ia64] COMPILER (choice)
231
232% Compiler
233@ "gcc_cross" GCC Cross-compiler
234@ "gcc_native" GCC Native
235@ "suncc_native" Sun Studio C Compiler
236! [PLATFORM=sparc64] COMPILER (choice)
237
238% Compiler
239@ "gcc_cross" GCC Cross-compiler
240@ "gcc_native" GCC Native
241! [PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32] COMPILER (choice)
242
243
244## Kernel configuration
245
246% Fences
247! [PLATFORM=ia32&(PROCESSOR=athlon_xp|PROCESSOR=athlon_mp|PROCESSOR=pentium3)] CONFIG_FENCES_P3 (y)
248
249% Fences
250! [PLATFORM=ia32&(PROCESSOR=pentium4|PROCESSOR=core)] CONFIG_FENCES_P4 (y)
251
252% Fences
253! [PLATFORM=amd64] CONFIG_FENCES_P4 (y)
254
255% ACPI support
256! [PLATFORM=ia32|PLATFORM=amd64] CONFIG_ACPI (y)
257
258% Hierarchical page tables support
259! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32] CONFIG_PAGE_PT (y)
260
261% Page hash table support
262! [PLATFORM=ia64|PLATFORM=sparc64] CONFIG_PAGE_HT (y)
263
264% Software integer division support
265! [PLATFORM=ia32|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32] CONFIG_SOFTINT (y)
266
267% ASID support
268! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_ASID (y)
269
270% ASID FIFO support
271! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_ASID_FIFO (y)
272
273% OpenFirmware tree support
274! [PLATFORM=sparc64] CONFIG_OFW_TREE (y)
275
276% Multiboot standard support
277! [PLATFORM=ia32|PLATFORM=amd64] CONFIG_MULTIBOOT (y)
278
279% FPU support
280! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ia64|PLATFORM=sparc64] CONFIG_FPU (y)
281
282% FPU support
283! [PLATFORM=mips32&(MACHINE=lgxemul|MACHINE=bgxemul)] CONFIG_FPU (y)
284
285
286## Kernel features options
287
288% Support for SMP
289! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=sparc64|PLATFORM=ia64|(PLATFORM=mips32&MACHINE=msim)] CONFIG_SMP (y/n)
290
291% Debug build
292! CONFIG_DEBUG (y/n)
293
294% Deadlock detection support for spinlocks
295! [CONFIG_DEBUG=y&CONFIG_SMP=y] CONFIG_DEBUG_SPINLOCK (y/n)
296
297% Improved support for hyperthreading
298! [PLATFORM=amd64&CONFIG_SMP=y] CONFIG_HT (y/n)
299
300% Improved support for hyperthreading
301! [PLATFORM=ia32&PROCESSOR!=athlon_xp&PROCESSOR!=athlon_mp&PROCESSOR!=pentium3&CONFIG_SMP=y] CONFIG_HT (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% Detailed kernel logging
325! CONFIG_LOG (n/y)
326
327% Compile kernel tests
328! CONFIG_TEST (y/n)
329
330
331## Hardware support
332
333% Input device class
334@ "generic" Keyboard or serial line
335@ "none" No input device
336! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=mips32] CONFIG_HID_IN (choice)
337
338% Output device class
339@ "generic" Monitor or serial line
340@ "none" No output device
341! [PLATFORM=ia32|PLATFORM=amd64|(PLATFORM=mips32&MACHINE=msim)] CONFIG_HID_OUT (choice)
342
343% Output device class
344@ "generic" Monitor or serial line
345@ "monitor" Monitor
346@ "serial" Serial line
347@ "none" No output device
348! [PLATFORM=mips32&(MACHINE=bgxemul|MACHINE=lgxemul)] CONFIG_HID_OUT (choice)
349
350% PC keyboard support
351! [CONFIG_HID_IN=generic&(PLATFORM=ia32|PLATFORM=amd64)] CONFIG_PC_KBD (y/n)
352
353% Support for msim/GXemul keyboard
354! [CONFIG_HID_IN=generic&PLATFORM=mips32] CONFIG_MIPS_KBD (y/n)
355
356% Support for msim/GXemul printer
357! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=mips32] CONFIG_MIPS_PRN (y/n)
358
359% i8042 controller support
360! [CONFIG_PC_KBD=y] CONFIG_I8042 (y)
361
362% Dummy serial line input
363! [CONFIG_MIPS_KBD=y] CONFIG_DSRLNIN (y)
364
365% Dummy serial line output
366! [CONFIG_MIPS_PRN=y] CONFIG_DSRLNOUT (y)
367
368% Serial line input module
369! [CONFIG_DSRLNIN=y] CONFIG_SRLN (y)
370
371#% i8042 controller support
372#! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&MACHINE=i460GX] CONFIG_I8042 (y/n)
373
374#% Support for NS16550 controller
375#! [(CONFIG_HID_IN=keyboard&PLATFORM=sparc64)|(CONFIG_HID_IN=serial&PLATFORM=ia64)] CONFIG_NS16550 (y/n)
376
377#% Support for Z8530 controller
378#! [(CONFIG_HID_IN!=none|CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=sparc64] CONFIG_Z8530 (y/n)
379
380#% Support for Serengeti console
381#! [(CONFIG_HID_IN=serial|CONFIG_HID_OUT=serial)&MACHINE=serengeti] CONFIG_SGCN (y/n)
382
383#% PC keyboard support
384#! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&MACHINE=i460GX] CONFIG_PC_KBD (y/n)
385
386#% Sun keyboard support
387#! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=sparc64] CONFIG_SUN_KBD (y/n)
388
389% EGA support
390! [CONFIG_HID_OUT=generic&(PLATFORM=ia32|PLATFORM=amd64)] CONFIG_EGA (y/n)
391
392#% EGA support
393#! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=monitor)&MACHINE=i460GX] CONFIG_EGA (y/n)
394
395% Framebuffer support
396! [CONFIG_HID_OUT=generic&(PLATFORM=ia32|PLATFORM=amd64)] CONFIG_FB (y/n)
397
398% Framebuffer support
399! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=monitor)&PLATFORM=mips32&(MACHINE=lgxemul|MACHINE=bgxemul)] CONFIG_FB (y/n)
400
401% Framebuffer support
402! [CONFIG_HID_OUT=none] CONFIG_FB (n)
403
404% Framebuffer width
405@ "640"
406@ "800"
407@ "1024"
408@ "1152"
409@ "1280"
410@ "1400"
411@ "1440"
412@ "1600"
413@ "2048"
414! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_FB=y] CONFIG_VESA_WIDTH (choice)
415
416% Framebuffer height
417@ "480"
418@ "600"
419@ "768"
420@ "852"
421@ "900"
422@ "960"
423@ "1024"
424@ "1050"
425@ "1200"
426@ "1536"
427! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_FB=y] CONFIG_VESA_HEIGHT (choice)
428
429% Framebuffer depth
430@ "8"
431@ "16"
432@ "24"
433! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_FB=y] CONFIG_VESA_BPP (choice)
434
435% Start AP processors by the loader
436! [PLATFORM=sparc64&CONFIG_SMP=y] CONFIG_AP (y/n)
437
438% Use Block Address Translation by the loader
439! [PLATFORM=ppc32] CONFIG_BAT (y/n)
440
441% Preserve A.OUT header in isofs.b
442! [PLATFORM=sparc64&MACHINE=generic] CONFIG_AOUT_ISOFS_B (y)
443
444% External ramdisk
445! [PLATFORM=sparc64] CONFIG_RD_EXTERNAL (y/n)
446
447% Keyboard layout
448@ "us_qwerty" US QWERTY
449@ "us_dvorak" US Dvorak
450! KBD_LAYOUT (choice)
Note: See TracBrowser for help on using the repository browser.