Subversion Repositories HelenOS

Rev

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

Rev Author Line No. Line
2830 jermar 1
#
3803 decky 2
# Copyright (c) 2006 Ondrej Palkovsky
3884 decky 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
 
3803 decky 30
## General platform options
31
 
32
% Platform
1802 decky 33
@ "amd64" AMD64/Intel EM64T (PC)
2128 jermar 34
@ "arm32" ARM 32-bit
1802 decky 35
@ "ia32" Intel IA-32 (PC)
2064 vana 36
@ "ia64" Intel IA-64
2088 decky 37
@ "mips32" MIPS 32-bit
1802 decky 38
@ "ppc32" PowerPC 32-bit (iMac G4)
39
@ "sparc64" Sun UltraSPARC 64-bit
40
! PLATFORM (choice)
41
 
3803 decky 42
% Machine type
2088 decky 43
@ "msim" MSIM
44
@ "bgxemul" GXEmul big endian
3028 decky 45
@ "lgxemul" GXEmul little endian
2088 decky 46
! [PLATFORM=mips32] MACHINE (choice)
47
 
3803 decky 48
% Machine type
3696 vana 49
@ "i460GX" i460GX chipset machine
2511 vana 50
@ "ski" Ski ia64 simulator
51
! [PLATFORM=ia64] MACHINE (choice)
52
 
4047 jermar 53
% Machine type
54
@ "generic" Generic Sun workstation or server
55
@ "serengeti" Serengeti system
56
! [PLATFORM=sparc64] MACHINE (choice)
57
 
3803 decky 58
% CPU type
59
@ "pentium4" Pentium 4
60
@ "pentium3" Pentium 3
61
@ "core" Core Solo/Duo
3936 decky 62
@ "athlon_xp" Athlon XP
63
@ "athlon_mp" Athlon MP
4050 jermar 64
! [PLATFORM=ia32] PROCESSOR (choice)
3803 decky 65
 
66
% CPU type
67
@ "opteron" Opteron
4047 jermar 68
! [PLATFORM=amd64] PROCESSOR (choice)
3803 decky 69
 
70
% CPU type
71
@ "us" UltraSPARC I-II subarchitecture
72
@ "us3" UltraSPARC III-IV subarchitecture
4047 jermar 73
! [PLATFORM=sparc64&MACHINE=generic] PROCESSOR (choice)
3803 decky 74
 
4047 jermar 75
% CPU type
76
@ "us3"
77
! [PLATFORM=sparc64&MACHINE=serengeti] PROCESSOR (choice)
78
 
3803 decky 79
% Ramdisk format
80
@ "tmpfs" TMPFS image
81
@ "fat" FAT16 image
82
! RDFMT (choice)
83
 
84
 
3884 decky 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"
4082 decky 144
! [PLATFORM=mips32&(MACHINE=msim|MACHINE=lgxemul)] UARCH (choice)
3884 decky 145
 
146
% User space architecture
147
@ "mips32eb"
3915 decky 148
! [PLATFORM=mips32&MACHINE=bgxemul] UARCH (choice)
3884 decky 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"
4082 decky 210
! [PLATFORM=mips32&(MACHINE=bgxemul|MACHINE=lgxemul)] IMAGE (choice)
3884 decky 211
 
212
 
3803 decky 213
## Compiler options
214
 
215
% Compiler
2437 decky 216
@ "gcc_cross" GCC Cross-compiler
217
@ "gcc_native" GCC Native
218
@ "icc_native" ICC Native
2443 jermar 219
@ "suncc_native" Sun Studio C Compiler
4050 jermar 220
! [PLATFORM=amd64|PLATFORM=ia32] COMPILER (choice)
1802 decky 221
 
3803 decky 222
% Compiler
2442 jermar 223
@ "gcc_cross" GCC Cross-compiler
224
@ "gcc_native" GCC Native
225
@ "icc_native" ICC Native
4050 jermar 226
! [PLATFORM=ia64] COMPILER (choice)
2442 jermar 227
 
