您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

config.h 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. #ifdef COMPRESERVE
  39. #define COMSPEED 9600 /* 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. #undef DOWNLOAD_PROTO_HTTP /* Hypertext Transfer Protocol */
  64. #undef DOWNLOAD_PROTO_TFTM /* Multicast Trivial File Transfer Protocol */
  65. #undef DOWNLOAD_PROTO_SLAM /* Scalable Local Area Multicast */
  66. #undef DOWNLOAD_PROTO_FSP /* FSP? */
  67. /* @END general.h */
  68. /* @BEGIN general.h
  69. *
  70. * Name resolution modules
  71. *
  72. */
  73. #define DNS_RESOLVER /* DNS resolver */
  74. #undef NMB_RESOLVER /* NMB resolver */
  75. /* @END general.h */
  76. /* @BEGIN general.h
  77. *
  78. * Image types
  79. *
  80. * Etherboot supports various image formats. Select whichever ones
  81. * you want to use.
  82. *
  83. */
  84. #define TAGGED_IMAGE /* NBI image support */
  85. #undef ELF64_IMAGE /* ELF64 image support */
  86. #undef ELF_IMAGE /* ELF image support */
  87. #undef COFF_IMAGE /* COFF image support */
  88. #undef IMAGE_FREEBSD /* FreeBSD kernel image support */
  89. #undef IMAGE_MULTIBOOT /* MultiBoot image support */
  90. #undef AOUT_IMAGE /* a.out image support */
  91. #undef WINCE_IMAGE /* WinCE image support */
  92. #undef PXE_IMAGE /* PXE image support */
  93. /* @END general.h */
  94. /* @BEGIN general.h
  95. *
  96. * Obscure configuration options
  97. *
  98. * You probably don't need to touch these.
  99. *
  100. */
  101. #undef BUILD_SERIAL /* Include an automatic build serial
  102. * number. Add "bs" to the list of
  103. * make targets. For example:
  104. * "make bin/rtl8139.dsk bs" */
  105. #undef BUILD_ID /* Include a custom build ID string,
  106. * e.g "test-foo" */
  107. /* @END general.h */