Subversion Repositories HelenOS

Rev

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