Subversion Repositories HelenOS

Rev

Rev 4344 | Rev 4346 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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