瀏覽代碼

Add ISA_PROBE_ADDRS list.

tags/v0.9.3
Michael Brown 19 年之前
父節點
當前提交
f25383f4c4
共有 1 個文件被更改,包括 18 次插入0 次删除
  1. 18
    0
      src/core/config.c

+ 18
- 0
src/core/config.c 查看文件

@@ -110,6 +110,7 @@ void print_config ( void ) {
110 110
  * At least one of the CONSOLE_xxx has to be set.  CONSOLE_DUAL sets
111 111
  * both CONSOLE_FIRMWARE and CONSOLE_SERIAL for legacy compatibility.
112 112
  * If no CONSOLE_xxx is set, CONSOLE_FIRMWARE is assumed.
113
+ *
113 114
  */
114 115
 
115 116
 #ifdef CONSOLE_CRT
@@ -149,8 +150,25 @@ REQUIRE_OBJECT ( pc_kbd );
149 150
 
150 151
 /*
151 152
  * Drag in relocate.o if required
153
+ *
152 154
  */
153 155
 
154 156
 #ifndef NORELOCATE
155 157
 REQUIRE_OBJECT ( relocate );
156 158
 #endif
159
+
160
+/*
161
+ * Allow ISA probe address list to be overridden
162
+ *
163
+ */
164
+#include "isa.h"
165
+#ifndef ISA_PROBE_ADDRS
166
+#define ISA_PROBE_ADDRS
167
+#endif
168
+
169
+isa_probe_addr_t isa_extra_probe_addrs[] = {
170
+	ISA_PROBE_ADDRS
171
+};
172
+
173
+unsigned int isa_extra_probe_addr_count
174
+      = sizeof ( isa_extra_probe_addrs ) / sizeof ( isa_extra_probe_addrs[0] );

Loading…
取消
儲存