2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License as
4 * published by the Free Software Foundation; either version 2, or (at
5 * your option) any later version.
12 #include ".buildserial.h"
13 #define xstr(s) str(s)
17 void print_config ( void ) {
18 printf( "Etherboot " VERSION
24 "#" xstr(BUILD_SERIAL_NUM) "]"
25 #endif /* BUILD_SERIAL */
26 " (GPL) http://etherboot.org\n"
45 #ifdef IMAGE_MULTIBOOT
57 #ifdef PXE_EXPORT /* All possible exports */
62 #endif /* All possible exports */
65 #if (BOOTP_SERVER != 67) || (BOOTP_CLIENT != 68)
66 printf( "[DHCP ports %d and %d] ",
67 BOOTP_SERVER, BOOTP_CLIENT);
74 # ifndef NO_DHCP_SUPPORT
80 #ifdef DOWNLOAD_PROTO_TFTP
83 #ifdef DOWNLOAD_PROTO_NFS
86 #ifdef DOWNLOAD_PROTO_SLAM
89 #ifdef DOWNLOAD_PROTO_TFTM
92 #ifdef DOWNLOAD_PROTO_HTTP
103 printf( "Keeping It Real [EXPERIMENTAL]\n" );
108 * Drag in all requested console types
110 * At least one of the CONSOLE_xxx has to be set. CONSOLE_DUAL sets
111 * both CONSOLE_FIRMWARE and CONSOLE_SERIAL for legacy compatibility.
112 * If no CONSOLE_xxx is set, CONSOLE_FIRMWARE is assumed.
117 #define CONSOLE_FIRMWARE
121 #undef CONSOLE_FIRMWARE
122 #define CONSOLE_FIRMWARE
123 #undef CONSOLE_SERIAL
124 #define CONSOLE_SERIAL
127 #if !defined(CONSOLE_FIRMWARE) && !defined(CONSOLE_SERIAL)
128 #define CONSOLE_FIRMWARE
131 #ifdef CONSOLE_FIRMWARE
132 REQUIRE_OBJECT ( bios_console );
135 #ifdef CONSOLE_SERIAL
136 REQUIRE_OBJECT ( serial );
139 #ifdef CONSOLE_DIRECT_VGA
140 REQUIRE_OBJECT ( video_subr );
144 REQUIRE_OBJECT ( btext );
147 #ifdef CONSOLE_PC_KBD
148 REQUIRE_OBJECT ( pc_kbd );
152 * Drag in relocate.o if required
157 REQUIRE_OBJECT ( relocate );
161 * Allow ISA probe address list to be overridden
165 #ifndef ISA_PROBE_ADDRS
166 #define ISA_PROBE_ADDRS
169 isa_probe_addr_t isa_extra_probe_addrs[] = {
173 unsigned int isa_extra_probe_addr_count
174 = sizeof ( isa_extra_probe_addrs ) / sizeof ( isa_extra_probe_addrs[0] );