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 5.9KB

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