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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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. /*
  35. * PXE support
  36. *
  37. */
  38. //#undef PXE_STACK /* PXE stack in iPXE - you want this! */
  39. //#undef PXE_MENU /* PXE menu booting */
  40. /*
  41. * Download protocols
  42. *
  43. */
  44. #define DOWNLOAD_PROTO_TFTP /* Trivial File Transfer Protocol */
  45. #define DOWNLOAD_PROTO_HTTP /* Hypertext Transfer Protocol */
  46. #undef DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */
  47. #undef DOWNLOAD_PROTO_FTP /* File Transfer Protocol */
  48. #undef DOWNLOAD_PROTO_SLAM /* Scalable Local Area Multicast */
  49. #undef DOWNLOAD_PROTO_NFS /* Network File System Protocol */
  50. /*
  51. * SAN boot protocols
  52. *
  53. */
  54. //#undef SANBOOT_PROTO_ISCSI /* iSCSI protocol */
  55. //#undef SANBOOT_PROTO_AOE /* AoE protocol */
  56. //#undef SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */
  57. //#undef SANBOOT_PROTO_FCP /* Fibre Channel protocol */
  58. /*
  59. * 802.11 cryptosystems and handshaking protocols
  60. *
  61. */
  62. #define CRYPTO_80211_WEP /* WEP encryption (deprecated and insecure!) */
  63. #define CRYPTO_80211_WPA /* WPA Personal, authenticating with passphrase */
  64. #define CRYPTO_80211_WPA2 /* Add support for stronger WPA cryptography */
  65. /*
  66. * Name resolution modules
  67. *
  68. */
  69. #define DNS_RESOLVER /* DNS resolver */
  70. /*
  71. * Image types
  72. *
  73. * Etherboot supports various image formats. Select whichever ones
  74. * you want to use.
  75. *
  76. */
  77. //#define IMAGE_NBI /* NBI image support */
  78. //#define IMAGE_ELF /* ELF image support */
  79. //#define IMAGE_MULTIBOOT /* MultiBoot image support */
  80. //#define IMAGE_PXE /* PXE image support */
  81. //#define IMAGE_SCRIPT /* iPXE script image support */
  82. //#define IMAGE_BZIMAGE /* Linux bzImage image support */
  83. //#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */
  84. //#define IMAGE_EFI /* EFI image support */
  85. //#define IMAGE_SDI /* SDI image support */
  86. //#define IMAGE_PNM /* PNM image support */
  87. //#define IMAGE_PNG /* PNG image support */
  88. /*
  89. * Command-line commands to include
  90. *
  91. */
  92. #define AUTOBOOT_CMD /* Automatic booting */
  93. #define NVO_CMD /* Non-volatile option storage commands */
  94. #define CONFIG_CMD /* Option configuration console */
  95. #define IFMGMT_CMD /* Interface management commands */
  96. #define IWMGMT_CMD /* Wireless interface management commands */
  97. #define FCMGMT_CMD /* Fibre Channel management commands */
  98. #define ROUTE_CMD /* Routing table management commands */
  99. #define IMAGE_CMD /* Image management commands */
  100. #define DHCP_CMD /* DHCP management commands */
  101. #define SANBOOT_CMD /* SAN boot commands */
  102. #define MENU_CMD /* Menu commands */
  103. #define LOGIN_CMD /* Login command */
  104. #define SYNC_CMD /* Sync command */
  105. //#define NSLOOKUP_CMD /* DNS resolving command */
  106. //#define TIME_CMD /* Time commands */
  107. //#define DIGEST_CMD /* Image crypto digest commands */
  108. //#define LOTEST_CMD /* Loopback testing commands */
  109. //#define VLAN_CMD /* VLAN commands */
  110. //#define PXE_CMD /* PXE commands */
  111. //#define REBOOT_CMD /* Reboot command */
  112. //#define POWEROFF_CMD /* Power off command */
  113. //#define IMAGE_TRUST_CMD /* Image trust management commands */
  114. //#define PCI_CMD /* PCI commands */
  115. //#define PARAM_CMD /* Form parameter commands */
  116. //#define NEIGHBOUR_CMD /* Neighbour management commands */
  117. //#define PING_CMD /* Ping command */
  118. //#define CONSOLE_CMD /* Console command */
  119. //#define IPSTAT_CMD /* IP statistics commands */
  120. //#define PROFSTAT_CMD /* Profiling commands */
  121. /*
  122. * ROM-specific options
  123. *
  124. */
  125. #undef NONPNP_HOOK_INT19 /* Hook INT19 on non-PnP BIOSes */
  126. /*
  127. * Error message tables to include
  128. *
  129. */
  130. #undef ERRMSG_80211 /* All 802.11 error descriptions (~3.3kb) */
  131. /*
  132. * Obscure configuration options
  133. *
  134. * You probably don't need to touch these.
  135. *
  136. */
  137. #define NETDEV_DISCARD_RATE 0 /* Drop every N packets (0=>no drop) */
  138. #undef BUILD_SERIAL /* Include an automatic build serial
  139. * number. Add "bs" to the list of
  140. * make targets. For example:
  141. * "make bin/rtl8139.dsk bs" */
  142. #undef BUILD_ID /* Include a custom build ID string,
  143. * e.g "test-foo" */
  144. #undef NULL_TRAP /* Attempt to catch NULL function calls */
  145. #undef GDBSERIAL /* Remote GDB debugging over serial */
  146. #undef GDBUDP /* Remote GDB debugging over UDP
  147. * (both may be set) */
  148. #include <config/named.h>
  149. #include NAMED_CONFIG(general.h)
  150. #include <config/local/general.h>
  151. #include LOCAL_NAMED_CONFIG(general.h)
  152. #endif /* CONFIG_GENERAL_H */