3803 decky 228
% Compiler
2442 jermar 229
@ "gcc_cross" GCC Cross-compiler
230
@ "gcc_native" GCC Native
2443 jermar 231
@ "suncc_native" Sun Studio C Compiler
4050 jermar 232
! [PLATFORM=sparc64] COMPILER (choice)
2442 jermar 233
 
3803 decky 234
% Compiler
2442 jermar 235
@ "gcc_cross" GCC Cross-compiler
236
@ "gcc_native" GCC Native
4050 jermar 237
! [PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32] COMPILER (choice)
2442 jermar 238
 
3803 decky 239
 
3884 decky 240
## Kernel configuration
241
 
242
% Fences
4047 jermar 243
! [PLATFORM=ia32&(PROCESSOR=athlon_xp|PROCESSOR=athlon_mp|PROCESSOR=pentium3)] CONFIG_FENCES_P3 (y)
3884 decky 244
 
245
% Fences
4047 jermar 246
! [PLATFORM=ia32&(PROCESSOR=pentium4|PROCESSOR=core)] CONFIG_FENCES_P4 (y)
3884 decky 247
 
3915 decky 248
% Fences
249
! [PLATFORM=amd64] CONFIG_FENCES_P4 (y)
250
 
3884 decky 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
 
4022 svoboda 272
% Multiboot standard support
273
! [PLATFORM=ia32|PLATFORM=amd64] CONFIG_MULTIBOOT (y)
274
 
3884 decky 275
% FPU support
3915 decky 276
! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ia64|PLATFORM=sparc64] CONFIG_FPU (y)
3884 decky 277
 
3915 decky 278
% FPU support
279
! [PLATFORM=mips32&(MACHINE=lgxemul|MACHINE=bgxemul)] CONFIG_FPU (y)
3884 decky 280
 
3915 decky 281
 
3803 decky 282
## Kernel features options
283
 
284
% Support for SMP
4047 jermar 285
! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=sparc64|PLATFORM=ia64|(PLATFORM=mips32&MACHINE=msim)] CONFIG_SMP (y/n)
3803 decky 286
 
4069 decky 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
 
3803 decky 293
% Improved support for hyperthreading
4050 jermar 294
! [PLATFORM=amd64&CONFIG_SMP=y] CONFIG_HT (y/n)
4069 decky 295
 
3915 decky 296
% Improved support for hyperthreading
4050 jermar 297
! [PLATFORM=ia32&PROCESSOR!=athlon_xp&PROCESSOR!=athlon_mp&PROCESSOR!=pentium3&CONFIG_SMP=y] CONFIG_HT (y/n)
3915 decky 298
 
3803 decky 299
% Lazy FPU context switching
4050 jermar 300
! [CONFIG_FPU=y] CONFIG_FPU_LAZY (y/n)
3803 decky 301
 
302
% Use VHPT
4050 jermar 303
! [PLATFORM=ia64] CONFIG_VHPT (n/y)
3803 decky 304
 
305
% Use TSB
4050 jermar 306
! [PLATFORM=sparc64] CONFIG_TSB (y/n)
3803 decky 307
 
4047 jermar 308
% IO SAPIC on default address support
4050 jermar 309
! [PLATFORM=ia64&MACHINE!=ski] CONFIG_IOSAPIC (y/n)
4047 jermar 310
 
311
% Virtually indexed D-cache support
4050 jermar 312
! [PLATFORM=sparc64] CONFIG_VIRT_IDX_DCACHE (y/n)
4047 jermar 313
 
314
% Support for userspace debuggers
4050 jermar 315
! CONFIG_UDEBUG (y/n)
4047 jermar 316
 
317
% Kernel console support
4050 jermar 318
! CONFIG_KCONSOLE (y/n)
4047 jermar 319
 
320
% Detailed kernel logging
4050 jermar 321
! CONFIG_LOG (n/y)
4047 jermar 322
 
323
% Compile kernel tests
4050 jermar 324
! CONFIG_TEST (y/n)
4047 jermar 325
 
