2008-10-08 01:37:40 +02:00
|
|
|
#ifndef CONFIG_GENERAL_H
|
|
|
|
#define CONFIG_GENERAL_H
|
|
|
|
|
|
|
|
/** @file
|
2005-04-17 16:08:40 +02:00
|
|
|
*
|
2008-10-08 01:37:40 +02:00
|
|
|
* General configuration
|
2005-04-17 16:08:40 +02:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2015-03-02 14:29:46 +01:00
|
|
|
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
2009-05-01 16:41:06 +02:00
|
|
|
|
2008-10-13 10:37:51 +02:00
|
|
|
#include <config/defaults.h>
|
|
|
|
|
2008-10-08 01:37:40 +02:00
|
|
|
/*
|
2014-02-26 00:33:08 +01:00
|
|
|
* Banner timeout configuration
|
|
|
|
*
|
|
|
|
* This controls the timeout for the "Press Ctrl-B for the iPXE
|
|
|
|
* command line" banner displayed when iPXE starts up. The value is
|
|
|
|
* specified in tenths of a second for which the banner should appear.
|
|
|
|
* A value of 0 disables the banner.
|
|
|
|
*
|
|
|
|
* ROM_BANNER_TIMEOUT controls the "Press Ctrl-B to configure iPXE"
|
|
|
|
* banner displayed only by ROM builds of iPXE during POST. This
|
|
|
|
* defaults to being twice the length of BANNER_TIMEOUT, to allow for
|
|
|
|
* BIOSes that switch video modes immediately before calling the
|
|
|
|
* initialisation vector, thus rendering the banner almost invisible
|
|
|
|
* to the user.
|
2008-03-02 03:33:54 +01:00
|
|
|
*/
|
2014-02-26 00:33:08 +01:00
|
|
|
#define BANNER_TIMEOUT 20
|
|
|
|
#define ROM_BANNER_TIMEOUT ( 2 * BANNER_TIMEOUT )
|
2008-03-02 03:33:54 +01:00
|
|
|
|
2008-10-08 01:37:40 +02:00
|
|
|
/*
|
2008-03-21 01:06:28 +01:00
|
|
|
* Network protocols
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define NET_PROTO_IPV4 /* IPv4 protocol */
|
2013-08-26 15:23:54 +02:00
|
|
|
#undef NET_PROTO_IPV6 /* IPv6 protocol */
|
2010-09-15 04:10:27 +02:00
|
|
|
#undef NET_PROTO_FCOE /* Fibre Channel over Ethernet protocol */
|
2015-06-25 11:04:42 +02:00
|
|
|
#define NET_PROTO_STP /* Spanning Tree protocol */
|
2016-04-18 11:08:46 +02:00
|
|
|
#define NET_PROTO_LACP /* Link Aggregation control protocol */
|
2008-03-21 01:06:28 +01:00
|
|
|
|
2009-10-07 01:15:06 +02:00
|
|
|
/*
|
|
|
|
* PXE support
|
|
|
|
*
|
|
|
|
*/
|
2010-04-19 21:16:01 +02:00
|
|
|
//#undef PXE_STACK /* PXE stack in iPXE - you want this! */
|
2009-10-07 01:15:06 +02:00
|
|
|
//#undef PXE_MENU /* PXE menu booting */
|
|
|
|
|
2008-10-08 01:37:40 +02:00
|
|
|
/*
|
2005-05-02 14:45:23 +02:00
|
|
|
* Download protocols
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define DOWNLOAD_PROTO_TFTP /* Trivial File Transfer Protocol */
|
2007-01-18 23:38:13 +01:00
|
|
|
#define DOWNLOAD_PROTO_HTTP /* Hypertext Transfer Protocol */
|
2007-07-30 04:01:04 +02:00
|
|
|
#undef DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */
|
2007-06-28 19:49:57 +02:00
|
|
|
#undef DOWNLOAD_PROTO_FTP /* File Transfer Protocol */
|
2005-05-02 14:45:23 +02:00
|
|
|
#undef DOWNLOAD_PROTO_SLAM /* Scalable Local Area Multicast */
|
2013-07-15 17:56:29 +02:00
|
|
|
#undef DOWNLOAD_PROTO_NFS /* Network File System Protocol */
|
2016-03-14 16:23:42 +01:00
|
|
|
//#undef DOWNLOAD_PROTO_FILE /* Local filesystem access */
|
2005-05-02 14:45:23 +02:00
|
|
|
|
2008-10-13 11:05:23 +02:00
|
|
|
/*
|
|
|
|
* SAN boot protocols
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
//#undef SANBOOT_PROTO_ISCSI /* iSCSI protocol */
|
|
|
|
//#undef SANBOOT_PROTO_AOE /* AoE protocol */
|
2009-07-17 23:11:42 +02:00
|
|
|
//#undef SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */
|
2010-09-15 04:08:47 +02:00
|
|
|
//#undef SANBOOT_PROTO_FCP /* Fibre Channel protocol */
|
2015-08-17 14:16:26 +02:00
|
|
|
//#undef SANBOOT_PROTO_HTTP /* HTTP SAN protocol */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* HTTP extensions
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
#define HTTP_AUTH_BASIC /* Basic authentication */
|
|
|
|
#define HTTP_AUTH_DIGEST /* Digest authentication */
|
2015-08-17 14:16:45 +02:00
|
|
|
//#define HTTP_ENC_PEERDIST /* PeerDist content encoding */
|
2017-01-23 15:41:22 +01:00
|
|
|
//#define HTTP_HACK_GCE /* Google Compute Engine hacks */
|
2008-10-13 11:05:23 +02:00
|
|
|
|
2009-06-24 09:37:52 +02:00
|
|
|
/*
|
|
|
|
* 802.11 cryptosystems and handshaking protocols
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
#define CRYPTO_80211_WEP /* WEP encryption (deprecated and insecure!) */
|
2009-08-08 08:06:22 +02:00
|
|
|
#define CRYPTO_80211_WPA /* WPA Personal, authenticating with passphrase */
|
2009-11-29 20:10:48 +01:00
|
|
|
#define CRYPTO_80211_WPA2 /* Add support for stronger WPA cryptography */
|
2009-06-24 09:37:52 +02:00
|
|
|
|
2008-10-08 01:37:40 +02:00
|
|
|
/*
|
2005-04-30 16:39:21 +02:00
|
|
|
* Name resolution modules
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2007-01-18 23:38:13 +01:00
|
|
|
#define DNS_RESOLVER /* DNS resolver */
|
2005-04-30 16:39:21 +02:00
|
|
|
|
2008-10-08 01:37:40 +02:00
|
|
|
/*
|
2005-05-19 14:58:23 +02:00
|
|
|
* Image types
|
|
|
|
*
|
|
|
|
* Etherboot supports various image formats. Select whichever ones
|
|
|
|
* you want to use.
|
|
|
|
*
|
|
|
|
*/
|
2008-10-13 10:37:51 +02:00
|
|
|
//#define IMAGE_NBI /* NBI image support */
|
|
|
|
//#define IMAGE_ELF /* ELF image support */
|
|
|
|
//#define IMAGE_MULTIBOOT /* MultiBoot image support */
|
|
|
|
//#define IMAGE_PXE /* PXE image support */
|
2010-04-19 21:16:01 +02:00
|
|
|
//#define IMAGE_SCRIPT /* iPXE script image support */
|
2008-10-13 10:37:51 +02:00
|
|
|
//#define IMAGE_BZIMAGE /* Linux bzImage image support */
|
2017-11-18 11:36:20 +01:00
|
|
|
#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */
|
2008-10-12 02:55:55 +02:00
|
|
|
//#define IMAGE_EFI /* EFI image support */
|
2012-09-04 02:26:48 +02:00
|
|
|
//#define IMAGE_SDI /* SDI image support */
|
2013-11-26 17:29:30 +01:00
|
|
|
//#define IMAGE_PNM /* PNM image support */
|
2016-07-29 16:58:59 +02:00
|
|
|
#define IMAGE_PNG /* PNG image support */
|
2016-07-29 16:40:39 +02:00
|
|
|
#define IMAGE_DER /* DER image support */
|
|
|
|
#define IMAGE_PEM /* PEM image support */
|
2005-05-19 14:58:23 +02:00
|
|
|
|
2008-10-08 01:37:40 +02:00
|
|
|
/*
|
2006-12-20 01:39:06 +01:00
|
|
|
* Command-line commands to include
|
|
|
|
*
|
|
|
|
*/
|
2007-01-14 01:06:23 +01:00
|
|
|
#define AUTOBOOT_CMD /* Automatic booting */
|
2006-12-20 01:39:06 +01:00
|
|
|
#define NVO_CMD /* Non-volatile option storage commands */
|
2006-12-20 08:04:08 +01:00
|
|
|
#define CONFIG_CMD /* Option configuration console */
|
2007-01-10 03:04:07 +01:00
|
|
|
#define IFMGMT_CMD /* Interface management commands */
|
2009-08-08 05:17:50 +02:00
|
|
|
#define IWMGMT_CMD /* Wireless interface management commands */
|
2016-03-08 16:49:52 +01:00
|
|
|
#define IBMGMT_CMD /* Infiniband management commands */
|
2010-09-15 04:06:50 +02:00
|
|
|
#define FCMGMT_CMD /* Fibre Channel management commands */
|
2007-01-10 21:51:14 +01:00
|
|
|
#define ROUTE_CMD /* Routing table management commands */
|
2007-01-12 07:05:27 +01:00
|
|
|
#define IMAGE_CMD /* Image management commands */
|
2007-01-13 18:28:51 +01:00
|
|
|
#define DHCP_CMD /* DHCP management commands */
|
2008-03-04 18:59:26 +01:00
|
|
|
#define SANBOOT_CMD /* SAN boot commands */
|
2012-03-29 01:05:22 +02:00
|
|
|
#define MENU_CMD /* Menu commands */
|
2009-02-17 13:01:47 +01:00
|
|
|
#define LOGIN_CMD /* Login command */
|
2012-06-09 20:00:04 +02:00
|
|
|
#define SYNC_CMD /* Sync command */
|
2017-08-01 21:25:28 +02:00
|
|
|
#define SHELL_CMD /* Shell command */
|
2012-08-30 01:21:33 +02:00
|
|
|
//#define NSLOOKUP_CMD /* DNS resolving command */
|
2011-10-26 17:46:31 +02:00
|
|
|
//#define TIME_CMD /* Time commands */
|
|
|
|
//#define DIGEST_CMD /* Image crypto digest commands */
|
|
|
|
//#define LOTEST_CMD /* Loopback testing commands */
|
|
|
|
//#define VLAN_CMD /* VLAN commands */
|
|
|
|
//#define PXE_CMD /* PXE commands */
|
|
|
|
//#define REBOOT_CMD /* Reboot command */
|
2013-07-13 14:31:15 +02:00
|
|
|
//#define POWEROFF_CMD /* Power off command */
|
2012-03-22 14:46:38 +01:00
|
|
|
//#define IMAGE_TRUST_CMD /* Image trust management commands */
|
2013-08-01 17:53:17 +02:00
|
|
|
//#define PCI_CMD /* PCI commands */
|
2013-08-13 23:32:45 +02:00
|
|
|
//#define PARAM_CMD /* Form parameter commands */
|
2013-09-25 15:35:07 +02:00
|
|
|
//#define NEIGHBOUR_CMD /* Neighbour management commands */
|
2013-10-21 15:20:32 +02:00
|
|
|
//#define PING_CMD /* Ping command */
|
2017-11-05 16:18:48 +01:00
|
|
|
#define CONSOLE_CMD /* Console command */
|
2014-03-02 21:35:13 +01:00
|
|
|
//#define IPSTAT_CMD /* IP statistics commands */
|
2014-04-27 20:31:25 +02:00
|
|
|
//#define PROFSTAT_CMD /* Profiling commands */
|
2016-06-13 16:57:16 +02:00
|
|
|
//#define NTP_CMD /* NTP commands */
|
2016-08-25 16:40:27 +02:00
|
|
|
//#define CERT_CMD /* Certificate management commands */
|
2006-12-20 01:39:06 +01:00
|
|
|
|
2011-05-17 16:35:23 +02:00
|
|
|
/*
|
|
|
|
* ROM-specific options
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
#undef NONPNP_HOOK_INT19 /* Hook INT19 on non-PnP BIOSes */
|
2015-04-13 15:49:02 +02:00
|
|
|
#define AUTOBOOT_ROM_FILTER /* Autoboot only devices matching our ROM */
|
2011-05-17 16:35:23 +02:00
|
|
|
|
2016-03-09 09:41:53 +01:00
|
|
|
/*
|
|
|
|
* Virtual network devices
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
#define VNIC_IPOIB /* Infiniband IPoIB virtual NICs */
|
2016-03-09 01:27:15 +01:00
|
|
|
//#define VNIC_XSIGO /* Infiniband Xsigo virtual NICs */
|
2016-03-09 09:41:53 +01:00
|
|
|
|
2009-08-08 05:17:50 +02:00
|
|
|
/*
|
|
|
|
* Error message tables to include
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
#undef ERRMSG_80211 /* All 802.11 error descriptions (~3.3kb) */
|
|
|
|
|
2008-10-08 01:37:40 +02:00
|
|
|
/*
|
2005-04-18 14:43:18 +02:00
|
|
|
* Obscure configuration options
|
|
|
|
*
|
|
|
|
* You probably don't need to touch these.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#undef BUILD_SERIAL /* Include an automatic build serial
|
|
|
|
* number. Add "bs" to the list of
|
|
|
|
* make targets. For example:
|
|
|
|
* "make bin/rtl8139.dsk bs" */
|
|
|
|
#undef BUILD_ID /* Include a custom build ID string,
|
|
|
|
* e.g "test-foo" */
|
2006-06-11 03:55:43 +02:00
|
|
|
#undef NULL_TRAP /* Attempt to catch NULL function calls */
|
2008-06-11 13:12:46 +02:00
|
|
|
#undef GDBSERIAL /* Remote GDB debugging over serial */
|
|
|
|
#undef GDBUDP /* Remote GDB debugging over UDP
|
|
|
|
* (both may be set) */
|
2015-07-22 21:25:17 +02:00
|
|
|
//#define EFI_DOWNGRADE_UX /* Downgrade UEFI user experience */
|
2016-10-27 00:13:50 +02:00
|
|
|
#define TIVOLI_VMM_WORKAROUND /* Work around the Tivoli VMM's garbling of SSE
|
|
|
|
* registers when iPXE traps to it due to
|
|
|
|
* privileged instructions */
|
2005-04-18 14:43:18 +02:00
|
|
|
|
2014-08-19 17:17:25 +02:00
|
|
|
#include <config/named.h>
|
|
|
|
#include NAMED_CONFIG(general.h)
|
2010-03-22 23:19:00 +01:00
|
|
|
#include <config/local/general.h>
|
2014-08-19 17:17:25 +02:00
|
|
|
#include LOCAL_NAMED_CONFIG(general.h)
|
2010-03-22 23:19:00 +01:00
|
|
|
|
2008-10-08 01:37:40 +02:00
|
|
|
#endif /* CONFIG_GENERAL_H */
|