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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. * Timer configuration
  27. *
  28. */
  29. #define BANNER_TIMEOUT 20 /* Tenths of a second for which the shell
  30. banner should appear */
  31. /*
  32. * Network protocols
  33. *
  34. */
  35. #define NET_PROTO_IPV4 /* IPv4 protocol */
  36. #undef NET_PROTO_FCOE /* Fibre Channel over Ethernet protocol */
  37. /*
  38. * PXE support
  39. *
  40. */
  41. //#undef PXE_STACK /* PXE stack in iPXE - you want this! */
  42. //#undef PXE_MENU /* PXE menu booting */
  43. /*
  44. * Download protocols
  45. *
  46. */
  47. #define DOWNLOAD_PROTO_TFTP /* Trivial File Transfer Protocol */
  48. #define DOWNLOAD_PROTO_HTTP /* Hypertext Transfer Protocol */
  49. #undef DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */
  50. #undef DOWNLOAD_PROTO_FTP /* File Transfer Protocol */
  51. #undef DOWNLOAD_PROTO_TFTM /* Multicast Trivial File Transfer Protocol */
  52. #undef DOWNLOAD_PROTO_SLAM /* Scalable Local Area Multicast */
  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. /*
  62. * 802.11 cryptosystems and handshaking protocols
  63. *
  64. */
  65. #define CRYPTO_80211_WEP /* WEP encryption (deprecated and insecure!) */
  66. #define CRYPTO_80211_WPA /* WPA Personal, authenticating with passphrase */
  67. #define CRYPTO_80211_WPA2 /* Add support for stronger WPA cryptography */
  68. /*
  69. * Name resolution modules
  70. *
  71. */
  72. #define DNS_RESOLVER /* DNS resolver */
  73. /*
  74. * Image types
  75. *
  76. * Etherboot supports various image formats. Select whichever ones
  77. * you want to use.
  78. *
  79. */
  80. //#define IMAGE_NBI /* NBI image support */
  81. //#define IMAGE_ELF /* ELF image support */
  82. //#define IMAGE_FREEBSD /* FreeBSD kernel image support */
  83. //#define IMAGE_MULTIBOOT /* MultiBoot image support */
  84. //#define IMAGE_AOUT /* a.out image support */
  85. //#define IMAGE_WINCE /* WinCE image support */
  86. //#define IMAGE_PXE /* PXE image support */
  87. //#define IMAGE_SCRIPT /* iPXE script image support */
  88. //#define IMAGE_BZIMAGE /* Linux bzImage image support */
  89. //#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */
  90. //#define IMAGE_EFI /* EFI image support */
  91. /*
  92. * Command-line commands to include
  93. *
  94. */
  95. #define AUTOBOOT_CMD /* Automatic booting */
  96. #define NVO_CMD /* Non-volatile option storage commands */
  97. #define CONFIG_CMD /* Option configuration console */
  98. #define IFMGMT_CMD /* Interface management commands */
  99. #define IWMGMT_CMD /* Wireless interface management commands */
  100. #define FCMGMT_CMD /* Fibre Channel management commands */
  101. #define ROUTE_CMD /* Routing table management commands */
  102. #define IMAGE_CMD /* Image management commands */
  103. #define DHCP_CMD /* DHCP management commands */
  104. #define SANBOOT_CMD /* SAN boot commands */
  105. #define MENU_CMD /* Menu commands */
  106. #define LOGIN_CMD /* Login 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 IMAGE_TRUST_CMD /* Image trust management commands */
  114. /*
  115. * ROM-specific options
  116. *
  117. */
  118. #undef NONPNP_HOOK_INT19 /* Hook INT19 on non-PnP BIOSes */
  119. /*
  120. * Error message tables to include
  121. *
  122. */
  123. #undef ERRMSG_80211 /* All 802.11 error descriptions (~3.3kb) */
  124. /*
  125. * Obscure configuration options
  126. *
  127. * You probably don't need to touch these.
  128. *
  129. */
  130. #define NETDEV_DISCARD_RATE 0 /* Drop every N packets (0=>no drop) */
  131. #undef BUILD_SERIAL /* Include an automatic build serial
  132. * number. Add "bs" to the list of
  133. * make targets. For example:
  134. * "make bin/rtl8139.dsk bs" */
  135. #undef BUILD_ID /* Include a custom build ID string,
  136. * e.g "test-foo" */
  137. #undef NULL_TRAP /* Attempt to catch NULL function calls */
  138. #undef GDBSERIAL /* Remote GDB debugging over serial */
  139. #undef GDBUDP /* Remote GDB debugging over UDP
  140. * (both may be set) */
  141. #include <config/local/general.h>
  142. #endif /* CONFIG_GENERAL_H */