source: mainline/HelenOS.config@ 63b1537

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

set CONFIG_DEBUG_SPINLOCK after CONFIG_SMP
do not use serial line on msim

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