Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

config.h 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. /*
  2. * This file defines the configuration for Etherboot.
  3. *
  4. * The build system splits this file into several individual header
  5. * files of the form config/%.h, so that changing one option doesn't
  6. * necessitate a rebuild of every single object. For this reason, it
  7. * is important to maintain the strict formatting in this file.
  8. *
  9. */
  10. /* @BEGIN general.h
  11. *
  12. * Console configuration
  13. *
  14. * These options specify the console types that Etherboot will use for
  15. * interaction with the user.
  16. *
  17. */
  18. #define CONSOLE_FIRMWARE /* Default BIOS console */
  19. #undef CONSOLE_SERIAL /* Serial port */
  20. #undef CONSOLE_DIRECT_VGA /* Direct access to VGA card */
  21. #undef CONSOLE_BTEXT /* Who knows what this does? */
  22. #undef CONSOLE_PC_KBD /* Direct access to PC keyboard */
  23. /* @END general.h */
  24. /* @BEGIN serial.h
  25. *
  26. * Serial port configuration
  27. *
  28. * These options affect the operation of the serial console. They
  29. * take effect only if the serial console is included using the
  30. * CONSOLE_SERIAL option.
  31. *
  32. */
  33. #define COMCONSOLE 0x3f8 /* I/O port address */
  34. /* Keep settings from a previous user of the serial port (e.g. lilo or
  35. * LinuxBIOS), ignoring COMSPEED, COMDATA, COMPARITY and COMSTOP.
  36. */
  37. #undef COMPRESERVE
  38. #ifndef COMPRESERVE
  39. #define COMSPEED 115200 /* Baud rate */
  40. #define COMDATA 8 /* Data bits */
  41. #define COMPARITY 0 /* Parity: 0=None, 1=Odd, 2=Even */
  42. #define COMSTOP 1 /* Stop bits */
  43. #endif
  44. /* @END serial.h */
  45. /* @BEGIN isa.h
  46. *
  47. * ISA probe address configuration
  48. *
  49. * You can override the list of addresses that will be probed by any
  50. * ISA drivers.
  51. *
  52. */
  53. #undef ISA_PROBE_ADDRS /* e.g. 0x200, 0x300 */
  54. #undef ISA_PROBE_ONLY /* Do not probe any other addresses */
  55. /* @END isa.h */
  56. /* @BEGIN general.h
  57. *
  58. * Download protocols
  59. *
  60. */
  61. #define DOWNLOAD_PROTO_TFTP /* Trivial File Transfer Protocol */
  62. #undef DOWNLOAD_PROTO_NFS /* Network File System */
  63. #define DOWNLOAD_PROTO_HTTP /* Hypertext Transfer Protocol */
  64. #undef DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */
  65. #undef DOWNLOAD_PROTO_FTP /* File Transfer Protocol */
  66. #undef DOWNLOAD_PROTO_TFTM /* Multicast Trivial File Transfer Protocol */
  67. #undef DOWNLOAD_PROTO_SLAM /* Scalable Local Area Multicast */
  68. #undef DOWNLOAD_PROTO_FSP /* FSP? */
  69. /* @END general.h */
  70. /* @BEGIN general.h
  71. *
  72. * Name resolution modules
  73. *
  74. */
  75. #define DNS_RESOLVER /* DNS resolver */
  76. #undef NMB_RESOLVER /* NMB resolver */
  77. /* @END general.h */
  78. /* @BEGIN general.h
  79. *
  80. * Image types
  81. *
  82. * Etherboot supports various image formats. Select whichever ones
  83. * you want to use.
  84. *
  85. */
  86. #undef IMAGE_NBI /* NBI image support */
  87. #undef IMAGE_ELF64 /* ELF64 image support */
  88. #undef IMAGE_ELF /* ELF image support */
  89. #undef IMAGE_COFF /* COFF image support */
  90. #undef IMAGE_FREEBSD /* FreeBSD kernel image support */
  91. #define IMAGE_MULTIBOOT /* MultiBoot image support */
  92. #undef IMAGE_AOUT /* a.out image support */
  93. #undef IMAGE_WINCE /* WinCE image support */
  94. #define IMAGE_PXE /* PXE image support */
  95. #define IMAGE_SCRIPT /* gPXE script image support */
  96. #define IMAGE_BZIMAGE /* Linux bzImage image support */
  97. /* @END general.h */
  98. /* @BEGIN general.h
  99. *
  100. * Command-line commands to include
  101. *
  102. */
  103. #define AUTOBOOT_CMD /* Automatic booting */
  104. #define NVO_CMD /* Non-volatile option storage commands */
  105. #define CONFIG_CMD /* Option configuration console */
  106. #define IFMGMT_CMD /* Interface management commands */
  107. #define ROUTE_CMD /* Routing table management commands */
  108. #define IMAGE_CMD /* Image management commands */
  109. #define DHCP_CMD /* DHCP management commands */
  110. /* @END general.h */
  111. /* @BEGIN general.h
  112. *
  113. * Obscure configuration options
  114. *
  115. * You probably don't need to touch these.
  116. *
  117. */
  118. #undef BUILD_SERIAL /* Include an automatic build serial
  119. * number. Add "bs" to the list of
  120. * make targets. For example:
  121. * "make bin/rtl8139.dsk bs" */
  122. #undef BUILD_ID /* Include a custom build ID string,
  123. * e.g "test-foo" */
  124. #undef NULL_TRAP /* Attempt to catch NULL function calls */
  125. #undef DUMP_GDBSYM /* Dump GDB symbol table information */
  126. /* @END general.h */