VirtualBox

source: vbox/trunk/src/VBox/Devices/PC/ipxe/contrib/rom-o-matic/flag-table.php@ 91703

Last change on this file since 91703 was 47928, checked in by vboxsync, 11 years ago

Devices/PC: export iPXE to OSE

  • Property svn:eol-style set to native
File size: 10.1 KB
Line 
1<?php // -*- Mode: PHP; -*-
2
3/**
4 * Copyright (C) 2009 Marty Connor <mdc@etherboot.org>.
5 * Copyright (C) 2009 Entity Cyber, Inc.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of the
10 * License, or any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 */
21
22$ofmts = array
23 ( "Floppy bootable image (.dsk)" => "dsk",
24 "SYSLINUX-based bootable floppy image (.sdsk)" => "sdsk",
25 "ISO bootable image (.iso)" => "iso",
26 "ISO bootable image with legacy floppy emulation (.liso)" => "liso",
27 "Linux kernel (SYSLINUX/GRUB/LILO) loadable image (.lkrn)" => "lkrn",
28 "USB Keychain disk image (.usb)" => "usb",
29 "ROM binary (flashable) image (.rom)" => "rom",
30 "ROM binary (flashable) for problem PMM BIOSES (.hrom)" => "hrom",
31 "PXE bootstrap loader image [Unload PXE stack] (.pxe)" => "pxe",
32 "PXE bootstrap loader keep [Keep PXE stack method 1] (.kpxe)" => "kpxe",
33 "PXE bootstrap loader keep [Keep PXE stack method 2] (.kkpxe)" => "kkpxe",
34 );
35
36$flag_table = array (
37
38 // Begin General Options:
39
40 "HDR_MISC_OPTIONS"
41 => array (
42 "flag" => "HDR_MISC_OPTIONS",
43 "hide_from_user" => "yes", // Hide even the header
44 "type" => "header",
45 "label" => "Miscellaneous Options"
46 ),
47
48 "PRODUCT_NAME"
49 => array (
50 "flag" => "PRODUCT_NAME",
51 "hide_from_user" => "yes",
52 "type" => "string",
53 "value" => "",
54 "cfgsec" => "general"
55 ),
56
57 "PRODUCT_SHORT_NAME"
58 => array (
59 "flag" => "PRODUCT_SHORT_NAME",
60 "hide_from_user" => "yes",
61 "type" => "string",
62 "value" => "iPXE",
63 "cfgsec" => "general"
64 ),
65
66 // End General Options:
67
68 // Begin Console Options:
69
70 "HDR_CONSOLE_OPTIONS"
71 => array (
72 "flag" => "HDR_CONSOLE_OPTIONS",
73 "type" => "header",
74 "label" => "Console Options"
75 ),
76
77 "CONSOLE_PCBIOS"
78 => array (
79 "flag" => "CONSOLE_PCBIOS",
80 "type" => "on/off",
81 "value" => "on",
82 "cfgsec" => "console"
83 ),
84
85 "CONSOLE_SERIAL"
86 => array (
87 "flag" => "CONSOLE_SERIAL",
88 "type" => "on/off",
89 "value" => "off",
90 "cfgsec" => "console"
91 ),
92
93 "BANNER_TIMEOUT"
94 => array (
95 "flag" => "BANNER_TIMEOUT",
96 "type" => "integer",
97 "value" => "20",
98 "cfgsec" => "general"
99 ),
100
101 "KEYBOARD_MAP"
102 => array (
103 "flag" => "KEYBOARD_MAP",
104 "type" => "choice",
105 "options" => array("al","az","bg","by","cf","cz","de","dk","es","et","fi","fr",
106 "gr","hu","il","it","lt","mk","mt","nl","no","pl","pt","ro","ru","sg","sr",
107 "th","ua","uk","us","wo"),
108 "value" => "us",
109 "cfgsec" => "console"
110 ),
111
112 // End Console Options
113
114 // Begin Network Protocol Options:
115
116 "HDR_NETWORK_PROTOCOL_OPTIONS"
117 => array (
118 "flag" => "HDR_NETWORK_PROTOCOL_OPTIONS",
119 "hide_from_user" => "yes", // Hide even the header
120 "type" => "header",
121 "label" => "Network Protocol Options"
122 ),
123
124 "NET_PROTO_IPV4"
125 => array (
126 "flag" => "NET_PROTO_IPV4",
127 "type" => "on/off",
128 "value" => "on",
129 "hide_from_user" => "yes",
130 "cfgsec" => "general"
131 ),
132
133 // End Network Protocol Options
134
135 // Begin Serial Port configuration
136
137 "HDR_SERIAL_PORT_OPTIONS"
138 => array (
139 "flag" => "HDR_SERIAL_PORT_OPTIONS",
140 "type" => "header",
141 "label" => "Serial Port Options"
142 ),
143
144 "COMCONSOLE"
145 => array (
146 "flag" => "COMCONSOLE",
147 "type" => "integer-hex", // e.g. 0x378
148 "value" => "0x3F8",
149 "cfgsec" => "serial"
150 ),
151
152 "COMPRESERVE"
153 => array (
154 "flag" => "COMPRESERVE",
155 "type" => "on/off",
156 "value" => "off",
157 "cfgsec" => "serial"
158 ),
159
160 "COMSPEED"
161 => array (
162 "flag" => "COMSPEED",
163 "type" => "integer",
164 "value" => "115200",
165 "cfgsec" => "serial"
166 ),
167
168 "COMDATA"
169 => array (
170 "flag" => "COMDATA",
171 "type" => "integer",
172 "value" => "8",
173 "cfgsec" => "serial"
174 ),
175
176 "COMPARITY"
177 => array (
178 "flag" => "COMPARITY",
179 "type" => "integer",
180 "value" => "0",
181 "cfgsec" => "serial"
182 ),
183
184 "COMSTOP"
185 => array (
186 "flag" => "COMSTOP",
187 "type" => "integer",
188 "value" => "1",
189 "cfgsec" => "serial"
190 ),
191
192 // End Serial Options
193
194 // Begin Download Protocols
195
196 "HDR_DOWNLOAD_PROTOCOLS"
197 => array (
198 "flag" => "HDR_DOWNLOAD_PROTOCOLS",
199 "type" => "header",
200 "label" => "Download Protocols"
201 ),
202
203 "DOWNLOAD_PROTO_TFTP"
204 => array (
205 "flag" => "DOWNLOAD_PROTO_TFTP",
206 "type" => "on/off",
207 "value" => "on",
208 "cfgsec" => "general"
209 ),
210
211 "DOWNLOAD_PROTO_HTTP"
212 => array (
213 "flag" => "DOWNLOAD_PROTO_HTTP",
214 "type" => "on/off",
215 "value" => "on",
216 "cfgsec" => "general"
217 ),
218
219 "DOWNLOAD_PROTO_HTTPS"
220 => array (
221 "flag" => "DOWNLOAD_PROTO_HTTPS",
222 "type" => "on/off",
223 "value" => "off",
224 "cfgsec" => "general"
225 ),
226
227 "DOWNLOAD_PROTO_FTP"
228 => array (
229 "flag" => "DOWNLOAD_PROTO_FTP",
230 "type" => "on/off",
231 "value" => "off",
232 "cfgsec" => "general"
233 ),
234
235 // End Download Protocols
236
237 // Begin SAN boot protocols
238
239 "HDR_SANBOOT_PROTOCOLS"
240 => array (
241 "flag" => "HDR_SANBOOT_PROTOCOLS",
242 "type" => "header",
243 "label" => "SAN Boot Protocols"
244 ),
245
246 "SANBOOT_PROTO_ISCSI"
247 => array (
248 "flag" => "SANBOOT_PROTO_ISCSI",
249 "type" => "on/off",
250 "value" => "on",
251 "cfgsec" => "general"
252 ),
253
254 "SANBOOT_PROTO_AOE"
255 => array (
256 "flag" => "SANBOOT_PROTO_AOE",
257 "type" => "on/off",
258 "value" => "on",
259 "cfgsec" => "general"
260 ),
261
262 // End SAN boot protocols
263
264 // Begin Name resolution modules
265
266 "HDR_NAME_RESOLUTION_MODULES"
267 => array (
268 "flag" => "HDR_NAME_RESOLUTION_MODULES",
269 "type" => "header",
270 "label" => "Name Resolution Modules"
271 ),
272
273 "DNS_RESOLVER"
274 => array (
275 "flag" => "DNS_RESOLVER",
276 "type" => "on/off",
277 "value" => "on",
278 "cfgsec" => "general"
279 ),
280
281 "NMB_RESOLVER"
282 => array (
283 "flag" => "NMB_RESOLVER",
284 "type" => "on/off",
285 "value" => "off",
286 "hide_from_user" => "yes",
287 "cfgsec" => "general"
288 ),
289
290 // End Name resolution modules
291
292 // Begin Image types
293
294 "HDR_IMAGE_TYPES"
295 => array (
296 "flag" => "HDR_IMAGE_TYPES",
297 "type" => "header",
298 "label" => "Image Types",
299 ),
300
301 "IMAGE_ELF"
302 => array (
303 "flag" => "IMAGE_ELF",
304 "type" => "on/off",
305 "value" => "on",
306 "cfgsec" => "general"
307 ),
308
309 "IMAGE_NBI"
310 => array (
311 "flag" => "IMAGE_NBI",
312 "type" => "on/off",
313 "value" => "on",
314 "cfgsec" => "general"
315 ),
316
317 "IMAGE_MULTIBOOT"
318 => array (
319 "flag" => "IMAGE_MULTIBOOT",
320 "type" => "on/off",
321 "value" => "on",
322 "cfgsec" => "general"
323 ),
324
325 "IMAGE_PXE"
326 => array (
327 "flag" => "IMAGE_PXE",
328 "type" => "on/off",
329 "value" => "on",
330 "cfgsec" => "general"
331 ),
332
333 "IMAGE_SCRIPT"
334 => array (
335 "flag" => "IMAGE_SCRIPT",
336 "type" => "on/off",
337 "value" => "on",
338 "cfgsec" => "general"
339 ),
340
341 "IMAGE_BZIMAGE"
342 => array (
343 "flag" => "IMAGE_BZIMAGE",
344 "type" => "on/off",
345 "value" => "on",
346 "cfgsec" => "general"
347 ),
348
349 "IMAGE_COMBOOT"
350 => array (
351 "flag" => "IMAGE_COMBOOT",
352 "type" => "on/off",
353 "value" => "on",
354 "cfgsec" => "general"
355 ),
356
357 // End Image types
358
359 // Begin Command-line commands to include
360
361 "HDR_COMMAND_LINE_OPTIONS"
362 => array (
363 "flag" => "HDR_COMMAND_LINE_OPTIONS",
364 "type" => "header",
365 "label" => "Command Line Options",
366 ),
367
368 "AUTOBOOT_CMD"
369 => array (
370 "flag" => "AUTOBOOT_CMD",
371 "type" => "on/off",
372 "value" => "on",
373 "cfgsec" => "general"
374 ),
375
376 "NVO_CMD"
377 => array (
378 "flag" => "NVO_CMD",
379 "type" => "on/off",
380 "value" => "on",
381 "cfgsec" => "general"
382 ),
383
384 "CONFIG_CMD"
385 => array (
386 "flag" => "CONFIG_CMD",
387 "type" => "on/off",
388 "value" => "on",
389 "cfgsec" => "general"
390 ),
391
392 "IFMGMT_CMD"
393 => array (
394 "flag" => "IFMGMT_CMD",
395 "type" => "on/off",
396 "value" => "on",
397 "cfgsec" => "general"
398 ),
399
400 "IWMGMT_CMD"
401 => array (
402 "flag" => "IWMGMT_CMD",
403 "type" => "on/off",
404 "value" => "on",
405 "cfgsec" => "general"
406 ),
407
408 "ROUTE_CMD"
409 => array (
410 "flag" => "ROUTE_CMD",
411 "type" => "on/off",
412 "value" => "on",
413 "cfgsec" => "general"
414 ),
415
416 "IMAGE_CMD"
417 => array (
418 "flag" => "IMAGE_CMD",
419 "type" => "on/off",
420 "value" => "on",
421 "cfgsec" => "general"
422 ),
423
424 "DHCP_CMD"
425 => array (
426 "flag" => "DHCP_CMD",
427 "type" => "on/off",
428 "value" => "on",
429 "cfgsec" => "general"
430 ),
431
432 "SANBOOT_CMD"
433 => array (
434 "flag" => "SANBOOT_CMD",
435 "type" => "on/off",
436 "value" => "on",
437 "cfgsec" => "general"
438 ),
439
440 "LOGIN_CMD"
441 => array (
442 "flag" => "LOGIN_CMD",
443 "type" => "on/off",
444 "value" => "on",
445 "cfgsec" => "general"
446 ),
447
448 "TIME_CMD"
449 => array (
450 "flag" => "TIME_CMD",
451 "type" => "on/off",
452 "value" => "off",
453 "cfgsec" => "general"
454 ),
455
456 "DIGEST_CMD"
457 => array (
458 "flag" => "DIGEST_CMD",
459 "type" => "on/off",
460 "value" => "off",
461 "cfgsec" => "general"
462 ),
463
464 // End Command-line commands to include
465
466 // Begin Wireless options
467
468 "HDR_WIRELESS_OPTIONS"
469 => array (
470 "flag" => "HDR_WIRELESS_OPTIONS",
471 "type" => "header",
472 "label" => "Wireless Interface Options",
473 ),
474
475 "CRYPTO_80211_WEP"
476 => array (
477 "flag" => "CRYPTO_80211_WEP",
478 "type" => "on/off",
479 "value" => "on",
480 "cfgsec" => "general"
481 ),
482
483 "CRYPTO_80211_WPA"
484 => array (
485 "flag" => "CRYPTO_80211_WPA",
486 "type" => "on/off",
487 "value" => "on",
488 "cfgsec" => "general"
489 ),
490
491 "CRYPTO_80211_WPA2"
492 => array (
493 "flag" => "CRYPTO_80211_WPA2",
494 "type" => "on/off",
495 "value" => "on",
496 "cfgsec" => "general"
497 ),
498
499 // End Wireless options
500
501 // Obscure options required to compile
502 "NETDEV_DISCARD_RATE"
503 => array (
504 "flag" => "NETDEV_DISCARD_RATE",
505 "type" => "integer",
506 "value" => "0",
507 "cfgsec" => "general",
508 "hide_from_user" => true
509 )
510
511 // End Obscure options
512);
513
514// For emacs:
515// Local variables:
516// c-basic-offset: 4
517// c-indent-level: 4
518// tab-width: 4
519// End:
520
521?>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette