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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. * Download protocols
  38. *
  39. */
  40. #define DOWNLOAD_PROTO_TFTP /* Trivial File Transfer Protocol */
  41. #undef DOWNLOAD_PROTO_NFS /* Network File System */
  42. #define DOWNLOAD_PROTO_HTTP /* Hypertext Transfer Protocol */
  43. #undef DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */
  44. #undef DOWNLOAD_PROTO_FTP /* File Transfer Protocol */
  45. #undef DOWNLOAD_PROTO_TFTM /* Multicast Trivial File Transfer Protocol */
  46. #undef DOWNLOAD_PROTO_SLAM /* Scalable Local Area Multicast */
  47. #undef DOWNLOAD_PROTO_FSP /* FSP? */
  48. /*
  49. * SAN boot protocols
  50. *
  51. */
  52. //#undef SANBOOT_PROTO_ISCSI /* iSCSI protocol */
  53. //#undef SANBOOT_PROTO_AOE /* AoE protocol */
  54. /*
  55. * Name resolution modules
  56. *
  57. */
  58. #define DNS_RESOLVER /* DNS resolver */
  59. #undef NMB_RESOLVER /* NMB resolver */
  60. /*
  61. * Image types
  62. *
  63. * Etherboot supports various image formats. Select whichever ones
  64. * you want to use.
  65. *
  66. */
  67. //#define IMAGE_NBI /* NBI image support */
  68. //#define IMAGE_ELF /* ELF image support */
  69. //#define IMAGE_FREEBSD /* FreeBSD kernel image support */
  70. //#define IMAGE_MULTIBOOT /* MultiBoot image support */
  71. //#define IMAGE_AOUT /* a.out image support */
  72. //#define IMAGE_WINCE /* WinCE image support */
  73. //#define IMAGE_PXE /* PXE image support */
  74. //#define IMAGE_SCRIPT /* gPXE script image support */
  75. //#define IMAGE_BZIMAGE /* Linux bzImage image support */
  76. //#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */
  77. //#define IMAGE_EFI /* EFI image support */
  78. /*
  79. * Command-line commands to include
  80. *
  81. */
  82. #define AUTOBOOT_CMD /* Automatic booting */
  83. #define NVO_CMD /* Non-volatile option storage commands */
  84. #define CONFIG_CMD /* Option configuration console */
  85. #define IFMGMT_CMD /* Interface management commands */
  86. #define ROUTE_CMD /* Routing table management commands */
  87. #define IMAGE_CMD /* Image management commands */
  88. #define DHCP_CMD /* DHCP management commands */
  89. #define SANBOOT_CMD /* SAN boot commands */
  90. #define LOGIN_CMD /* Login command */
  91. #undef TIME_CMD /* Time commands */
  92. #undef DIGEST_CMD /* Image crypto digest commands */
  93. //#undef PXE_CMD /* PXE commands */
  94. /*
  95. * Obscure configuration options
  96. *
  97. * You probably don't need to touch these.
  98. *
  99. */
  100. #undef BUILD_SERIAL /* Include an automatic build serial
  101. * number. Add "bs" to the list of
  102. * make targets. For example:
  103. * "make bin/rtl8139.dsk bs" */
  104. #undef BUILD_ID /* Include a custom build ID string,
  105. * e.g "test-foo" */
  106. #undef NULL_TRAP /* Attempt to catch NULL function calls */
  107. #undef GDBSERIAL /* Remote GDB debugging over serial */
  108. #undef GDBUDP /* Remote GDB debugging over UDP
  109. * (both may be set) */
  110. #endif /* CONFIG_GENERAL_H */