4069 decky 326
 
4047 jermar 327
## Hardware support
328
 
4056 decky 329
% Input device class
4053 jermar 330
@ "generic" Keyboard or serial line
331
@ "none" No input device
4119 decky 332
! [PLATFORM=ia32|PLATFORM=arm32|PLATFORM=amd64|PLATFORM=mips32|PLATFORM=sparc64] CONFIG_HID_IN (choice)
4069 decky 333
 
4122 decky 334
% Input device class
335
@ "generic" Keyboard or serial line
336
@ "keyboard" Keyboard
337
@ "serial" Serial line
338
@ "none" No input device
339
! [PLATFORM=ia64&MACHINE=i460GX] CONFIG_HID_IN (choice)
340
 
4082 decky 341
% Output device class
342
@ "generic" Monitor or serial line
343
@ "none" No output device
4123 decky 344
! [PLATFORM=ia32|PLATFORM=amd64|PLATFORM=sparc64|PLATFORM=ppc32|(PLATFORM=ia64&MACHINE=i460GX)|(PLATFORM=mips32&MACHINE=msim)] CONFIG_HID_OUT (choice)
4047 jermar 345
 
4056 decky 346
% Output device class
4053 jermar 347
@ "generic" Monitor or serial line
4047 jermar 348
@ "monitor" Monitor
349
@ "serial" Serial line
4053 jermar 350
@ "none" No output device
4082 decky 351
! [PLATFORM=mips32&(MACHINE=bgxemul|MACHINE=lgxemul)] CONFIG_HID_OUT (choice)
4069 decky 352
 
4117 decky 353
% Output device class
354
@ "generic" Monitor or serial line
355
@ "monitor" Monitor
356
@ "serial" Serial line
357
@ "none" No output device
358
! [PLATFORM=arm32] CONFIG_HID_OUT (choice)
359
 
4082 decky 360
% PC keyboard support
361
! [CONFIG_HID_IN=generic&(PLATFORM=ia32|PLATFORM=amd64)] CONFIG_PC_KBD (y/n)
4047 jermar 362
 
4122 decky 363
% PC keyboard support
364
! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=ia64&MACHINE=i460GX] CONFIG_PC_KBD (y/n)
365
 
4082 decky 366
% Support for msim/GXemul keyboard
367
! [CONFIG_HID_IN=generic&PLATFORM=mips32] CONFIG_MIPS_KBD (y/n)
4069 decky 368
 
4082 decky 369
% Support for msim/GXemul printer
370
! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=mips32] CONFIG_MIPS_PRN (y/n)
371
 
4117 decky 372
% Support for GXemul keyboard
373
! [CONFIG_HID_IN=generic&PLATFORM=arm32] CONFIG_ARM_KBD (y/n)
374
 
375
% Support for GXemul printer
376
! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=arm32] CONFIG_ARM_PRN (y/n)
377
 
4119 decky 378
% Support for NS16550 controller
4121 decky 379
! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboard)&PLATFORM=sparc64&MACHINE=generic] CONFIG_NS16550 (y/n)
4119 decky 380
 
4122 decky 381
% Support for NS16550 controller
382
! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=serial)&PLATFORM=ia64&MACHINE=i460GX] CONFIG_NS16550 (y/n)
383
 
4119 decky 384
% Support for Z8530 controller
4121 decky 385
! [(CONFIG_HID_IN=generic|CONFIG_HID_IN=keyboardl)&PLATFORM=sparc64&MACHINE=generic] CONFIG_Z8530 (y/n)
4119 decky 386
 
4121 decky 387
% Support for Serengeti console
388
! [(CONFIG_HID_IN=generic|CONFIG_HID_OUT=generic)&PLATFORM=sparc64&MACHINE=serengeti] CONFIG_SGCN (y/n)
389
 
4047 jermar 390
% i8042 controller support
4082 decky 391
! [CONFIG_PC_KBD=y] CONFIG_I8042 (y)
3803 decky 392
 
