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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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_SLAM /* Scalable Local Area Multicast */
  52. /*
  53. * SAN boot protocols
  54. *
  55. */
  56. //#undef SANBOOT_PROTO_ISCSI /* iSCSI protocol */
  57. //#undef SANBOOT_PROTO_AOE /* AoE protocol */
  58. //#undef SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */
  59. //#undef SANBOOT_PROTO_FCP /* Fibre Channel protocol */
  60. /*
  61. * 802.11 cryptosystems and handshaking protocols
  62. *
  63. */
  64. #define CRYPTO_80211_WEP /* WEP encryption (deprecated and insecure!) */
  65. #define CRYPTO_80211_WPA /* WPA Personal, authenticating with passphrase */
  66. #define CRYPTO_80211_WPA2 /* Add support for stronger WPA cryptography */
  67. /*
  68. * Name resolution modules
  69. *
  70. */
  71. #define DNS_RESOLVER /* DNS resolver */
  72. /*
  73. * Image types
  74. *
  75. * Etherboot supports various image formats. Select whichever ones
  76. * you want to use.
  77. *
  78. */
  79. //#define IMAGE_NBI /* NBI image support */
  80. //#define IMAGE_ELF /* ELF image support */
  81. //#define IMAGE_MULTIBOOT /* MultiBoot image support */
  82. //#define IMAGE_PXE /* PXE image support */
  83. //#define IMAGE_SCRIPT /* iPXE script image support */
  84. //#define IMAGE_BZIMAGE /* Linux bzImage image support */
  85. //#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */
  86. //#define IMAGE_EFI /* EFI image support */
  87. /*
  88. * Command-line commands to include
  89. *
  90. */
  91. #define AUTOBOOT_CMD /* Automatic booting */
  92. #define NVO_CMD /* Non-volatile option storage commands */
  93. #define CONFIG_CMD /* Option configuration console */
  94. #define IFMGMT_CMD /* Interface management commands */
  95. #define IWMGMT_CMD /* Wireless interface management commands */
  96. #define FCMGMT_CMD /* Fibre Channel management commands */
  97. #define ROUTE_CMD /* Routing table management commands */
  98. #define IMAGE_CMD /* Image management commands */
  99. #define DHCP_CMD /* DHCP management commands */
  100. #define SANBOOT_CMD /* SAN boot commands */
  101. #define MENU_CMD /* Menu commands */
  102. #define LOGIN_CMD /* Login command */
  103. #define SYNC_CMD /* Sync command */
  104. //#define TIME_CMD /* Time commands */
  105. //#define DIGEST_CMD /* Image crypto digest commands */
  106. //#define LOTEST_CMD /* Loopback testing commands */
  107. //#define VLAN_CMD /* VLAN commands */
  108. //#define PXE_CMD /* PXE commands */
  109. //#define REBOOT_CMD /* Reboot command */
  110. //#define IMAGE_TRUST_CMD /* Image trust management commands */
  111. /*
  112. * ROM-specific options
  113. *
  114. */
  115. #undef NONPNP_HOOK_INT19 /* Hook INT19 on non-PnP BIOSes */
  116. /*
  117. * Error message tables to include
  118. *
  119. */
  120. #undef ERRMSG_80211 /* All 802.11 error descriptions (~3.3kb) */
  121. /*
  122. * Obscure configuration options
  123. *
  124. * You probably don't need to touch these.
  125. *
  126. */
  127. #define NETDEV_DISCARD_RATE 0 /* Drop every N packets (0=>no drop) */
  128. #undef BUILD_SERIAL /* Include an automatic build serial
  129. * number. Add "bs" to the list of
  130. * make targets. For example:
  131. * "make bin/rtl8139.dsk bs" */
  132. #undef BUILD_ID /* Include a custom build ID string,
  133. * e.g "test-foo" */
  134. #undef NULL_TRAP /* Attempt to catch NULL function calls */
  135. #undef GDBSERIAL /* Remote GDB debugging over serial */
  136. #undef GDBUDP /* Remote GDB debugging over UDP
  137. * (both may be set) */
  138. #include <config/local/general.h>
  139. #endif /* CONFIG_GENERAL_H */