[efi] Provide access to files stored on EFI filesystems
[ipxe.git] / src / config / general.h
1 #ifndef CONFIG_GENERAL_H
2 #define CONFIG_GENERAL_H
3
4 /** @file
5 *
6 * General configuration
7 *
8 */
9
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11
12 #include <config/defaults.h>
13
14 /*
15 * Banner timeout configuration
16 *
17 * This controls the timeout for the "Press Ctrl-B for the iPXE
18 * command line" banner displayed when iPXE starts up. The value is
19 * specified in tenths of a second for which the banner should appear.
20 * A value of 0 disables the banner.
21 *
22 * ROM_BANNER_TIMEOUT controls the "Press Ctrl-B to configure iPXE"
23 * banner displayed only by ROM builds of iPXE during POST. This
24 * defaults to being twice the length of BANNER_TIMEOUT, to allow for
25 * BIOSes that switch video modes immediately before calling the
26 * initialisation vector, thus rendering the banner almost invisible
27 * to the user.
28 */
29 #define BANNER_TIMEOUT 20
30 #define ROM_BANNER_TIMEOUT ( 2 * BANNER_TIMEOUT )
31
32 /*
33 * Network protocols
34 *
35 */
36
37 #define NET_PROTO_IPV4 /* IPv4 protocol */
38 #undef NET_PROTO_IPV6 /* IPv6 protocol */
39 #undef NET_PROTO_FCOE /* Fibre Channel over Ethernet protocol */
40 #define NET_PROTO_STP /* Spanning Tree protocol */
41
42 /*
43 * PXE support
44 *
45 */
46 //#undef PXE_STACK /* PXE stack in iPXE - you want this! */
47 //#undef PXE_MENU /* PXE menu booting */
48
49 /*
50 * Download protocols
51 *
52 */
53
54 #define DOWNLOAD_PROTO_TFTP /* Trivial File Transfer Protocol */
55 #define DOWNLOAD_PROTO_HTTP /* Hypertext Transfer Protocol */
56 #undef DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */
57 #undef DOWNLOAD_PROTO_FTP /* File Transfer Protocol */
58 #undef DOWNLOAD_PROTO_SLAM /* Scalable Local Area Multicast */
59 #undef DOWNLOAD_PROTO_NFS /* Network File System Protocol */
60 //#undef DOWNLOAD_PROTO_FILE /* Local filesystem access */
61
62 /*
63 * SAN boot protocols
64 *
65 */
66
67 //#undef SANBOOT_PROTO_ISCSI /* iSCSI protocol */
68 //#undef SANBOOT_PROTO_AOE /* AoE protocol */
69 //#undef SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */
70 //#undef SANBOOT_PROTO_FCP /* Fibre Channel protocol */
71 //#undef SANBOOT_PROTO_HTTP /* HTTP SAN protocol */
72
73 /*
74 * HTTP extensions
75 *
76 */
77 #define HTTP_AUTH_BASIC /* Basic authentication */
78 #define HTTP_AUTH_DIGEST /* Digest authentication */
79 //#define HTTP_ENC_PEERDIST /* PeerDist content encoding */
80
81 /*
82 * 802.11 cryptosystems and handshaking protocols
83 *
84 */
85 #define CRYPTO_80211_WEP /* WEP encryption (deprecated and insecure!) */
86 #define CRYPTO_80211_WPA /* WPA Personal, authenticating with passphrase */
87 #define CRYPTO_80211_WPA2 /* Add support for stronger WPA cryptography */
88
89 /*
90 * Name resolution modules
91 *
92 */
93
94 #define DNS_RESOLVER /* DNS resolver */
95
96 /*
97 * Image types
98 *
99 * Etherboot supports various image formats. Select whichever ones
100 * you want to use.
101 *
102 */
103 //#define IMAGE_NBI /* NBI image support */
104 //#define IMAGE_ELF /* ELF image support */
105 //#define IMAGE_MULTIBOOT /* MultiBoot image support */
106 //#define IMAGE_PXE /* PXE image support */
107 //#define IMAGE_SCRIPT /* iPXE script image support */
108 //#define IMAGE_BZIMAGE /* Linux bzImage image support */
109 //#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */
110 //#define IMAGE_EFI /* EFI image support */
111 //#define IMAGE_SDI /* SDI image support */
112 //#define IMAGE_PNM /* PNM image support */
113 //#define IMAGE_PNG /* PNG image support */
114
115 /*
116 * Command-line commands to include
117 *
118 */
119 #define AUTOBOOT_CMD /* Automatic booting */
120 #define NVO_CMD /* Non-volatile option storage commands */
121 #define CONFIG_CMD /* Option configuration console */
122 #define IFMGMT_CMD /* Interface management commands */
123 #define IWMGMT_CMD /* Wireless interface management commands */
124 #define IBMGMT_CMD /* Infiniband management commands */
125 #define FCMGMT_CMD /* Fibre Channel management commands */
126 #define ROUTE_CMD /* Routing table management commands */
127 #define IMAGE_CMD /* Image management commands */
128 #define DHCP_CMD /* DHCP management commands */
129 #define SANBOOT_CMD /* SAN boot commands */
130 #define MENU_CMD /* Menu commands */
131 #define LOGIN_CMD /* Login command */
132 #define SYNC_CMD /* Sync command */
133 //#define NSLOOKUP_CMD /* DNS resolving command */
134 //#define TIME_CMD /* Time commands */
135 //#define DIGEST_CMD /* Image crypto digest commands */
136 //#define LOTEST_CMD /* Loopback testing commands */
137 //#define VLAN_CMD /* VLAN commands */
138 //#define PXE_CMD /* PXE commands */
139 //#define REBOOT_CMD /* Reboot command */
140 //#define POWEROFF_CMD /* Power off command */
141 //#define IMAGE_TRUST_CMD /* Image trust management commands */
142 //#define PCI_CMD /* PCI commands */
143 //#define PARAM_CMD /* Form parameter commands */
144 //#define NEIGHBOUR_CMD /* Neighbour management commands */
145 //#define PING_CMD /* Ping command */
146 //#define CONSOLE_CMD /* Console command */
147 //#define IPSTAT_CMD /* IP statistics commands */
148 //#define PROFSTAT_CMD /* Profiling commands */
149
150 /*
151 * ROM-specific options
152 *
153 */
154 #undef NONPNP_HOOK_INT19 /* Hook INT19 on non-PnP BIOSes */
155 #define AUTOBOOT_ROM_FILTER /* Autoboot only devices matching our ROM */
156
157 /*
158 * Virtual network devices
159 *
160 */
161 #define VNIC_IPOIB /* Infiniband IPoIB virtual NICs */
162 //#define VNIC_XSIGO /* Infiniband Xsigo virtual NICs */
163
164 /*
165 * Error message tables to include
166 *
167 */
168 #undef ERRMSG_80211 /* All 802.11 error descriptions (~3.3kb) */
169
170 /*
171 * Obscure configuration options
172 *
173 * You probably don't need to touch these.
174 *
175 */
176
177 #undef BUILD_SERIAL /* Include an automatic build serial
178 * number. Add "bs" to the list of
179 * make targets. For example:
180 * "make bin/rtl8139.dsk bs" */
181 #undef BUILD_ID /* Include a custom build ID string,
182 * e.g "test-foo" */
183 #undef NULL_TRAP /* Attempt to catch NULL function calls */
184 #undef GDBSERIAL /* Remote GDB debugging over serial */
185 #undef GDBUDP /* Remote GDB debugging over UDP
186 * (both may be set) */
187 //#define EFI_DOWNGRADE_UX /* Downgrade UEFI user experience */
188
189 #include <config/named.h>
190 #include NAMED_CONFIG(general.h)
191 #include <config/local/general.h>
192 #include LOCAL_NAMED_CONFIG(general.h)
193
194 #endif /* CONFIG_GENERAL_H */