選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

general.h 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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 gPXE.
  14. * PRODUCT_NAME is displayed prior to any gPXE 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. * "gPXE".
  21. *
  22. */
  23. #define PRODUCT_NAME ""
  24. #define PRODUCT_SHORT_NAME "gPXE"
  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. /*
  37. * PXE support
  38. *
  39. */
  40. //#undef PXE_STACK /* PXE stack in gPXE - you want this! */
  41. //#undef PXE_MENU /* PXE menu booting */
  42. /*
  43. * Download protocols
  44. *
  45. */
  46. #define DOWNLOAD_PROTO_TFTP /* Trivial File Transfer Protocol */
  47. #undef DOWNLOAD_PROTO_NFS /* Network File System */
  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. #undef DOWNLOAD_PROTO_FSP /* FSP? */
  54. /*
  55. * SAN boot protocols
  56. *
  57. */
  58. //#undef SANBOOT_PROTO_ISCSI /* iSCSI protocol */
  59. //#undef SANBOOT_PROTO_AOE /* AoE protocol */
  60. //#undef SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA 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. #undef NMB_RESOLVER /* NMB resolver */
  74. /*
  75. * Image types
  76. *
  77. * Etherboot supports various image formats. Select whichever ones
  78. * you want to use.
  79. *
  80. */
  81. //#define IMAGE_NBI /* NBI image support */
  82. //#define IMAGE_ELF /* ELF image support */
  83. //#define IMAGE_FREEBSD /* FreeBSD kernel image support */
  84. //#define IMAGE_MULTIBOOT /* MultiBoot image support */
  85. //#define IMAGE_AOUT /* a.out image support */
  86. //#define IMAGE_WINCE /* WinCE image support */
  87. //#define IMAGE_PXE /* PXE image support */
  88. //#define IMAGE_SCRIPT /* gPXE script image support */
  89. //#define IMAGE_BZIMAGE /* Linux bzImage image support */
  90. //#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */
  91. //#define IMAGE_EFI /* EFI image support */
  92. /*
  93. * Command-line commands to include
  94. *
  95. */
  96. #define AUTOBOOT_CMD /* Automatic booting */
  97. #define NVO_CMD /* Non-volatile option storage commands */
  98. #define CONFIG_CMD /* Option configuration console */
  99. #define IFMGMT_CMD /* Interface management commands */
  100. #define IWMGMT_CMD /* Wireless interface 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 LOGIN_CMD /* Login command */
  106. #undef TIME_CMD /* Time commands */
  107. #undef DIGEST_CMD /* Image crypto digest commands */
  108. //#undef PXE_CMD /* PXE commands */
  109. /*
  110. * Error message tables to include
  111. *
  112. */
  113. #undef ERRMSG_80211 /* All 802.11 error descriptions (~3.3kb) */
  114. /*
  115. * Obscure configuration options
  116. *
  117. * You probably don't need to touch these.
  118. *
  119. */
  120. #undef BUILD_SERIAL /* Include an automatic build serial
  121. * number. Add "bs" to the list of
  122. * make targets. For example:
  123. * "make bin/rtl8139.dsk bs" */
  124. #undef BUILD_ID /* Include a custom build ID string,
  125. * e.g "test-foo" */
  126. #undef NULL_TRAP /* Attempt to catch NULL function calls */
  127. #undef GDBSERIAL /* Remote GDB debugging over serial */
  128. #undef GDBUDP /* Remote GDB debugging over UDP
  129. * (both may be set) */
  130. #endif /* CONFIG_GENERAL_H */