summaryrefslogtreecommitdiffstats
path: root/src/core/config.c
diff options
context:
space:
mode:
authorMichael Brown2005-04-16 11:35:17 +0200
committerMichael Brown2005-04-16 11:35:17 +0200
commitf25383f4c438f0b306f7e7b7ca95dc762f907e4c (patch)
tree0ab8604091b3df7dce625f4ac7982f2c31d2fd64 /src/core/config.c
parentMake isa_probe_addr a simple integer rather than a struct, to facilitate (diff)
downloadipxe-f25383f4c438f0b306f7e7b7ca95dc762f907e4c.tar.gz
ipxe-f25383f4c438f0b306f7e7b7ca95dc762f907e4c.tar.xz
ipxe-f25383f4c438f0b306f7e7b7ca95dc762f907e4c.zip
Add ISA_PROBE_ADDRS list.
Diffstat (limited to 'src/core/config.c')
-rw-r--r--src/core/config.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/core/config.c b/src/core/config.c
index 591ccf45..54158396 100644
--- a/src/core/config.c
+++ b/src/core/config.c
@@ -110,6 +110,7 @@ void print_config ( void ) {
* At least one of the CONSOLE_xxx has to be set. CONSOLE_DUAL sets
* both CONSOLE_FIRMWARE and CONSOLE_SERIAL for legacy compatibility.
* If no CONSOLE_xxx is set, CONSOLE_FIRMWARE is assumed.
+ *
*/
#ifdef CONSOLE_CRT
@@ -149,8 +150,25 @@ REQUIRE_OBJECT ( pc_kbd );
/*
* Drag in relocate.o if required
+ *
*/
#ifndef NORELOCATE
REQUIRE_OBJECT ( relocate );
#endif
+
+/*
+ * Allow ISA probe address list to be overridden
+ *
+ */
+#include "isa.h"
+#ifndef ISA_PROBE_ADDRS
+#define ISA_PROBE_ADDRS
+#endif
+
+isa_probe_addr_t isa_extra_probe_addrs[] = {
+ ISA_PROBE_ADDRS
+};
+
+unsigned int isa_extra_probe_addr_count
+ = sizeof ( isa_extra_probe_addrs ) / sizeof ( isa_extra_probe_addrs[0] );