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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. #ifndef CONFIG_GENERAL_H
  2. #define CONFIG_GENERAL_H
  3. /** @file
  4. *
  5. * General configuration
  6. *
  7. */
  8. FILE_LICENCE ( GPL2_OR_LATER );
  9. #include <config/defaults.h>
  10. /*
  11. * Branding
  12. *
  13. * Vendors may use these strings to add their own branding to iPXE.
  14. * PRODUCT_NAME is displayed prior to any iPXE branding in startup
  15. * messages, and PRODUCT_SHORT_NAME is used where a brief product
  16. * label is required (e.g. in BIOS boot selection menus).
  17. *
  18. * To minimise end-user confusion, it's probably a good idea to either
  19. * make PRODUCT_SHORT_NAME a substring of PRODUCT_NAME or leave it as
  20. * "iPXE".
  21. *
  22. */
  23. #define PRODUCT_NAME ""
  24. #define PRODUCT_SHORT_NAME "iPXE"
  25. /*
  26. * Banner timeout configuration
  27. *
  28. * This controls the timeout for the "Press Ctrl-B for the iPXE
  29. * command line" banner displayed when iPXE starts up. The value is
  30. * specified in tenths of a second for which the banner should appear.
  31. * A value of 0 disables the banner.
  32. *
  33. * ROM_BANNER_TIMEOUT controls the "Press Ctrl-B to configure iPXE"
  34. * banner displayed only by ROM builds of iPXE during POST. This
  35. * defaults to being twice the length of BANNER_TIMEOUT, to allow for
  36. * BIOSes that switch video modes immediately before calling the
  37. * initialisation vector, thus rendering the banner almost invisible
  38. * to the user.
  39. */
  40. #define BANNER_TIMEOUT 20
  41. #define ROM_BANNER_TIMEOUT ( 2 * BANNER_TIMEOUT )
  42. /*
  43. * Network protocols
  44. *
  45. */
  46. #define NET_PROTO_IPV4 /* IPv4 protocol */
  47. #undef NET_PROTO_IPV6 /* IPv6 protocol */
  48. #undef NET_PROTO_FCOE /* Fibre Channel over Ethernet protocol */
  49. /*
  50. * PXE support
  51. *
  52. */
  53. //#undef PXE_STACK /* PXE stack in iPXE - you want this! */
  54. //#undef PXE_MENU /* PXE menu booting */
  55. /*
  56. * Download protocols
  57. *
  58. */
  59. #define DOWNLOAD_PROTO_TFTP /* Trivial File Transfer Protocol */
  60. #define DOWNLOAD_PROTO_HTTP /* Hypertext Transfer Protocol */
  61. #undef DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */
  62. #undef DOWNLOAD_PROTO_FTP /* File Transfer Protocol */
  63. #undef DOWNLOAD_PROTO_SLAM /* Scalable Local Area Multicast */
  64. #undef DOWNLOAD_PROTO_NFS /* Network File System Protocol */
  65. /*
  66. * SAN boot protocols
  67. *
  68. */
  69. //#undef SANBOOT_PROTO_ISCSI /* iSCSI protocol */
  70. //#undef SANBOOT_PROTO_AOE /* AoE protocol */
  71. //#undef SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */
  72. //#undef SANBOOT_PROTO_FCP /* Fibre Channel protocol */
  73. /*
  74. * 802.11 cryptosystems and handshaking protocols
  75. *
  76. */
  77. #define CRYPTO_80211_WEP /* WEP encryption (deprecated and insecure!) */
  78. #define CRYPTO_80211_WPA /* WPA Personal, authenticating with passphrase */
  79. #define CRYPTO_80211_WPA2 /* Add support for stronger WPA cryptography */
  80. /*
  81. * Name resolution modules
  82. *
  83. */
  84. #define DNS_RESOLVER /* DNS resolver */
  85. /*
  86. * Image types
  87. *
  88. * Etherboot supports various image formats. Select whichever ones
  89. * you want to use.
  90. *
  91. */
  92. //#define IMAGE_NBI /* NBI image support */
  93. //#define IMAGE_ELF /* ELF image support */
  94. //#define IMAGE_MULTIBOOT /* MultiBoot image support */
  95. //#define IMAGE_PXE /* PXE image support */
  96. //#define IMAGE_SCRIPT /* iPXE script image support */
  97. //#define IMAGE_BZIMAGE /* Linux bzImage image support */
  98. //#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */
  99. //#define IMAGE_EFI /* EFI image support */
  100. //#define IMAGE_SDI /* SDI image support */
  101. //#define IMAGE_PNM /* PNM image support */
  102. //#define IMAGE_PNG /* PNG 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 FCMGMT_CMD /* Fibre Channel management commands */
  113. #define ROUTE_CMD /* Routing table management commands */
  114. #define IMAGE_CMD /* Image management commands */
  115. #define DHCP_CMD /* DHCP management commands */
  116. #define SANBOOT_CMD /* SAN boot commands */
  117. #define MENU_CMD /* Menu commands */
  118. #define LOGIN_CMD /* Login command */
  119. #define SYNC_CMD /* Sync command */
  120. //#define NSLOOKUP_CMD /* DNS resolving command */
  121. //#define TIME_CMD /* Time commands */
  122. //#define DIGEST_CMD /* Image crypto digest commands */
  123. //#define LOTEST_CMD /* Loopback testing commands */
  124. //#define VLAN_CMD /* VLAN commands */
  125. //#define PXE_CMD /* PXE commands */
  126. //#define REBOOT_CMD /* Reboot command */
  127. //#define POWEROFF_CMD /* Power off command */
  128. //#define IMAGE_TRUST_CMD /* Image trust management commands */
  129. //#define PCI_CMD /* PCI commands */
  130. //#define PARAM_CMD /* Form parameter commands */
  131. //#define NEIGHBOUR_CMD /* Neighbour management commands */
  132. //#define PING_CMD /* Ping command */
  133. //#define CONSOLE_CMD /* Console command */
  134. //#define IPSTAT_CMD /* IP statistics commands */
  135. //#define PROFSTAT_CMD /* Profiling commands */
  136. /*
  137. * ROM-specific options
  138. *
  139. */
  140. #undef NONPNP_HOOK_INT19 /* Hook INT19 on non-PnP BIOSes */
  141. /*
  142. * Error message tables to include
  143. *
  144. */
  145. #undef ERRMSG_80211 /* All 802.11 error descriptions (~3.3kb) */
  146. /*
  147. * Obscure configuration options
  148. *
  149. * You probably don't need to touch these.
  150. *
  151. */
  152. #define NETDEV_DISCARD_RATE 0 /* Drop every N packets (0=>no drop) */
  153. #undef BUILD_SERIAL /* Include an automatic build serial
  154. * number. Add "bs" to the list of
  155. * make targets. For example:
  156. * "make bin/rtl8139.dsk bs" */
  157. #undef BUILD_ID /* Include a custom build ID string,
  158. * e.g "test-foo" */
  159. #undef NULL_TRAP /* Attempt to catch NULL function calls */
  160. #undef GDBSERIAL /* Remote GDB debugging over serial */
  161. #undef GDBUDP /* Remote GDB debugging over UDP
  162. * (both may be set) */
  163. #include <config/named.h>
  164. #include NAMED_CONFIG(general.h)
  165. #include <config/local/general.h>
  166. #include LOCAL_NAMED_CONFIG(general.h)
  167. #endif /* CONFIG_GENERAL_H */