source: mainline/HelenOS.config@ b1e9d2c

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

turn off SMP for Athlon XP

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