You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

general.h 6.4KB

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