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.

config.h 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. /* @END general.h */
  67. /* @BEGIN general.h
  68. *
  69. * Name resolution modules
  70. *
  71. */
  72. #define DNS_RESOLVER /* DNS resolver */
  73. #undef NMB_RESOLVER /* NMB resolver */
  74. /* @END general.h */
  75. /* @BEGIN general.h
  76. *
  77. * Obscure configuration options
  78. *
  79. * You probably don't need to touch these.
  80. *
  81. */
  82. #define RELOCATE /* Relocate to high memory */
  83. #undef BUILD_SERIAL /* Include an automatic build serial
  84. * number. Add "bs" to the list of
  85. * make targets. For example:
  86. * "make bin/rtl8139.dsk bs" */
  87. #undef BUILD_ID /* Include a custom build ID string,
  88. * e.g "test-foo" */
  89. /* @END general.h */