4119 decky 393
% Sun keyboard support
394
! [PLATFORM=sparc64&(CONFIG_NS16550=y|CONFIG_Z8530=y] CONFIG_SUN_KBD (y)
395
 
4082 decky 396
% Dummy serial line input
4117 decky 397
! [CONFIG_MIPS_KBD=y|CONFIG_ARM_KBD=y] CONFIG_DSRLNIN (y)
3899 jermar 398
 
4082 decky 399
% Dummy serial line output
4117 decky 400
! [CONFIG_MIPS_PRN=y|CONFIG_ARM_PRN=y] CONFIG_DSRLNOUT (y)
4042 jermar 401
 
4082 decky 402
% Serial line input module
4122 decky 403
! [CONFIG_DSRLNIN=y|(PLATFORM=ia64&MACHINE=i460GX&CONFIG_NS16550=y)|(PLATFORM=ia64&MACHINE=ski)] CONFIG_SRLN (y)
3900 jermar 404
 
4047 jermar 405
% EGA support
4082 decky 406
! [CONFIG_HID_OUT=generic&(PLATFORM=ia32|PLATFORM=amd64)] CONFIG_EGA (y/n)
4042 jermar 407
 
4122 decky 408
% EGA support
409
! [CONFIG_HID_OUT=generic&PLATFORM=ia64&MACHINE=i460GX] CONFIG_EGA (y/n)
4082 decky 410
 
3803 decky 411
% Framebuffer support
4123 decky 412
! [CONFIG_HID_OUT=generic&(PLATFORM=ia32|PLATFORM=amd64|PLATFORM=ppc32)] CONFIG_FB (y/n)
3803 decky 413
 
4082 decky 414
% Framebuffer support
415
! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=monitor)&PLATFORM=mips32&(MACHINE=lgxemul|MACHINE=bgxemul)] CONFIG_FB (y/n)
416
 
417
% Framebuffer support
4121 decky 418
! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=monitor)&PLATFORM=arm32] CONFIG_FB (y/n)
4117 decky 419
 
4121 decky 420
% Framebuffer support
421
! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=monitor)&PLATFORM=sparc64&MACHINE=generic] CONFIG_FB (y/n)
422
 
4127 decky 423
% Default framebuffer mode
424
@ "640x480"
425
@ "800x600"
426
@ "1024x768"
427
@ "1152x720"
428
@ "1152x864"
429
@ "1280x960"
430
@ "1280x1024"
431
@ "1400x1050"
432
@ "1440x900"
433
@ "1440x1050"
434
@ "1600x1200"
435
@ "1920x1080"
436
@ "1920x1200"
437
! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_HID_OUT!=none&CONFIG_FB=y] CONFIG_VESA_MODE (choice)
3803 decky 438
 
4127 decky 439
% Default framebuffer depth
3803 decky 440
@ "8"
441
@ "16"
442
@ "24"
4119 decky 443
! [(PLATFORM=ia32|PLATFORM=amd64)&CONFIG_HID_OUT!=none&CONFIG_FB=y] CONFIG_VESA_BPP (choice)
3803 decky 444
 
445
% Start AP processors by the loader
4050 jermar 446
! [PLATFORM=sparc64&CONFIG_SMP=y] CONFIG_AP (y/n)
3803 decky 447
 
448
% Use Block Address Translation by the loader
4050 jermar 449
! [PLATFORM=ppc32] CONFIG_BAT (y/n)
3803 decky 450
 
451
% Preserve A.OUT header in isofs.b
4047 jermar 452
! [PLATFORM=sparc64&MACHINE=generic] CONFIG_AOUT_ISOFS_B (y)
3803 decky 453
 
454
% External ramdisk
455
! [PLATFORM=sparc64] CONFIG_RD_EXTERNAL (y/n)
3923 svoboda 456
 
457
% Keyboard layout
458
@ "us_qwerty" US QWERTY
459
@ "us_dvorak" US Dvorak
4051 svoboda 460
! KBD_LAYOUT (choice)