The build process has for a long time assumed that every ROM is a PCI ROM, and will always include the PCI header and PCI-related functionality (such as checking the PCI BIOS version, including the PCI bus:dev.fn address within the ROM product name string, etc.). While real ISA cards are no longer in use, some virtualisation environments (notably VirtualBox) have support only for ISA ROMs. This can cause problems: in particular, VirtualBox will call our initialisation entry point with random garbage in %ax, which we then treat as the PCI bus:dev.fn address of the autoboot device: this generally prevents the default boot sequence from using any network devices. Create .isarom and .pcirom prefixes which can be used to explicitly specify the type of ROM to be created. (Note that the .mrom prefix always implies a PCI ROM, since the .mrom mechanism relies on reconfiguring PCI BARs.) Make .rom a magic prefix which will automatically select the appropriate PCI or ISA ROM prefix for ROMs defined via a PCI_ROM() or ISA_ROM() macro. To maintain backwards compatibility, we default to building a PCI ROM for anything which is not directly derived from a PCI_ROM() or ISA_ROM() macro (e.g. bin/intel.rom). Add a selection of targets to "make everything" to ensure that the (relatively obscure) ISA ROM build process is included within the per-commit QA checks. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
147 |
|
147 |
|
148 |
|
148 |
|
149 |
|
149 |
|
|
150 |
|
|
150 |
|
151 |
|
151 |
|
152 |
|
152 |
|
153 |
|
|
|
||
902 |
|
902 |
|
903 |
|
903 |
|
904 |
|
904 |
|
905 |
|
|
|
|
905 |
|
|
906 |
|
906 |
|
907 |
|
907 |
|
908 |
|
908 |
|
909 |
|
909 |
|
910 |
|
910 |
|
911 |
|
911 |
|
912 |
|
|
|
913 |
|
912 |
|
914 |
|
913 |
|
915 |
|
914 |
|
916 |
|
915 |
|
917 |
|
916 |
|
|
917 |
|
|
|
918 |
|
|
|
919 |
|
|
|
920 |
|
|
918 |
|
921 |
|
919 |
|
922 |
|
920 |
|
923 |
|
|
|
||
16 |
|
16 |
|
17 |
|
17 |
|
18 |
|
18 |
|
|
19 |
|
|
|
20 |
|
|
19 |
|
21 |
|
20 |
|
22 |
|
21 |
|
23 |
|
|
|
||
31 |
|
33 |
|
32 |
|
34 |
|
33 |
|
35 |
|
|
36 |
|
|
|
37 |
|
|
34 |
|
38 |
|
35 |
|
39 |
|
36 |
|
40 |
|
|
|
||
39 |
|
43 |
|
40 |
|
44 |
|
41 |
|
45 |
|
|
46 |
|
|
|
47 |
|
|
42 |
|
48 |
|
43 |
|
|
|
|
49 |
|
|
44 |
|
50 |
|
45 |
|
51 |
|
46 |
|
52 |
|
|
53 |
|
|
|
54 |
|
|
47 |
|
55 |
|
48 |
|
56 |
|
49 |
|
57 |
|
|
|
||
|
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
|
||
94 |
|
94 |
|
95 |
|
95 |
|
96 |
|
96 |
|
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
|
|
|
104 |
|
|
|
105 |
|
|
|
106 |
|
|
|
107 |
|
|
|
108 |
|
|
|
109 |
|
|
|
110 |
|
|
|
111 |
|
|
|
112 |
|
|
|
113 |
|
|
|
114 |
|
|
|
115 |
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
|
|
|
119 |
|
|
97 |
|
120 |
|
98 |
|
121 |
|
99 |
|
122 |
|
|
|
||
231 |
|
254 |
|
232 |
|
255 |
|
233 |
|
256 |
|
234 |
|
|
|
235 |
|
257 |
|
236 |
|
|
|
|
258 |
|
|
237 |
|
259 |
|
238 |
|
260 |
|
239 |
|
|
|
240 |
|
261 |
|
241 |
|
262 |
|
242 |
|
263 |
|
|
|
||
32 |
|
32 |
|
33 |
|
33 |
|
34 |
|
34 |
|
35 |
|
|
|
36 |
|
|
|
|
35 |
|
|
|
36 |
|
|
37 |
|
37 |
|
38 |
|
38 |
|
39 |
|
39 |
|
|
|
||
|
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
|
||
44 |
|
44 |
|
45 |
|
45 |
|
46 |
|
46 |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
47 |
|
53 |
|
48 |
|
54 |
|
49 |
|
55 |
|
|
|
||
64 |
|
70 |
|
65 |
|
71 |
|
66 |
|
72 |
|
|
73 |
|
|
67 |
|
74 |
|
68 |
|
75 |
|
|
76 |
|
|
69 |
|
77 |
|
70 |
|
78 |
|
71 |
|
79 |
|
|
|
||
77 |
|
85 |
|
78 |
|
86 |
|
79 |
|
87 |
|
|
88 |
|
|
80 |
|
89 |
|
81 |
|
90 |
|
82 |
|
91 |
|
|
|
||
107 |
|
116 |
|
108 |
|
117 |
|
109 |
|
118 |
|
|
119 |
|
|
110 |
|
120 |
|
111 |
|
121 |
|
112 |
|
122 |
|
|
|
||
148 |
|
158 |
|
149 |
|
159 |
|
150 |
|
160 |
|
|
161 |
|
|
151 |
|
162 |
|
152 |
|
163 |
|
153 |
|
164 |
|
154 |
|
165 |
|
155 |
|
|
|
|
166 |
|
|
|
167 |
|
|
|
168 |
|
|
156 |
|
169 |
|
157 |
|
170 |
|
158 |
|
171 |
|
|
|
||
167 |
|
180 |
|
168 |
|
181 |
|
169 |
|
182 |
|
170 |
|
|
|
|
183 |
|
|
171 |
|
184 |
|
172 |
|
185 |
|
173 |
|
186 |
|
|
|
||
208 |
|
221 |
|
209 |
|
222 |
|
210 |
|
223 |
|
211 |
|
|
|
212 |
|
|
|
213 |
|
|
|
214 |
|
|
|
215 |
|
|
|
216 |
|
|
|
217 |
|
224 |
|
218 |
|
225 |
|
219 |
|
226 |
|
220 |
|
227 |
|
221 |
|
|
|
222 |
|
228 |
|
223 |
|
|
|
|
229 |
|
|
|
230 |
|
|
|
231 |
|
|
|
232 |
|
|
|
233 |
|
|
|
234 |
|
|
|
235 |
|
|
|
236 |
|
|
|
237 |
|
|
|
238 |
|
|
|
239 |
|
|
|
240 |
|
|
|
241 |
|
|
|
242 |
|
|
|
243 |
|
|
224 |
|
244 |
|
225 |
|
245 |
|
226 |
|
246 |
|
|
247 |
|
|
227 |
|
248 |
|
228 |
|
249 |
|
229 |
|
|
|
230 |
|
250 |
|
231 |
|
|
|
|
251 |
|
|
232 |
|
252 |
|
233 |
|
253 |
|
234 |
|
254 |
|
235 |
|
|
|
|
255 |
|
|
|
256 |
|
|
236 |
|
257 |
|
237 |
|
258 |
|
238 |
|
259 |
|
|
|
||
283 |
|
304 |
|
284 |
|
305 |
|
285 |
|
306 |
|
|
307 |
|
|
286 |
|
308 |
|
287 |
|
309 |
|
288 |
|
310 |
|
|
|
||
396 |
|
418 |
|
397 |
|
419 |
|
398 |
|
420 |
|
399 |
|
|
|
400 |
|
|
|
401 |
|
|
|
|
421 |
|
|
|
422 |
|
|
|
423 |
|
|
402 |
|
424 |
|
403 |
|
|
|
|
425 |
|
|
404 |
|
426 |
|
405 |
|
|
|
|
427 |
|
|
406 |
|
428 |
|
407 |
|
429 |
|
408 |
|
430 |
|
|
|
||
411 |
|
433 |
|
412 |
|
434 |
|
413 |
|
435 |
|
|
436 |
|
|
414 |
|
437 |
|
415 |
|
|
|
|
438 |
|
|
|
439 |
|
|
416 |
|
440 |
|
417 |
|
441 |
|
|
442 |
|
|
418 |
|
443 |
|
419 |
|
444 |
|
420 |
|
445 |
|
|
|
||
564 |
|
589 |
|
565 |
|
590 |
|
566 |
|
591 |
|
567 |
|
|
|
|
592 |
|
|
568 |
|
593 |
|
|
594 |
|
|
569 |
|
595 |
|
570 |
|
596 |
|
571 |
|
597 |
|
|
598 |
|
|
572 |
|
599 |
|
573 |
|
600 |
|
574 |
|
601 |
|
|
|
||
591 |
|
618 |
|
592 |
|
619 |
|
593 |
|
620 |
|
|
621 |
|
|
594 |
|
622 |
|
595 |
|
623 |
|
596 |
|
624 |
|
|
625 |
|
|
597 |
|
626 |
|
598 |
|
627 |
|
599 |
|
628 |
|
|
|
||
732 |
|
761 |
|
733 |
|
762 |
|
734 |
|
763 |
|
735 |
|
|
|
|
764 |
|
|
|
765 |
|
|
736 |
|
766 |
|
|
767 |
|
|
737 |
|
768 |
|
738 |
|
769 |
|
739 |
|
770 |
|
740 |
|
771 |
|
741 |
|
|
|
|
772 |
|
|
|
773 |
|
|
742 |
|
774 |
|
|
775 |
|
|
743 |
|
776 |
|
744 |
|
777 |
|
745 |
|
778 |
|