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

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