These changes are the raw update to qemu-2.6.
[kvmfornfv.git] / qemu / roms / ipxe / 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
61 /*
62  * SAN boot protocols
63  *
64  */
65
66 //#undef        SANBOOT_PROTO_ISCSI     /* iSCSI protocol */
67 //#undef        SANBOOT_PROTO_AOE       /* AoE protocol */
68 //#undef        SANBOOT_PROTO_IB_SRP    /* Infiniband SCSI RDMA protocol */
69 //#undef        SANBOOT_PROTO_FCP       /* Fibre Channel protocol */
70 //#undef        SANBOOT_PROTO_HTTP      /* HTTP SAN protocol */
71
72 /*
73  * HTTP extensions
74  *
75  */
76 #define HTTP_AUTH_BASIC         /* Basic authentication */
77 #define HTTP_AUTH_DIGEST        /* Digest authentication */
78 //#define HTTP_ENC_PEERDIST     /* PeerDist content encoding */
79
80 /*
81  * 802.11 cryptosystems and handshaking protocols
82  *
83  */
84 #define CRYPTO_80211_WEP        /* WEP encryption (deprecated and insecure!) */
85 #define CRYPTO_80211_WPA        /* WPA Personal, authenticating with passphrase */
86 #define CRYPTO_80211_WPA2       /* Add support for stronger WPA cryptography */
87
88 /*
89  * Name resolution modules
90  *
91  */
92
93 #define DNS_RESOLVER            /* DNS resolver */
94
95 /*
96  * Image types
97  *
98  * Etherboot supports various image formats.  Select whichever ones
99  * you want to use.
100  *
101  */
102 //#define       IMAGE_NBI               /* NBI image support */
103 //#define       IMAGE_ELF               /* ELF image support */
104 //#define       IMAGE_MULTIBOOT         /* MultiBoot image support */
105 //#define       IMAGE_PXE               /* PXE image support */
106 //#define       IMAGE_SCRIPT            /* iPXE script image support */
107 //#define       IMAGE_BZIMAGE           /* Linux bzImage image support */
108 //#define       IMAGE_COMBOOT           /* SYSLINUX COMBOOT image support */
109 //#define       IMAGE_EFI               /* EFI image support */
110 //#define       IMAGE_SDI               /* SDI image support */
111 //#define       IMAGE_PNM               /* PNM image support */
112 //#define       IMAGE_PNG               /* PNG image support */
113
114 /*
115  * Command-line commands to include
116  *
117  */
118 #define AUTOBOOT_CMD            /* Automatic booting */
119 #define NVO_CMD                 /* Non-volatile option storage commands */
120 #define CONFIG_CMD              /* Option configuration console */
121 #define IFMGMT_CMD              /* Interface management commands */
122 #define IWMGMT_CMD              /* Wireless interface management commands */
123 #define FCMGMT_CMD              /* Fibre Channel management commands */
124 #define ROUTE_CMD               /* Routing table management commands */
125 #define IMAGE_CMD               /* Image management commands */
126 #define DHCP_CMD                /* DHCP management commands */
127 #define SANBOOT_CMD             /* SAN boot commands */
128 #define MENU_CMD                /* Menu commands */
129 #define LOGIN_CMD               /* Login command */
130 #define SYNC_CMD                /* Sync command */
131 //#define NSLOOKUP_CMD          /* DNS resolving command */
132 //#define TIME_CMD              /* Time commands */
133 //#define DIGEST_CMD            /* Image crypto digest commands */
134 //#define LOTEST_CMD            /* Loopback testing commands */
135 //#define VLAN_CMD              /* VLAN commands */
136 //#define PXE_CMD               /* PXE commands */
137 //#define REBOOT_CMD            /* Reboot command */
138 //#define POWEROFF_CMD          /* Power off command */
139 //#define IMAGE_TRUST_CMD       /* Image trust management commands */
140 //#define PCI_CMD               /* PCI commands */
141 //#define PARAM_CMD             /* Form parameter commands */
142 //#define NEIGHBOUR_CMD         /* Neighbour management commands */
143 //#define PING_CMD              /* Ping command */
144 //#define CONSOLE_CMD           /* Console command */
145 //#define IPSTAT_CMD            /* IP statistics commands */
146 //#define PROFSTAT_CMD          /* Profiling commands */
147
148 /*
149  * ROM-specific options
150  *
151  */
152 #undef  NONPNP_HOOK_INT19       /* Hook INT19 on non-PnP BIOSes */
153 #define AUTOBOOT_ROM_FILTER     /* Autoboot only devices matching our ROM */
154
155 /*
156  * Error message tables to include
157  *
158  */
159 #undef  ERRMSG_80211            /* All 802.11 error descriptions (~3.3kb) */
160
161 /*
162  * Obscure configuration options
163  *
164  * You probably don't need to touch these.
165  *
166  */
167
168 #undef  BUILD_SERIAL            /* Include an automatic build serial
169                                  * number.  Add "bs" to the list of
170                                  * make targets.  For example:
171                                  * "make bin/rtl8139.dsk bs" */
172 #undef  BUILD_ID                /* Include a custom build ID string,
173                                  * e.g "test-foo" */
174 #undef  NULL_TRAP               /* Attempt to catch NULL function calls */
175 #undef  GDBSERIAL               /* Remote GDB debugging over serial */
176 #undef  GDBUDP                  /* Remote GDB debugging over UDP
177                                  * (both may be set) */
178 //#define EFI_DOWNGRADE_UX      /* Downgrade UEFI user experience */
179
180 #include <config/named.h>
181 #include NAMED_CONFIG(general.h)
182 #include <config/local/general.h>
183 #include LOCAL_NAMED_CONFIG(general.h)
184
185 #endif /* CONFIG_GENERAL_H */